Thread (7 messages) 7 messages, 3 authors, 2021-09-22

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

flat view

From: Fabio Estevam <festevam@gmail.com>
Date: 2021-09-05 12:03:17

Hi Marek,

On Sat, Sep 4, 2021 at 11:57 PM Marek Vasut [off-list ref] 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>.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help