ARM: imx: apf51dev: add gpio-backlight support
Subsystems (2)
PATCH 1/1 ARM: imx: apf51dev: add gpio-backlight support
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
--- arch/arm/boot/dts/imx51-apf51dev.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/imx51-apf51dev.dts +14 -0
@@ -16,6 +16,14 @@ model = "Armadeus Systems APF51Dev docking/development board"; compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51"; + backlight at bl1{ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_backlight>; + compatible = "gpio-backlight"; + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; + default-on; + }; + display at di1 { compatible = "fsl,imx-parallel-display"; interface-pix-fmt = "bgr666";
@@ -114,6 +122,12 @@ pinctrl-0 = <&pinctrl_hog>; imx51-apf51dev { + pinctrl_backlight: bl1grp { + fsl,pins = < + MX51_PAD_DI1_D1_CS__GPIO3_4 0x1F5 + >; + }; + pinctrl_hog: hoggrp { fsl,pins = < MX51_PAD_EIM_EB2__GPIO2_22 0x0C5
Signature · 1 line
2.0.4
Shawn Guo
AppliedPATCH 1/1 ARM: imx: apf51dev: add gpio-backlight support
Quoted 1 line · Gwenhael Goavec-Merou
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
Applied, thanks.
Shawn
Quoted 39 lines
--- arch/arm/boot/dts/imx51-apf51dev.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)arch/arm/boot/dts/imx51-apf51dev.dts +14
-0@@ -16,6 +16,14 @@ model = "Armadeus Systems APF51Dev docking/development board"; compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51"; + backlight at bl1{ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_backlight>; + compatible = "gpio-backlight"; + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; + default-on; + }; + display at di1 { compatible = "fsl,imx-parallel-display"; interface-pix-fmt = "bgr666";@@ -114,6 +122,12 @@ pinctrl-0 = <&pinctrl_hog>; imx51-apf51dev { + pinctrl_backlight: bl1grp { + fsl,pins = < + MX51_PAD_DI1_D1_CS__GPIO3_4 0x1F5 + >; + }; + pinctrl_hog: hoggrp { fsl,pins = < MX51_PAD_EIM_EB2__GPIO2_22 0x0C5Signature · 1 line
2.0.4