mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
ARM: dts: imx6qdl-emcon: 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/imx6dl-emcon-avari.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/imx6dl-emcon-avari.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/imx6dl-emcon-avari.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.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-emcon-avari.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-emcon-avari.dtb: pwm@208c000: #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>
This commit is contained in:
committed by
Shawn Guo
parent
a49aee94f6
commit
795df6eed5
@@ -66,7 +66,7 @@ lvds_backlight: lvds-backlight {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_lvds_bl>;
|
||||
enable-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>;
|
||||
pwms = <&pwm1 0 50000>;
|
||||
pwms = <&pwm1 0 50000 0>;
|
||||
brightness-levels = <
|
||||
0 4 8 16 32 64 80 96 112
|
||||
128 144 160 176 250
|
||||
@@ -78,7 +78,7 @@ lvds_backlight: lvds-backlight {
|
||||
pwm_fan: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
#cooling-cells = <2>;
|
||||
pwms = <&pwm4 0 50000>;
|
||||
pwms = <&pwm4 0 50000 0>;
|
||||
cooling-levels = <0 64 127 191 255>;
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -145,7 +145,7 @@ rgb_backlight: rgb-backlight {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rgb_bl>;
|
||||
enable-gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>;
|
||||
pwms = <&pwm3 0 5000000>;
|
||||
pwms = <&pwm3 0 5000000 0>;
|
||||
brightness-levels = <
|
||||
250 176 160 144 128 112
|
||||
96 80 64 48 32 16 8 1
|
||||
@@ -736,17 +736,14 @@ &pcie {
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
#pwm-cells = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm3 {
|
||||
#pwm-cells = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm4 {
|
||||
#pwm-cells = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user