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

ARM: dts: meson8b: ec100: 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
087a1d8b ea241bdf

+28 -3
+28 -3
arch/arm/boot/dts/meson8b-ec100.dts
··· 219 219 */ 220 220 vin-supply = <&vcc_3v3>; 221 221 }; 222 + 223 + vddee: regulator-vddee { 224 + /* 225 + * Silergy SY8089AAC-GP 2A continuous, 3A peak, 1MHz 226 + * Synchronous Step Down Regulator. Also called VDDAO 227 + * in a part of the schematics. 228 + */ 229 + compatible = "pwm-regulator"; 230 + 231 + regulator-name = "VDDEE"; 232 + regulator-min-microvolt = <860000>; 233 + regulator-max-microvolt = <1140000>; 234 + 235 + vin-supply = <&vcc_5v>; 236 + 237 + pwms = <&pwm_cd 1 1148 0>; 238 + pwm-dutycycle-range = <100 0>; 239 + 240 + regulator-boot-on; 241 + regulator-always-on; 242 + }; 222 243 }; 223 244 224 245 &cpu0 { ··· 288 267 interrupts = <13 IRQ_TYPE_EDGE_BOTH>; /* GPIOAO_13 */ 289 268 realtek,in1-differential; 290 269 }; 270 + }; 271 + 272 + &mali { 273 + mali-supply = <&vddee>; 291 274 }; 292 275 293 276 &saradc { ··· 375 350 376 351 &pwm_cd { 377 352 status = "okay"; 378 - pinctrl-0 = <&pwm_c1_pins>; 353 + pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>; 379 354 pinctrl-names = "default"; 380 - clocks = <&clkc CLKID_XTAL>; 381 - clock-names = "clkin0"; 355 + clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>; 356 + clock-names = "clkin0", "clkin1"; 382 357 }; 383 358 384 359 &rtc {