Skip to content

Commit

Permalink
ARM: dts: rockchip: complete rk3288-evb pmic supplies
Browse files Browse the repository at this point in the history
This adds the static vcc_sys regulator to the rk3288-evb, the missing
rk808 supplies from it and all the supplies of the act8846 evb-variant.

Signed-off-by: Heiko Stuebner <[email protected]>
  • Loading branch information
mmind committed Mar 12, 2015
1 parent 776920e commit 91d5cb7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/rk3288-evb-act8846.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vcc_sys>;
};

vdd_gpu: syr828@41 {
Expand All @@ -43,6 +44,7 @@
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
vin-supply = <&vcc_sys>;
};

hym8563@51 {
Expand All @@ -64,6 +66,14 @@
reg = <0x5a>;
status = "okay";

vp1-supply = <&vcc_sys>;
vp2-supply = <&vcc_sys>;
vp3-supply = <&vcc_sys>;
vp4-supply = <&vcc_sys>;
inl1-supply = <&vcc_io>;
inl2-supply = <&vcc_sys>;
inl3-supply = <&vcc_20>;

regulators {
vcc_ddr: REG1 {
regulator-name = "VCC_DDR";
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/rk3288-evb-rk808.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,16 @@
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";

vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc_sys>;
vcc4-supply = <&vcc_sys>;
vcc6-supply = <&vcc_sys>;
vcc7-supply = <&vcc_sys>;
vcc8-supply = <&vcc_18>;
vcc9-supply = <&vcc_io>;
vcc10-supply = <&vcc_io>;
vcc11-supply = <&vcc_sys>;
vcc12-supply = <&vcc_io>;
vddio-supply = <&vccio_pmu>;

Expand Down
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/rk3288-evb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@
regulator-always-on;
regulator-boot-on;
};

vcc_sys: vsys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
};

&emmc {
Expand Down

0 comments on commit 91d5cb7

Please sign in to comment.