Skip to content

Commit 68313ee

Browse files
Uwe Kleine-KönigShawn Guo
authored andcommitted
ARM: dts: imx6ul-pico: 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-pico-dwarf.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/imx6ul-pico-hobbit.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/imx6ul-pico-pi.dtb: pwm@2088000: #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 f98cf09 commit 68313ee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi

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

2323
backlight: backlight {
2424
compatible = "pwm-backlight";
25-
pwms = <&pwm3 0 5000000>;
25+
pwms = <&pwm3 0 5000000 0>;
2626
brightness-levels = <0 4 8 16 32 64 128 255>;
2727
default-brightness-level = <6>;
2828
status = "okay";
@@ -177,7 +177,6 @@
177177
};
178178

179179
&pwm3 {
180-
#pwm-cells = <2>;
181180
pinctrl-names = "default";
182181
pinctrl-0 = <&pinctrl_pwm3>;
183182
status = "okay";

0 commit comments

Comments
 (0)