]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: Fix vcc5/6-supply representation on rv1108-elgin
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 31 Jan 2019 12:47:07 +0000 (10:47 -0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 3 Feb 2019 08:57:39 +0000 (09:57 +0100)
On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from
the BUCK2 regulator at 2.2V, so fix the representation in the
device tree.

While at it, rename it from vdd_cam to vdd_buck2, which is a better
name for the regulator label.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108-elgin-r1.dts

index 658057d871aff8bc5dfab80b0c72c4da2a60a9f5..66688fdf4fd8243acf9186e947ee8b0534064b99 100644 (file)
@@ -74,8 +74,8 @@ rk805: pmic@18 {
                vcc2-supply = <&vcc_sys>;
                vcc3-supply = <&vcc_sys>;
                vcc4-supply = <&vcc_sys>;
-               vcc5-supply = <&vcc_sys>;
-               vcc6-supply = <&vcc_sys>;
+               vcc5-supply = <&vdd_buck2>;
+               vcc6-supply = <&vdd_buck2>;
 
                regulators {
                        vdd_core: DCDC_REG1 {
@@ -90,10 +90,12 @@ regulator-state-mem {
                                };
                        };
 
-                       vdd_cam: DCDC_REG2 {
-                               regulator-name= "vdd_cam";
-                               regulator-min-microvolt = <700000>;
-                               regulator-max-microvolt = <2000000>;
+                       vdd_buck2: DCDC_REG2 {
+                               regulator-name= "vdd_buck2";
+                               regulator-min-microvolt = <2200000>;
+                               regulator-max-microvolt = <2200000>;
+                               regulator-always-on;
+                               regulator-boot-on;
                                regulator-state-mem {
                                        regulator-state-disabled;
                                };