summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-07-11 21:30:16 +0200
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 16:26:42 +0800
commitdb3b9baa5b61d005471c3a741522b6fad3083880 (patch)
tree2baa96f8cbb7150e8da129b77bffdd0132a9cbb2
parenta74d2ec70c0604a38c7e0392ae6b9d67e53c1643 (diff)
downloadop-kernel-dev-db3b9baa5b61d005471c3a741522b6fad3083880.zip
op-kernel-dev-db3b9baa5b61d005471c3a741522b6fad3083880.tar.gz
ARM: mxs: Add backlight support for M28EVK
This patch adds backlight support for M28EVK. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx28-m28evk.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-m28evk.dts b/arch/arm/boot/dts/imx28-m28evk.dts
index 44d9da5..0d322a2 100644
--- a/arch/arm/boot/dts/imx28-m28evk.dts
+++ b/arch/arm/boot/dts/imx28-m28evk.dts
@@ -235,6 +235,12 @@
pinctrl-0 = <&auart2_2pins_b>;
status = "okay";
};
+
+ pwm: pwm@80064000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm4_pins_a>;
+ status = "okay";
+ };
};
};
@@ -270,6 +276,13 @@
};
};
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 4 5000000>;
+ brightness-levels = <0 4 8 16 32 64 128 255>;
+ default-brightness-level = <6>;
+ };
+
regulators {
compatible = "simple-bus";
OpenPOWER on IntegriCloud