Skip to content

Commit 71bc44c

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6ul-ccimx6ulsbcpro: Use #pwm-cells = <3> for imx27-pwm device
The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dtb: pwm@20f0000: #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 099c500 commit 71bc44c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dts

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

1919
lcd_backlight: backlight {
2020
compatible = "pwm-backlight";
21-
pwms = <&pwm5 0 50000>;
21+
pwms = <&pwm5 0 50000 0>;
2222
brightness-levels = <0 4 8 16 32 64 128 255>;
2323
default-brightness-level = <6>;
2424
status = "okay";
@@ -168,7 +168,6 @@
168168
};
169169

170170
&pwm5 {
171-
#pwm-cells = <2>;
172171
pinctrl-names = "default";
173172
pinctrl-0 = <&pinctrl_pwm5>;
174173
status = "okay";

0 commit comments

Comments
 (0)