From patchwork Fri Jan 12 06:30:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10159673 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 74D826029B for ; Fri, 12 Jan 2018 06:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 618A82893F for ; Fri, 12 Jan 2018 06:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5576528946; Fri, 12 Jan 2018 06:36:33 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 CC1F32893F for ; Fri, 12 Jan 2018 06:36:32 +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=fTqUSI8LQ2L4W4TIYUwDgzGtdVJlHrFf0cpzakJ/VXM=; b=OUw/YOJqziMhlG8oOLIQo/hX3F IL10vmZdnfna6QK0QQeB6aW9G5gYzqz2dxs6XX5kubwYPYG1mTH/1CiaNIoLNlAq6zlO4gE6GfHku 9qrJwJxf4zy4npvv1/uUBnj3X/UNfIIkcNDF8JftM5+UVg+Jf6ItQPE14lh9goq3KkeIJK0GJqt8m 9a6mLY5lxCxl1AZ3XBQ2cCyPnZuMfRBGdauRs1fvDZ/WwMg74j0//cznZKPOyP1D7zKZBu9THlTmO shCMYsonKd86b4pdht1KGjqxwfnMV6FWBuNLRFXeluG29415oVuDgBei6EBHgjtqr7lCvbsZXmAPS c9F85zig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eZsx3-000629-VE; Fri, 12 Jan 2018 06:36:30 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZswp-0005Kw-Et for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2018 06:36:18 +0000 Received: by mail-pg0-x244.google.com with SMTP id q67so3982728pga.9 for ; Thu, 11 Jan 2018 22:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VYYTD4Q9jNkQeJpjLCXIuL4dSB/NMqbNurXvKpkR72s=; b=D3RTjLLZN1VKlbmQyr+9kEYu+67rVT6xFM4r0dIAsHOAzfrV6cGZvrlHiJ2igWzUSM BKlRcfqLa+GLrFinROenAtWqtmIalCvU5AABHthkaJjB8YJS4hc1AIHz1dvDzJEV+Anb ftjRYFEyoCyeGsJyhF0Pkhhg/lby1vZHnex71DMQhR/hw7ex1xtno0LOEwm5NKkdsSR6 aVxirL5I/vkMXhWwT80/U2gGa7Ye0xYm15SCMW9MSFRE9BKLMSqSiSzZgTWHAUYcQvIY 8zeaSBRk9fNiJiY0SIjERMea8LfbyDOSbCrLatBoVQFXRUS1kzGTU/t1i1OsvKKIGCSl 2iaw== 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=VYYTD4Q9jNkQeJpjLCXIuL4dSB/NMqbNurXvKpkR72s=; b=aEFdY2M564T+910pOKdzEC79hbDdQP+OVA1vpxm6oif6JSDqbwA7+AU+oRawbS3VUT iqTVq6O4mm0Jw6k2EPdciRgsxD709WYS9WZ/z8niZ8rKj/RQtPdkutNDz/VSn0s3rPVe DDRhpOiwxWBi7fvcQ27NCxLyKbe2Y/oDoJCFBOIknA5mR47x3rfHl9Ae8wFeVI59cQqJ pLfPYvPJAOVJL+tT0yabsmgzbe16D0pO5Qo8HKqhQ+2py3ZjTfkRGr/AxNUK6jDXqyW9 K8yMFeWJcLtKSgLHBtjp+uQhHa9WKAUl4tmuaMdQAMvP/XJucJuEgoOzuelVWApoyWuv YYnA== X-Gm-Message-State: AKGB3mITALgBuPLKbJFE912i+RhG7L1r5+LqcHQmOtHiGdEMQZN2vfuM MjSiDdyWn95dhShica/OifWu5A== X-Google-Smtp-Source: ACJfBoty7QX01eDM/G4bHGTspsDXyufljauY8U+ZApNFP5HPGS4S7/6GzSNjzy/23rgqIGe+ucY33Q== X-Received: by 10.99.140.4 with SMTP id m4mr19520159pgd.270.1515738964677; Thu, 11 Jan 2018 22:36:04 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id k10sm28139910pgq.89.2018.01.11.22.35.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Jan 2018 22:36:04 -0800 (PST) From: Jagan Teki To: Maxime Ripard Subject: [PATCH v4 2/3] arm64: allwinner: axp803: Add drivevbus regulator Date: Fri, 12 Jan 2018 12:00:17 +0530 Message-Id: <1515738618-3617-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515738618-3617-1-git-send-email-jagan@amarulasolutions.com> References: <1515738618-3617-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180111_223615_773914_C9DEF5DF X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. 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 , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , 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 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 ff8af52..e5eae8b 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"; + }; }; };