Skip to content

Commit 099c500

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6ul-14x14-evk: Use #pwm-cells = <3> for imx27-pwm device
The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.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/imx6ull-14x14-evk.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/imx6ulz-14x14-evk.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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent e80729d commit 099c500

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
backlight_display: backlight-display {
1818
compatible = "pwm-backlight";
19-
pwms = <&pwm1 0 5000000>;
19+
pwms = <&pwm1 0 5000000 0>;
2020
brightness-levels = <0 4 8 16 32 64 128 255>;
2121
default-brightness-level = <6>;
2222
status = "okay";
@@ -277,7 +277,6 @@
277277
};
278278

279279
&pwm1 {
280-
#pwm-cells = <2>;
281280
pinctrl-names = "default";
282281
pinctrl-0 = <&pinctrl_pwm1>;
283282
status = "okay";

0 commit comments

Comments
 (0)