提交 aeb19360 编写于 作者: L Laurent Pinchart 提交者: Simon Horman

ARM: shmobile: armadillo: dts: Add PWM backlight power supply

Commit 22ceeee1 ("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: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 bddd3a4c
...@@ -63,6 +63,15 @@ ...@@ -63,6 +63,15 @@
enable-active-high; 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 { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led1 { led1 {
...@@ -86,6 +95,7 @@ ...@@ -86,6 +95,7 @@
default-brightness-level = <9>; default-brightness-level = <9>;
pinctrl-0 = <&backlight_pins>; pinctrl-0 = <&backlight_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
power-supply = <&reg_5p0v>;
}; };
sound { sound {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册