]> Git Repo - linux.git/commitdiff
ARM: dts: imx6qdl-gw5904: Use #pwm-cells = <3> for imx27-pwm device
authorUwe Kleine-König <[email protected]>
Fri, 5 Apr 2024 21:42:07 +0000 (23:42 +0200)
committerShawn Guo <[email protected]>
Sun, 28 Apr 2024 07:56:11 +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/imx6dl-gw5904.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected
from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-gw5904.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected
from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#

Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi

index 1e723807ab4c2424b6259fec11201847f231a33f..070506279186bbe75e634fa1febb73dd628b3be2 100644 (file)
@@ -70,7 +70,7 @@
 
        backlight {
                compatible = "pwm-backlight";
-               pwms = <&pwm4 0 5000000>;
+               pwms = <&pwm4 0 5000000 0>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <7>;
        };
 };
 
 &pwm4 {
-       #pwm-cells = <2>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm4>;
        status = "okay";
This page took 0.05166 seconds and 4 git commands to generate.