ARM: dts: imx6dl-aristainetos_7: Use #pwm-cells = <3> for imx27-pwm device
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 5 Apr 2024 21:41:54 +0000 (23:41 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 28 Apr 2024 07:56:09 +0000 (15:56 +0800)
The binding dictates using 3 pwm-cells. Adhere to that.

This fixes the following dtbs_check warning:

arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected
from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts

index b6cb78870cd54b76e1eaa6d006cc4de77564b6ee..5a25bdbbeb68711c4bf70ac8aab3e143bae79aed 100644 (file)
@@ -49,7 +49,7 @@
 
        backlight {
                compatible = "pwm-backlight";
-               pwms = <&pwm3 0 3000>;
+               pwms = <&pwm3 0 3000 0>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <6>;
                pinctrl-names = "default";
@@ -69,6 +69,5 @@
 };
 
 &pwm3 {
-       #pwm-cells = <2>;
        status = "okay";
 };