Skip to content

Commit

Permalink
ARM: dts: meson8b: mxq: add the VDDEE regulator
Browse files Browse the repository at this point in the history
The VDDEE regulator is basically a copy of the VCCK regulator. VDDEE
supplies for example the Mali GPU and is controlled by PWM_D instead of
PWM_C.

Add the VDDEE PWM regulator and make it the supply of the Mali GPU.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
  • Loading branch information
xdarklight authored and khilman committed Aug 5, 2019
1 parent 8bdf38b commit dee51cd
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions arch/arm/boot/dts/meson8b-mxq.dts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@
regulator-boot-on;
regulator-always-on;
};

vddee: regulator-vddee {
compatible = "pwm-regulator";

regulator-name = "VDDEE";
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&vcc_5v>;

pwms = <&pwm_cd 1 1148 0>;
pwm-dutycycle-range = <100 0>;

regulator-boot-on;
regulator-always-on;
};
};

&cpu0 {
Expand Down Expand Up @@ -112,6 +128,10 @@
};
};

&mali {
mali-supply = <&vddee>;
};

&saradc {
status = "okay";
vref-supply = <&vcc_1v8>;
Expand Down Expand Up @@ -143,10 +163,10 @@

&pwm_cd {
status = "okay";
pinctrl-0 = <&pwm_c1_pins>;
pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>;
pinctrl-names = "default";
clocks = <&clkc CLKID_XTAL>;
clock-names = "clkin0";
clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>;
clock-names = "clkin0", "clkin1";
};

&uart_AO {
Expand Down

0 comments on commit dee51cd

Please sign in to comment.