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

Tomas Paukrt tomaspaukrt at email.cz
Wed Aug 28 09:49:44 CEST 2024


> You may give a look to this
>
> https://lore.kernel.org/u-boot/57015C5F.3080209@denx.de/
>
> Regards,
> Peng.

The Linux driver uses the DR register for about 9 years and
the NXP U-Boot driver uses the DR register for about 7 years,
so only the mainline U-Boot driver still uses the PSR register.

Please give a look to:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=442b2494b17d1a4f0a14721580271eb23ebffd42
https://github.com/nxp-imx/uboot-imx/commit/4afc3f90943c6b117f79b66d2cd04e64f437b0c2

Best regards

Tomas


More information about the U-Boot mailing list