From: Marco Felsch Date: Wed, 2 Dec 2020 18:05:58 +0000 (+0100) Subject: ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~363^2~2001 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=1310c7a48279e39ed3b178281232efa9aeccab06;p=linux.git ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight commit 6337c2353a069b6f1276dc35421e421ef6c1ead9 upstream. 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 Reviewed-by: Uwe Kleine-König Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi index 24f793ca2886..f486d6d8fb4a 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>;