public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: apf51dev: add gpio-backlight support
@ 2014-12-16 11:20 Gwenhael Goavec-Merou
  2015-01-05 13:08 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Gwenhael Goavec-Merou @ 2014-12-16 11:20 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
---
 arch/arm/boot/dts/imx51-apf51dev.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts
index c5a9a24..93d3ea1 100644
--- a/arch/arm/boot/dts/imx51-apf51dev.dts
+++ b/arch/arm/boot/dts/imx51-apf51dev.dts
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx: apf51dev: add gpio-backlight support
  2014-12-16 11:20 [PATCH] ARM: imx: apf51dev: add gpio-backlight support Gwenhael Goavec-Merou
@ 2015-01-05 13:08 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2015-01-05 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Dec 16, 2014 at 12:20:57PM +0100, Gwenhael Goavec-Merou wrote:
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>

Applied, thanks.

Shawn

> ---
>  arch/arm/boot/dts/imx51-apf51dev.dts | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts
> index c5a9a24..93d3ea1 100644
> --- a/arch/arm/boot/dts/imx51-apf51dev.dts
> +++ b/arch/arm/boot/dts/imx51-apf51dev.dts
> @@ -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
> -- 
> 2.0.4
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-05 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16 11:20 [PATCH] ARM: imx: apf51dev: add gpio-backlight support Gwenhael Goavec-Merou
2015-01-05 13:08 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox