[PATCH] ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo

Fabio Estevam festevam at gmail.com
Sun Sep 5 05:00:46 PDT 2021


Hi Marek,

On Sat, Sep 4, 2021 at 11:57 PM Marek Vasut <marex at denx.de> wrote:

> No, the GPIO flags are ignored by gpiolib-of and the signal is active
> low. That's why there is that zero, no flags, and no enable-active-high
> property.

Yes, correct. The GPIO flag is ignored by "regulator-fixed".

As you removed the 'enable-active-high' property, you turned the
regulator to active low as needed.

This is correct.

gpio = <&gpio1 2 0> is the same as gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>

I just suggested gpio = <&gpio1 2 GPIO_ACTIVE_LOW> to make it clearer
what is the real polarity.

The GPIO flag is ignored, I know. No issues if you want to keep it as
gpio = <&gpio1 2 0>.



More information about the linux-arm-kernel mailing list