From 2f35c0c41f6b9a326574fcbcde3736309c51ffc3 Mon Sep 17 00:00:00 2001 From: Rogerio Pimentel Date: Fri, 11 Oct 2013 16:48:16 -0300 Subject: [PATCH] ARM: dts: imx6qdl-sabresd: Add backlight support for lvds This patch adds support for lvds backlight on boards i.MX6q-SabreSD and i.MX6dl-SabreSD Signed-off-by: Rogerio Pimentel Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 2035d6698ec5..e75e11b36dff 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 { @@ -204,6 +212,12 @@ }; }; +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm0_1>; + status = "okay"; +}; + &ssi2 { fsl,mode = "i2s-slave"; status = "okay"; -- 2.39.5