diff mbox series

ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight

Message ID 20201202180558.14541-1-m.felsch@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight | expand

Commit Message

Marco Felsch Dec. 2, 2020, 6:05 p.m. UTC
The pwms property have to specify the no-/inverted flag since
commit fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3>
in the SoC dtsi files").

Fixes: fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC dtsi files")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Uwe Kleine-König Dec. 3, 2020, 6:45 a.m. UTC | #1
Hello,

On Wed, Dec 02, 2020 at 07:05:58PM +0100, Marco Felsch wrote:
> The pwms property have to specify the no-/inverted flag since
> commit fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3>
> in the SoC dtsi files").
> 
> Fixes: fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC dtsi files")
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>

Yeah, I missed this because this .dtsi isn't used in any .dts.

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Best regards
Uwe
Shawn Guo Jan. 5, 2021, 3:06 a.m. UTC | #2
On Wed, Dec 02, 2020 at 07:05:58PM +0100, Marco Felsch wrote:
> The pwms property have to specify the no-/inverted flag since
> commit fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3>
> in the SoC dtsi files").
> 
> Fixes: fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC dtsi files")
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
index d6df598bd1c2..36c2f0d9ce16 100644
--- a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
@@ -137,7 +137,7 @@ 
 
 	lcd_backlight: lcd-backlight {
 		compatible = "pwm-backlight";
-		pwms = <&pwm4 0 5000000>;
+		pwms = <&pwm4 0 5000000 0>;
 		pwm-names = "LCD_BKLT_PWM";
 
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;