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

ARM: dts: imx6q-bosch-acc: 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/imx6q-bosch-acc.dtb: pwm@2080000: #pwm-cells:0:0: 3 was expected
		from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#
	arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected
		from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml#
	arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.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/imx6q-bosch-acc.dtb: pwm@208c000: #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 6adfbf06
...@@ -36,7 +36,7 @@ memory@10000000 { ...@@ -36,7 +36,7 @@ memory@10000000 {
backlight_lvds: backlight-lvds { backlight_lvds: backlight-lvds {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm1 0 200000>; pwms = <&pwm1 0 200000 0>;
brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>;
num-interpolated-steps = <10>; num-interpolated-steps = <10>;
default-brightness-level = <60>; default-brightness-level = <60>;
...@@ -117,14 +117,14 @@ led_red: led-0 { ...@@ -117,14 +117,14 @@ led_red: led-0 {
color = <LED_COLOR_ID_RED>; color = <LED_COLOR_ID_RED>;
max-brightness = <248>; max-brightness = <248>;
default-state = "off"; default-state = "off";
pwms = <&pwm2 0 500000>; pwms = <&pwm2 0 500000 0>;
}; };
led_white: led-1 { led_white: led-1 {
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
max-brightness = <248>; max-brightness = <248>;
default-state = "off"; default-state = "off";
pwms = <&pwm3 0 500000>; pwms = <&pwm3 0 500000 0>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
...@@ -484,28 +484,24 @@ lvds0_out: endpoint { ...@@ -484,28 +484,24 @@ lvds0_out: endpoint {
}; };
&pwm1 { &pwm1 {
#pwm-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>; pinctrl-0 = <&pinctrl_pwm1>;
status = "okay"; status = "okay";
}; };
&pwm2 { &pwm2 {
#pwm-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm2>; pinctrl-0 = <&pinctrl_pwm2>;
status = "okay"; status = "okay";
}; };
&pwm3 { &pwm3 {
#pwm-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm3>; pinctrl-0 = <&pinctrl_pwm3>;
status = "okay"; status = "okay";
}; };
&pwm4 { &pwm4 {
#pwm-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm4>; pinctrl-0 = <&pinctrl_pwm4>;
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