Skip to content

Commit 01c7523

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6sx-nitrogen6sx: 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/imx6sx-nitrogen6sx.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm node as the soc dtsi doesn't disable this device. Drop this property, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 50c0557 commit 01c7523

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts

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

1919
backlight-lvds {
2020
compatible = "pwm-backlight";
21-
pwms = <&pwm4 0 5000000>;
21+
pwms = <&pwm4 0 5000000 0>;
2222
brightness-levels = <0 4 8 16 32 64 128 255>;
2323
default-brightness-level = <6>;
2424
power-supply = <&reg_3p3v>;
@@ -229,10 +229,8 @@
229229
};
230230

231231
&pwm4 {
232-
#pwm-cells = <2>;
233232
pinctrl-names = "default";
234233
pinctrl-0 = <&pinctrl_pwm4>;
235-
status = "okay";
236234
};
237235

238236
&ssi1 {

0 commit comments

Comments
 (0)