[PATCH] gpio: mxc_gpio: fix reading state of GPIO pins in output mode

Fabio Estevam festevam at gmail.com
Wed Aug 28 03:54:34 CEST 2024


Hi Tomas,

On Tue, Aug 27, 2024 at 10:31 PM Tomas Paukrt <tomaspaukrt at email.cz> wrote:

> I checked the current Linux driver and it uses the DR register for all outputs.
> This change was implemented about a year later after the mentioned discussion:
>
> https://lore.kernel.org/all/1430321701-13758-5-git-send-email-vladimir_zapolskiy@mentor.com/
>
> So both the Linux kernel and the NXP U-Boot work as expected, but the mainline U-Boot does not.

Good point. I missed that.

Could you please send a v2 pointing to this commit in the Linux gpio-mxc driver?


More information about the U-Boot mailing list