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 note in the migration guide file.

Signed-off-by: Maud Spierings <[email protected]>
---
Changes in v2:
- Move the extra commit comment into the commit [1/2]
- Actually add a note to the migration file [2/2]
- Link to v1: 
https://lore.kernel.org/r/[email protected]

---
Maud Spierings (2):
      gpio: i.MX: make _get_value() able to read output pin state
      Documentation: migration-2025.11.0: add note about new gpio behaviour

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

Best regards,
-- 
Maud Spierings <[email protected]>



Reply via email to