Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: meson8b: mxq: add the VDDEE regulator

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>

authored by

Martin Blumenstingl and committed by
Kevin Hilman
dee51cd0 8bdf38be

+23 -3
+23 -3
arch/arm/boot/dts/meson8b-mxq.dts
··· 76 76 regulator-boot-on; 77 77 regulator-always-on; 78 78 }; 79 + 80 + vddee: regulator-vddee { 81 + compatible = "pwm-regulator"; 82 + 83 + regulator-name = "VDDEE"; 84 + regulator-min-microvolt = <860000>; 85 + regulator-max-microvolt = <1140000>; 86 + 87 + vin-supply = <&vcc_5v>; 88 + 89 + pwms = <&pwm_cd 1 1148 0>; 90 + pwm-dutycycle-range = <100 0>; 91 + 92 + regulator-boot-on; 93 + regulator-always-on; 94 + }; 79 95 }; 80 96 81 97 &cpu0 { ··· 128 112 }; 129 113 }; 130 114 115 + &mali { 116 + mali-supply = <&vddee>; 117 + }; 118 + 131 119 &saradc { 132 120 status = "okay"; 133 121 vref-supply = <&vcc_1v8>; ··· 163 143 164 144 &pwm_cd { 165 145 status = "okay"; 166 - pinctrl-0 = <&pwm_c1_pins>; 146 + pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>; 167 147 pinctrl-names = "default"; 168 - clocks = <&clkc CLKID_XTAL>; 169 - clock-names = "clkin0"; 148 + clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>; 149 + clock-names = "clkin0", "clkin1"; 170 150 }; 171 151 172 152 &uart_AO {