]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx6q-logicpd: Fix broken PWM
authorAdam Ford <aford173@gmail.com>
Wed, 19 Aug 2020 19:59:44 +0000 (14:59 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Aug 2020 02:18:41 +0000 (10:18 +0800)
The DTC doesn't like the default PWM settings, because it's expecting
three cells.  This patch reduces adds the extra entry of 0 to the PWM
reference.

Fixes: c5634571bb5d ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC dtsi files")
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-logicpd.dts

index 7a3d1d3e54a9427c90f1f0846c1234bce93aec1c..8f94364ba484721192383bdd40bb1902f9c02637 100644 (file)
@@ -13,7 +13,7 @@
 
        backlight: backlight-lvds {
                compatible = "pwm-backlight";
-               pwms = <&pwm3 0 20000>;
+               pwms = <&pwm3 0 20000 0>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <6>;
                power-supply = <&reg_lcd>;