On 4/27/22 00:29, Marcel Ziswiler wrote:
From: Marcel Ziswiler <marcel.ziswi...@toradex.com>
Currently, compiling any i.MX 6 based target results in the following
warning:
Oh no.
[...]
arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi
b/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi
index bf6b3a5ce0..9dcb37ec7e 100644
--- a/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi
+++ b/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi
@@ -25,7 +25,7 @@
compatible = "pwm-backlight";
default-brightness-level = <8>;
enable-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>; /* GPIO G */
- pwms = <&pwm1 0 50000 PWM_POLARITY_INVERTED>;
+ pwms = <&pwm1 0 50000>;
I think just pick Linux
fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC
dtsi files")
That should fix it.