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

This fixes the following dtbs_check warnings:

arch/arm/boot/dts/nxp/imx/imx6ul-opos6uldev.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected
from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#
arch/arm/boot/dts/nxp/imx/imx6ull-opos6uldev.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/imx6ul-imx6ull-opos6uldev.dtsi

index af337f18a266ca846be7ae3652a40ff69f507809..be3cacb4fa7abcab1b6b210079b38b4d0cf1df11 100644 (file)
@@ -9,7 +9,7 @@
 
        backlight: backlight {
                compatible = "pwm-backlight";
-               pwms = <&pwm3 0 191000>;
+               pwms = <&pwm3 0 191000 0>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <7>;
                power-supply = <&reg_5v>;
 };
 
 &pwm3 {
-       #pwm-cells = <2>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm3>;
        status = "okay";