[PATCH V2 2/2] ARM: dts: enable pwm backlight for snow
Ajay Kumar
ajaykumar.rs at samsung.com
Sun May 18 22:15:40 PDT 2014
Add PWM backlight node for exynos5250 based snow board.
Signed-off-by: Olof Johansson <olof at lixom.net>
Signed-off-by: Ajay Kumar <ajaykumar.rs at samsung.com>
---
arch/arm/boot/dts/exynos5250-snow.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 9d1ca09..09c79db 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -365,4 +365,14 @@
vdd_osc-supply = <&ldo10_reg>;
vdd_pll-supply = <&ldo8_reg>;
};
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 0 1000000 0>;
+ brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
+ default-brightness-level = <7>;
+ pinctrl-0 = <&pwm0_out>;
+ pinctrl-names = "default";
+ };
+
};
--
1.7.9.5
More information about the linux-arm-kernel
mailing list