diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2017-03-14 15:18:10 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-04-10 16:16:07 +0800 |
commit | a673356c64b56b05b23f76fe77aa79c3a2a623d3 (patch) | |
tree | ec13559409e3e4c946883dc56ee5fffc11153d54 /arch/arm/boot/dts/imx6qdl-icore.dtsi | |
parent | ed7740e357c4e672592d9d2097d1b01812b5fc56 (diff) | |
download | blackbird-obmc-linux-a673356c64b56b05b23f76fe77aa79c3a2a623d3.tar.gz blackbird-obmc-linux-a673356c64b56b05b23f76fe77aa79c3a2a623d3.zip |
ARM: dts: imx6qdl-icore: Add backlight support for lvds
This patch add support for lvds backlight on i.CoreM6 QDL
variant boards.
Cc: Domenico Acri <domenico.acri@engicam.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-icore.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-icore.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index 55bebfc9ad94..56d0c5d21cd0 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -48,6 +48,13 @@ reg = <0x10000000 0x80000000>; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm3 0 100000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "3P3V"; @@ -136,6 +143,12 @@ status = "okay"; }; +&pwm3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm3>; + status = "okay"; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; @@ -246,6 +259,12 @@ >; }; + pinctrl_pwm3: pwm3grp { + fsl,pins = < + MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 + >; + }; + pinctrl_usbotg: usbotggrp { fsl,pins = < MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 |