Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1319338

Re: [PATCH] ARM: dts: vf-colibri-eval-v3: Use enable-gpios for BL_ON

From Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: vf-colibri-eval-v3: Use enable-gpios for BL_ON
Date 2016-01-27 19:50 +0100
Message-ID <qVDkf-7RP-55@gated-at.bofh.it> (permalink)
References <qOVYB-29Q-1@gated-at.bofh.it>
Organization Toradex

Show all headers | View raw


Ping!

On 01/09/2016 12:29 PM, Bhuvanchandra DV wrote:
> Use pwm-backlight driver 'enable-gpios' property for backlight on/off
> control.
>
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
> ---
>   arch/arm/boot/dts/vf-colibri.dtsi | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
> index e5949b9..1c0da05 100644
> --- a/arch/arm/boot/dts/vf-colibri.dtsi
> +++ b/arch/arm/boot/dts/vf-colibri.dtsi
> @@ -10,7 +10,10 @@
>   / {
>   	bl: backlight {
>   		compatible = "pwm-backlight";
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&pinctrl_gpio_bl_on>;
>   		pwms = <&pwm0 0 5000000 0>;
> +		enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
>   		status = "disabled";
>   	};
>   };
> @@ -169,6 +172,12 @@
>   			>;
>   		};
>
> +		pinctrl_gpio_bl_on: gpio_bl_on {
> +			fsl,pins = <
> +				VF610_PAD_PTC0__GPIO_45		0x22ef
> +			>;
> +		};
> +
>   		pinctrl_i2c0: i2c0grp {
>   			fsl,pins = <
>   				VF610_PAD_PTB14__I2C0_SCL		0x37ff
>

-- 
Best regards,
Bhuvan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ARM: dts: vf-colibri-eval-v3: Use enable-gpios for BL_ON Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> - 2016-01-27 19:50 +0100

csiph-web