mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: i.MX: make _get_value() able to read output pin state
@ 2025-10-15 18:03 Maud Spierings via B4 Relay
  2025-10-15 18:03 ` [PATCH 1/2] " Maud Spierings via B4 Relay
  2025-10-15 18:03 ` [PATCH 2/2] Documentation: migration-2025.11.0: add new empty file Maud Spierings via B4 Relay
  0 siblings, 2 replies; 6+ messages in thread
From: Maud Spierings via B4 Relay @ 2025-10-15 18:03 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Maud Spierings

Make _get_value() read back the dr register instead of the psr register
when the direction is set to output. Now _get_value() can actually read
the state of an output gpio instead of being always low.

Also add a new empty migration guide file.

Signed-off-by: Maud Spierings <maud_spierings@hotmail.com>
---
Maud Spierings (2):
      gpio: i.MX: make _get_value() able to read output pin state
      Documentation: migration-2025.11.0: add new empty file

 .../migration-guides/migration-2025.11.0.rst          |  0
 drivers/gpio/gpio-imx.c                               | 19 +++++++++++--------
 2 files changed, 11 insertions(+), 8 deletions(-)
---
base-commit: 8defba1d0ab1aef9dd5d57710e18d0d02e2c48e2
change-id: 20251015-imx_gpio-46efe1e7abd3

Best regards,
-- 
Maud Spierings <maud_spierings@hotmail.com>





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-17  9:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-15 18:03 [PATCH 0/2] gpio: i.MX: make _get_value() able to read output pin state Maud Spierings via B4 Relay
2025-10-15 18:03 ` [PATCH 1/2] " Maud Spierings via B4 Relay
2025-10-16 12:53   ` Ahmad Fatoum
2025-10-15 18:03 ` [PATCH 2/2] Documentation: migration-2025.11.0: add new empty file Maud Spierings via B4 Relay
2025-10-16 12:58   ` Ahmad Fatoum
2025-10-17  9:15     ` Maud Spierings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox