All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] arm64: dts: rockchip: fix vcc5v0_host regulator dependency for Firefly-RK3399
       [not found] <1dcc0e7d6524fff5d820a58f865da68b94dbc87d.1535044024.git.cheat.sc.linux@outlook.com>
@ 2018-08-23 17:07 ` Maruyama Shohei
  0 siblings, 0 replies; only message in thread
From: Maruyama Shohei @ 2018-08-23 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

From: Shohei Maruyama <cheat.sc.linux@outlook.com>

During booting the Firefly-RK3399, the following errors occur many times.

	vcc5v0_host: unable to resolve supply

vcc5v0_host depends on vcc_sys, but vcc5v0_host is described in front of
vcc_sys on the devicetree. Therefore, can't resolve the dependency.
This commit fixes the problem.

Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
---
 .../boot/dts/rockchip/rk3399-firefly.dts      | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index d124b65dc315..ca54390304a7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -193,18 +193,6 @@
 		vin-supply = <&dc_12v>;
 	};
 
-	/* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
-	vcc5v0_host: vcc5v0-host-regulator {
-		compatible = "regulator-fixed";
-		enable-active-high;
-		gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&vcc5v0_host_en>;
-		regulator-name = "vcc5v0_host";
-		regulator-always-on;
-		vin-supply = <&vcc_sys>;
-	};
-
 	vcc_sys: vcc-sys {
 		compatible = "regulator-fixed";
 		regulator-name = "vcc_sys";
@@ -225,6 +213,18 @@
 		vin-supply = <&vcc_sys>;
 	};
 
+	/* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
+	vcc5v0_host: vcc5v0-host-regulator {
+		compatible = "regulator-fixed";
+		enable-active-high;
+		gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&vcc5v0_host_en>;
+		regulator-name = "vcc5v0_host";
+		regulator-always-on;
+		vin-supply = <&vcc_sys>;
+	};
+
 	vdd_log: vdd-log {
 		compatible = "pwm-regulator";
 		pwms = <&pwm2 0 25000 1>;
-- 
2.18.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-23 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1dcc0e7d6524fff5d820a58f865da68b94dbc87d.1535044024.git.cheat.sc.linux@outlook.com>
2018-08-23 17:07 ` [PATCH 2/2] arm64: dts: rockchip: fix vcc5v0_host regulator dependency for Firefly-RK3399 Maruyama Shohei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.