ARM: dts: imx53-tqma: Use #pwm-cells = <3> for imx27-pwm devices
The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dtb: pwm@53fb8000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dtb: pwm@53fb8000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-mba53.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-mba53.dtb: pwm@53fb8000: #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>pull/141/merge
parent
03438afeaa
commit
ca96928853
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
backlight_lcd: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm2 0 50000>;
|
||||
pwms = <&pwm2 0 50000 0>;
|
||||
power-supply = <®_backlight>;
|
||||
brightness-levels = <0 24 28 32 36
|
||||
40 44 48 52 56
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
compatible = "pwm-beeper";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_buzzer>;
|
||||
pwms = <&pwm1 0 500000>;
|
||||
pwms = <&pwm1 0 500000 0>;
|
||||
};
|
||||
|
||||
gpio-buttons {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm2 0 50000>;
|
||||
pwms = <&pwm2 0 50000 0>;
|
||||
brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
|
||||
default-brightness-level = <10>;
|
||||
enable-gpios = <&gpio7 7 0>;
|
||||
|
|
|
|||
|
|
@ -202,14 +202,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
&pwm2 {
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart1>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue