From 62ffa706d89925427096f419b70d0416aca255c8 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Mon, 19 May 2014 22:38:18 +0900 Subject: [PATCH] ARM: dts: enable pwm backlight for exynos5250-snow Add PWM backlight node for exynos5250 based snow board. Signed-off-by: Olof Johansson Signed-off-by: Ajay Kumar Signed-off-by: Kukjin Kim --- 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 2f054bec0bd9..7542df2e6e9f 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -387,4 +387,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"; + }; + }; -- 2.39.5