Skip to content

Commit 340bef9

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6sx-sdb: 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/imx6sx-sdb-reva.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dtb: pwm@2088000: #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 01c7523 commit 340bef9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi

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

2424
backlight_display: backlight-display {
2525
compatible = "pwm-backlight";
26-
pwms = <&pwm3 0 5000000>;
26+
pwms = <&pwm3 0 5000000 0>;
2727
brightness-levels = <0 4 8 16 32 64 128 255>;
2828
default-brightness-level = <6>;
2929
};
@@ -295,10 +295,8 @@
295295
};
296296

297297
&pwm3 {
298-
#pwm-cells = <2>;
299298
pinctrl-names = "default";
300299
pinctrl-0 = <&pinctrl_pwm3>;
301-
status = "okay";
302300
};
303301

304302
&snvs_poweroff {

0 commit comments

Comments
 (0)