[PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

Fabio Estevam festevam at gmail.com
Sun Nov 28 16:21:56 CET 2021


Hi Angus,

On Sun, Nov 28, 2021 at 12:18 PM Angus Ainslie <angus.ainslie at puri.sm> wrote:

> I have tried it with the SION bit set but I thought it would be better
> if the dts would match the linux dts and return the same result.

Just to confirm: with the SION bit set, you read the correct values, right?

If so, the fix is just to set the SION bit in both Linux and U-Boot.

There were several attempts to change the mxc gpio driver like you
proposed, and the response
have been always to set the SION bit, which works well in Linux and U-Boot.


More information about the U-Boot mailing list