Skip to content

Commit

Permalink
ARM: shmobile: armadillo: dts: Add PWM backlight power supply
Browse files Browse the repository at this point in the history
Commit 22ceeee ("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>
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Dec 19, 2013
1 parent bddd3a4 commit aeb1936
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -86,6 +95,7 @@
default-brightness-level = <9>;
pinctrl-0 = <&backlight_pins>;
pinctrl-names = "default";
power-supply = <&reg_5p0v>;
};

sound {
Expand Down

0 comments on commit aeb1936

Please sign in to comment.