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: v5.11-rc6~29^2~9^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6337c2353a069b6f1276dc35421e421ef6c1ead9;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight 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 --- diff --git a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi index d6df598bd1c29..36c2f0d9ce164 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>;