From patchwork Mon Apr 23 06:32:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10356217 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5C465601BE for ; Mon, 23 Apr 2018 06:34:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C23E289B6 for ; Mon, 23 Apr 2018 06:34:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40032289C4; Mon, 23 Apr 2018 06:34:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 93174289B6 for ; Mon, 23 Apr 2018 06:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=nd0qKVoCQzW3OIugfUShhNv0n7aPSpq7cgG9JxWZIF8=; b=hXsthSTTF1mN1LrHuTrV+FDi3T yjxsZ06wZwDD83iXzRGVLarRpEGWaCSFWyg3FdGQcHfGrFPOwfzPM0iPaPJbS3CzH1s6tmpLAgRbE 08JsRlQgzyVfF2Q0070Wv5FYkh8lBkXWr6kvhWxc5zZMmzmNmn12FOXmg6ictme8Ec/Ut7Kx1yyhP vfG2dK7BIFg0gqPI5/ySSsNpR4Shu3KVkdfdUNMkxF9QfCMEaGQIYZ4KLxnSLxxRKAazkKckTsxYz 3vjZvI5XAFBBsNUMzt8rEwqgKNEJ6D7xIu3lRBmgQejazSzDnDM2ldJWgrrVQDN69ubQDSG/mTmkf uczebwag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAV2v-000158-67; Mon, 23 Apr 2018 06:33:53 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAV2I-0000Wl-H3 for linux-arm-kernel@lists.infradead.org; Mon, 23 Apr 2018 06:33:16 +0000 Received: by mail-pf0-x243.google.com with SMTP id p15so8409307pff.11 for ; Sun, 22 Apr 2018 23:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kWjHgYi4N2Dsbl8y3/iuDXw1eWC0OrB6itogwOFjIuo=; b=nhI1Q05odq2kiOTSBsKYqOArECBFmfAMkhJCxeSiPdoVzWebBQqgkHCqRKtt5wPgzH h4lvz/RMQNPEjxOccCWiCksQHGqxYr6hTVswdgRV/CVt4BIsuuHtpFx5k8a8ZJIrHQK0 KTMv0chqvF3xLWWfcxpWb9B7SLZVEMSH+Sfcc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kWjHgYi4N2Dsbl8y3/iuDXw1eWC0OrB6itogwOFjIuo=; b=RlfjHNhj89/0RGyUBFgV3h5kYjztcDlgROI1mjow/uB4p88lj9+1TeS/nYqxvYytG2 QoP8n39CP/l9EicZtjskoH8/O+I3D59MFAkKRYylZT9ZmSDwAIf+6QQ4em73Xk6Omp7w lfNZGRQNzBZcm2Z7lwBJMjivJc/udS9FjSgRR7qGo+E6r4ZQXXyb+7Tr4rVmhhymQAYt uVvpA7aXkdrMknq3ckt2MT/5TbGbN3cTTBU+7iVZSWJusMQl/PpGDJGxMrkhP5x4CHNr tI1cEfnUJh2DAfvVhAMpPsjs2R+9CKntkTtMwQdbqEHN5zFybRGhUcU0JFcHW5fZvn5x HIGA== X-Gm-Message-State: ALQs6tCHZti+Q+RDVjGNpoQQy0sf3oLFhaq7g5XPseYTED4gpNVhqXuA T2x6g6Nq6kSoHw9em588dSQDnw== X-Google-Smtp-Source: AIpwx492GUs2K9VQo0hhzlkNBBjbq4FUID9PJnpxHkIxUW/TR7aFdfhnpYH/P3QBGYMNp8n3V/yM1w== X-Received: by 2002:a17:902:6d0f:: with SMTP id s15-v6mr19512977plk.241.1524465183814; Sun, 22 Apr 2018 23:33:03 -0700 (PDT) Received: from localhost.localdomain ([115.97.190.51]) by smtp.gmail.com with ESMTPSA id t9sm23988196pgr.37.2018.04.22.23.32.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Apr 2018 23:33:03 -0700 (PDT) From: Jagan Teki To: Maxime Ripard Subject: [PATCH v6 2/3] arm64: allwinner: axp803: Add drivevbus regulator Date: Mon, 23 Apr 2018 12:02:38 +0530 Message-Id: <20180423063239.3988-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180423063239.3988-1-jagan@amarulasolutions.com> References: <20180423063239.3988-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180422_233314_644861_9008A24C X-CRM114-Status: GOOD ( 13.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , Chen-Yu Tsai , Mark Brown , Jagan Teki , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add reg_drivevbus regualtor for boards which are using external regulator to drive the OTG VBus through N_VBUSEN PMIC pin. Signed-off-by: Jagan Teki Reviewed-by: Chen-Yu Tsai --- Changes for v6: - Rebase on master Changes for v5: - Collect Chen-Yu reviewed-by tag Changes for v4: - rebase on master Changes for v3: - none arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index ff8af52743ff..e5eae8bafc42 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -146,5 +146,10 @@ regulator-max-microvolt = <3000000>; regulator-name = "rtc-ldo"; }; + + reg_drivevbus: drivevbus { + regulator-name = "drivevbus"; + status = "disabled"; + }; }; };