ARM: dts: imx6ul: peb-av-02: move to 3 cell pwm
authorAndrej Picej <andrej.picej@norik.com>
Tue, 22 Feb 2022 09:16:06 +0000 (10:16 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Apr 2022 13:07:16 +0000 (21:07 +0800)
Instead of changing default pwm-cells property, use the default
"#pwm-cells = <3>" and add the third option.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi

index 7cda6944501d94db8900d62a2413b6b610902a5f..6ce534a896ef951cea39cc6980d44ad1d071e40d 100644 (file)
@@ -11,7 +11,7 @@
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <5>;
                power-supply = <&reg_backlight_en>;
-               pwms = <&pwm3 0 5000000>;
+               pwms = <&pwm3 0 5000000 0>;
                status = "disabled";
        };
 
@@ -91,7 +91,6 @@
 };
 
 &pwm3 {
-       #pwm-cells = <2>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm3>;
        status = "disabled";