Commit 9f7f9b61 authored by Jagan Teki's avatar Jagan Teki Committed by Heiko Stuebner

arm64: dts: rockchip: Fix roc-rk3399-pc regulator input rails

Few, know rk808 pmic regulators VCC[1-4], VCC[6-7], VCC[9-11],
VDD_LOG, VDD_GPU, VDD_CPU_B, VCC3V3_SYS are inputting with vcc_sys
which is 5V power rail from dc_12v.

So, replace the vin-supply of above mentioned regulators
with vcc_sys as per the PMIC-RK808-D page of roc-rk3399-pc
schematics.
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Link: https://lore.kernel.org/r/20190919052822.10403-7-jagan@amarulasolutions.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent f1b3b707
...@@ -85,7 +85,7 @@ vcc3v3_sys: vcc3v3-sys { ...@@ -85,7 +85,7 @@ vcc3v3_sys: vcc3v3-sys {
regulator-boot-on; regulator-boot-on;
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
vin-supply = <&dc_12v>; vin-supply = <&vcc_sys>;
}; };
/* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
...@@ -129,7 +129,7 @@ vdd_log: vdd-log { ...@@ -129,7 +129,7 @@ vdd_log: vdd-log {
regulator-boot-on; regulator-boot-on;
regulator-min-microvolt = <800000>; regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>; regulator-max-microvolt = <1400000>;
vin-supply = <&vcc3v3_sys>; vin-supply = <&vcc_sys>;
}; };
}; };
...@@ -202,16 +202,16 @@ rk808: pmic@1b { ...@@ -202,16 +202,16 @@ rk808: pmic@1b {
rockchip,system-power-controller; rockchip,system-power-controller;
wakeup-source; wakeup-source;
vcc1-supply = <&vcc3v3_sys>; vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc3v3_sys>; vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc3v3_sys>; vcc3-supply = <&vcc_sys>;
vcc4-supply = <&vcc3v3_sys>; vcc4-supply = <&vcc_sys>;
vcc6-supply = <&vcc3v3_sys>; vcc6-supply = <&vcc_sys>;
vcc7-supply = <&vcc3v3_sys>; vcc7-supply = <&vcc_sys>;
vcc8-supply = <&vcc3v3_sys>; vcc8-supply = <&vcc3v3_sys>;
vcc9-supply = <&vcc3v3_sys>; vcc9-supply = <&vcc_sys>;
vcc10-supply = <&vcc3v3_sys>; vcc10-supply = <&vcc_sys>;
vcc11-supply = <&vcc3v3_sys>; vcc11-supply = <&vcc_sys>;
vcc12-supply = <&vcc3v3_sys>; vcc12-supply = <&vcc3v3_sys>;
vddio-supply = <&vcc1v8_pmu>; vddio-supply = <&vcc1v8_pmu>;
...@@ -385,7 +385,7 @@ vdd_cpu_b: regulator@40 { ...@@ -385,7 +385,7 @@ vdd_cpu_b: regulator@40 {
regulator-ramp-delay = <1000>; regulator-ramp-delay = <1000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
vin-supply = <&vcc3v3_sys>; vin-supply = <&vcc_sys>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
...@@ -404,7 +404,7 @@ vdd_gpu: regulator@41 { ...@@ -404,7 +404,7 @@ vdd_gpu: regulator@41 {
regulator-ramp-delay = <1000>; regulator-ramp-delay = <1000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
vin-supply = <&vcc3v3_sys>; vin-supply = <&vcc_sys>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment