ARM: shmobile: armadillo: dts: Add PWM backlight power supply
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Dec 2013 02:48:17 +0000 (03:48 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 19 Dec 2013 11:01:32 +0000 (20:01 +0900)
Commit 22ceeee16eb8f0d04de3ef43a5174fb30ec18af9 ("pwm-backlight: Add
power supply support") added a mandatory power supply for the PWM
backlight. Add a fixed 5V regulator and reference it for the backlight
power supply.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts

index 6d6fd3dff2d3f68b3db92e7ba98fb4048bb50214..470575952297f16c49da22be20985abf64dea86a 100644 (file)
                enable-active-high;
        };
 
+       reg_5p0v: regulator@3 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-5.0V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        leds {
                compatible = "gpio-leds";
                led1 {
@@ -86,6 +95,7 @@
                default-brightness-level = <9>;
                pinctrl-0 = <&backlight_pins>;
                pinctrl-names = "default";
+               power-supply = <&reg_5p0v>;
        };
 
        sound {