Skip to content

Commit ce88af1

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6ul-kontron-bl-43: 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-kontron-bl-43.dtb: pwm@20f8000: #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 1b5ee99 commit ce88af1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dts

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

1515
backlight {
1616
compatible = "pwm-backlight";
17-
pwms = <&pwm7 0 5000000>;
17+
pwms = <&pwm7 0 5000000 0>;
1818
brightness-levels = <0 4 8 16 32 64 128 255>;
1919
default-brightness-level = <6>;
2020
status = "okay";
@@ -41,7 +41,6 @@
4141
};
4242

4343
&pwm7 {
44-
#pwm-cells = <2>;
4544
pinctrl-names = "default";
4645
pinctrl-0 = <&pinctrl_pwm7>;
4746
status = "okay";

0 commit comments

Comments
 (0)