summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2014-05-19 22:38:18 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-19 23:14:03 +0900
commit62ffa706d89925427096f419b70d0416aca255c8 (patch)
tree3408fb8c5eabfeab101d4beb54d4897bb8404fe1
parent235a1976d868d3e992223e4a7475ac7fa01e35a6 (diff)
ARM: dts: enable pwm backlight for exynos5250-snow
Add PWM backlight node for exynos5250 based snow board. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos5250-snow.dts10
1 files changed, 10 insertions, 0 deletions
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";
+ };
+
};