linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ulf.hansson@linaro.org (Ulf Hansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/8] arm64: dts: hikey: Add the SYS_5V and the VDD_3V3 regulators
Date: Mon,  8 May 2017 18:21:15 +0200	[thread overview]
Message-ID: <1494260477-25163-7-git-send-email-ulf.hansson@linaro.org> (raw)
In-Reply-To: <1494260477-25163-1-git-send-email-ulf.hansson@linaro.org>

Add these regulators to better describe the HW, but also because those is
needed in following changes.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 8070c75..6dab03a 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -81,7 +81,26 @@
 		};
 	};
 
-	reg_5v_hub: regulator at 0 {
+	reg_sys_5v: regulator at 0 {
+		compatible = "regulator-fixed";
+		regulator-name = "SYS_5V";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	reg_vdd_3v3: regulator at 1 {
+		compatible = "regulator-fixed";
+		regulator-name = "VDD_3V3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-boot-on;
+		regulator-always-on;
+		vin-supply = <&reg_sys_5v>;
+	};
+
+	reg_5v_hub: regulator at 2 {
 		compatible = "regulator-fixed";
 		regulator-name = "5V_HUB";
 		regulator-min-microvolt = <5000000>;
@@ -89,6 +108,7 @@
 		regulator-boot-on;
 		gpio = <&gpio0 7 0>;
 		regulator-always-on;
+		vin-supply = <&reg_sys_5v>;
 	};
 
 	soc {
-- 
2.7.4

  parent reply	other threads:[~2017-05-08 16:21 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 16:21 [PATCH 0/8] arm64: hi6220-hikey: Fix WiFi support Ulf Hansson
2017-05-08 16:21 ` [PATCH 1/8] mmc: dt: pwrseq-simple: Invent power-off-delay-us Ulf Hansson
2017-05-12 20:03   ` Rob Herring
2017-05-15 11:08     ` Ulf Hansson
2017-05-15 16:16       ` Rob Herring
2017-05-16  7:06         ` Ulf Hansson
2017-05-08 16:21 ` [PATCH 2/8] mmc: pwrseq_simple: Parse DTS for the power-off-delay-us property Ulf Hansson
2017-05-08 16:21 ` [PATCH 3/8] mfd: dts: hi655x: Add clock binding for the pmic Ulf Hansson
2017-05-08 16:21 ` [PATCH 4/8] arm64: dts: hikey: Add clock for the pmic mfd Ulf Hansson
2017-05-08 16:21 ` [PATCH 5/8] arm64: dts: hi6220: Move the fixed_5v_hub regulator to the hikey dts Ulf Hansson
2017-05-08 16:21 ` Ulf Hansson [this message]
2017-05-08 16:21 ` [PATCH 7/8] arm64: dts: hi6220: Move board data from the dwmmc nodes to " Ulf Hansson
2017-05-23 11:56   ` Arnd Bergmann
2017-05-08 16:21 ` [PATCH 8/8] arm64: dts: hikey: Fix WiFi support Ulf Hansson
2017-05-31 18:14   ` John Stultz
2017-05-31 18:36     ` Daniel Lezcano
     [not found]       ` <CALAqxLU2zz17sHMFKOe4p248Bu4fRiU_dKoBBPbY38gDrpb_mw@mail.gmail.com>
2017-06-05 15:15         ` Ulf Hansson
2017-06-05 17:32           ` John Stultz
2017-06-05 18:13             ` [PATCH] ARM64: Kconfig: Fix the missing hi655x common clk Daniel Lezcano
2017-06-06 14:17               ` Ulf Hansson
2017-06-09 15:46                 ` Daniel Lezcano
2017-06-09 20:06                   ` Arnd Bergmann
2017-06-09 20:15                     ` John Stultz
2017-06-09 20:48                       ` Arnd Bergmann
2017-06-12  9:38                         ` Daniel Lezcano
2017-06-12 21:12                           ` Arnd Bergmann
2017-06-13 12:48                             ` Daniel Lezcano
2018-02-16 17:35                             ` Daniel Lezcano
2018-02-21 10:30                               ` Riku Voipio
2018-02-21 10:34                                 ` Daniel Lezcano
2017-06-05 21:10           ` [PATCH 8/8] arm64: dts: hikey: Fix WiFi support John Stultz
2017-06-05 21:29             ` Rob Herring
2017-06-06 10:08               ` Ulf Hansson
2017-06-06 14:13                 ` Ulf Hansson
2017-06-06 16:24                   ` John Stultz
2017-06-07  4:24                     ` Ulf Hansson
2017-06-07  5:25                       ` John Stultz
2017-06-06 15:58                 ` John Stultz
2017-05-22  8:40 ` [PATCH 0/8] arm64: hi6220-hikey: " Ulf Hansson
2017-05-23 12:00   ` Arnd Bergmann
2017-05-23 12:11     ` Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494260477-25163-7-git-send-email-ulf.hansson@linaro.org \
    --to=ulf.hansson@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).