Commit 60946195 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Shawn Guo

ARM: dts: imx6dl-mamoj: 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/imx6dl-mamoj.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected
		from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 28d28f52
...@@ -21,7 +21,7 @@ memory@10000000 { ...@@ -21,7 +21,7 @@ memory@10000000 {
backlight_lcd: backlight-lcd { backlight_lcd: backlight-lcd {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */ pwms = <&pwm3 0 25000 0>; /* 25000ns -> 40kHz */
brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>; brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>;
default-brightness-level = <7>; default-brightness-level = <7>;
}; };
...@@ -303,7 +303,6 @@ &ipu1_di0_disp0 { ...@@ -303,7 +303,6 @@ &ipu1_di0_disp0 {
}; };
&pwm3 { &pwm3 {
#pwm-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm3>; pinctrl-0 = <&pinctrl_pwm3>;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment