ARM: dts: rockchip: add input supplies for the act8846 on Radxa Rock
authorHeiko Stuebner <heiko@sntech.de>
Sat, 7 Mar 2015 14:14:59 +0000 (15:14 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 7 Mar 2015 18:39:29 +0000 (19:39 +0100)
On the Radxa Rock board most supplies come from the static 5v vsys supply, but
the inl1-supply comes from the REG4 of the act8846 itself. Model this dependency
using the added supply-handling to make sure the supplying regulator gets handled
correctly and not accidentially turned off.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3188-radxarock.dts

index 9a09579b8309c39fbb767c7798adee8f56062cea..bdf85701987d7d355746b26a9b68e323864c4f2b 100644 (file)
                regulator-always-on;
                regulator-boot-on;
        };
+
+       vsys: vsys-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "vsys";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-boot-on;
+       };
 };
 
 &emac {
                pinctrl-names = "default";
                pinctrl-0 = <&act8846_dvs0_ctl>;
 
+               vp1-supply = <&vsys>;
+               vp2-supply = <&vsys>;
+               vp3-supply = <&vsys>;
+               vp4-supply = <&vsys>;
+               inl1-supply = <&vcc_io>;
+               inl2-supply = <&vsys>;
+               inl3-supply = <&vsys>;
+
                regulators {
                        vcc_ddr: REG1 {
                                regulator-name = "VCC_DDR";
This page took 0.025365 seconds and 5 git commands to generate.