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

index 4fe58764b929aee760f60d78a8ad7a6998b57752..8f4f5fba68cc5f4ff8af1465e618905ba34c5710 100644 (file)
 
        backlight_lvds: backlight-lvds {
                compatible = "pwm-backlight";
-               pwms = <&pwm1 0 5000000>;
+               pwms = <&pwm1 0 5000000 0>;
                brightness-levels = <0 4 8 16 32 64 128 255>;
                default-brightness-level = <7>;
                status = "okay";
 };
 
 &pwm1 {
-       #pwm-cells = <2>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm1>;
        status = "okay";
This page took 0.059532 seconds and 4 git commands to generate.