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

ARM: dts: meson8b: odroidc1: 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
8bdf38be 087a1d8b

+24 -3
+24 -3
arch/arm/boot/dts/meson8b-odroidc1.dts
··· 154 154 vin-supply = <&p5v0>; 155 155 }; 156 156 157 + vddee: regulator-vddee { 158 + /* Monolithic Power Systems MP2161 */ 159 + compatible = "pwm-regulator"; 160 + 161 + regulator-name = "VDDEE"; 162 + regulator-min-microvolt = <860000>; 163 + regulator-max-microvolt = <1140000>; 164 + 165 + vin-supply = <&p5v0>; 166 + 167 + pwms = <&pwm_cd 1 12218 0>; 168 + pwm-dutycycle-range = <91 0>; 169 + 170 + regulator-boot-on; 171 + regulator-always-on; 172 + }; 173 + 157 174 vdd_rtc: regulator-vdd-rtc { 158 175 /* 159 176 * Torex Semiconductor XC6215 configured for a fixed output of ··· 293 276 pinctrl-names = "default"; 294 277 }; 295 278 279 + &mali { 280 + mali-supply = <&vddee>; 281 + }; 282 + 296 283 &saradc { 297 284 status = "okay"; 298 285 vref-supply = <&vcc_1v8>; ··· 329 308 330 309 &pwm_cd { 331 310 status = "okay"; 332 - pinctrl-0 = <&pwm_c1_pins>; 311 + pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>; 333 312 pinctrl-names = "default"; 334 - clocks = <&clkc CLKID_XTAL>; 335 - clock-names = "clkin0"; 313 + clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>; 314 + clock-names = "clkin0", "clkin1"; 336 315 }; 337 316 338 317 &rtc {