diff mbox

ARM: dts: imx6qdl-sabresd: Add backlight support for lvds

Message ID 1381520896-18576-1-git-send-email-rogerio.pimentel@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rogerio Pimentel Oct. 11, 2013, 7:48 p.m. UTC
This patch adds support for lvds backlight on boards
i.MX6q-SabreSD and i.MX6dl-SabreSD

Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Shawn Guo Oct. 12, 2013, 8:15 a.m. UTC | #1
On Fri, Oct 11, 2013 at 04:48:16PM -0300, Rogerio Pimentel wrote:
> This patch adds support for lvds backlight on boards
> i.MX6q-SabreSD and i.MX6dl-SabreSD
> 
> Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 64e454b..651cf39 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -80,6 +80,14 @@ 
 		mux-int-port = <2>;
 		mux-ext-port = <3>;
 	};
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm1 0 5000000>;
+		brightness-levels = <0 4 8 16 32 64 128 255>;
+		default-brightness-level = <7>;
+		status = "okay";
+	};
 };
 
 &audmux {
@@ -202,6 +210,12 @@ 
 	};
 };
 
+&pwm1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pwm0_1>;
+	status = "okay";
+};
+
 &ssi2 {
 	fsl,mode = "i2s-slave";
 	status = "okay";