public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: hummingboard: enable pwm3
@ 2018-01-22 14:31 Baruch Siach
  2018-02-05  6:15 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2018-01-22 14:31 UTC (permalink / raw)
  To: linux-arm-kernel

pwm3 controls the backlight of the LVDS display.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
index 92583238ca4a..6834f4ce0c22 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
@@ -219,6 +219,12 @@
 			fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
 		};
 
+		pinctrl_hummingboard_pwm3: pwm3grp {
+			fsl,pins = <
+				MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
+			>;
+		};
+
 		pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
 			fsl,pins = <
 				MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
@@ -291,6 +297,12 @@
 	 status = "okay";
 };
 
+&pwm3 {
+	 pinctrl-names = "default";
+	 pinctrl-0 = <&pinctrl_hummingboard_pwm3>;
+	 status = "okay";
+};
+
 &spdif {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_hummingboard_spdif>;
-- 
2.15.1

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

* [PATCH] ARM: dts: hummingboard: enable pwm3
  2018-01-22 14:31 [PATCH] ARM: dts: hummingboard: enable pwm3 Baruch Siach
@ 2018-02-05  6:15 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2018-02-05  6:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 22, 2018 at 04:31:25PM +0200, Baruch Siach wrote:
> pwm3 controls the backlight of the LVDS display.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Russell, are you okay with the patch?

Shawn

> ---
>  arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
> index 92583238ca4a..6834f4ce0c22 100644
> --- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
> @@ -219,6 +219,12 @@
>  			fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
>  		};
>  
> +		pinctrl_hummingboard_pwm3: pwm3grp {
> +			fsl,pins = <
> +				MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
> +			>;
> +		};
> +
>  		pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
>  			fsl,pins = <
>  				MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
> @@ -291,6 +297,12 @@
>  	 status = "okay";
>  };
>  
> +&pwm3 {
> +	 pinctrl-names = "default";
> +	 pinctrl-0 = <&pinctrl_hummingboard_pwm3>;
> +	 status = "okay";
> +};
> +
>  &spdif {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_hummingboard_spdif>;
> -- 
> 2.15.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2018-02-05  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22 14:31 [PATCH] ARM: dts: hummingboard: enable pwm3 Baruch Siach
2018-02-05  6:15 ` Shawn Guo

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