[PATCH v1] ARM: dts: imx: Fix iMX6QDL DHCOM PDK2 DTC Warnings

Marek Vasut marex at denx.de
Wed Apr 27 01:55:50 CEST 2022


On 4/27/22 01:04, Marcel Ziswiler wrote:
> On Wed, 2022-04-27 at 00:56 +0200, Marek Vasut wrote:
>> On 4/27/22 00:29, Marcel Ziswiler wrote:
>>> From: Marcel Ziswiler <marcel.ziswiler at 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.
> 
> Yes, and breaks everything else.

Ouch ... so what did Linux do about that breakage ?

btw the polarity flag is correct, the PWM is really inverted.


More information about the U-Boot mailing list