| From 6df476de3d1c029829a2d090043bdd7b336eaff0 Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Wed, 11 Dec 2013 03:48:17 +0100 |
| Subject: ARM: shmobile: armadillo: dts: Add PWM backlight power supply |
| |
| 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> |
| (cherry picked from commit aeb193606d44bd37b2178c6b2b6f25ff679656a3) |
| (Queued by Simon Horman for v3.14 but not yet in Linus's tree) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 10 ++++++++++ |
| 1 file changed, 10 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts |
| index 6d6fd3dff2d3..470575952297 100644 |
| --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts |
| +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts |
| @@ -63,6 +63,15 @@ |
| 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 = <®_5p0v>; |
| }; |
| |
| sound { |
| -- |
| 1.8.5.rc3 |
| |