linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Fix STM32 I2C dma operations
@ 2025-06-30 12:55 Clément Le Goffic
  2025-06-30 12:55 ` [PATCH v3 1/3] i2c: stm32: fix the device used for the DMA map Clément Le Goffic
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Clément Le Goffic @ 2025-06-30 12:55 UTC (permalink / raw)
  To: Pierre-Yves MORDRET, Alain Volmat, Andi Shyti, Maxime Coquelin,
	Alexandre Torgue, Sumit Semwal, Christian König,
	M'boumba Cedric Madianga, Wolfram Sang
  Cc: Pierre-Yves MORDRET, linux-i2c, linux-stm32, linux-arm-kernel,
	linux-kernel, linux-media, dri-devel, linaro-mm-sig,
	Clément Le Goffic

This patch series aims to fix some issues inside the driver's DMA
handling.
It also uses newer I2C DMA API.

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
---
Changes in v3:
- Add Alain Volmat's "Acked-by" on patch 1 and 2
- Link to v2: https://lore.kernel.org/r/20250627-i2c-upstream-v2-0-8c14523481dc@foss.st.com

Changes in v2:
- Fix the dev used in dma_unmap also in the error path of
  `stm32_i2c_prep_dma_xfer`
- Add a dma_unmap_single also in the ITs error handler
- Add Alain Volmat's "Acked-by" on patch 3
- Link to v1: https://lore.kernel.org/r/20250616-i2c-upstream-v1-0-42d3d5374e65@foss.st.com

---
Clément Le Goffic (3):
      i2c: stm32: fix the device used for the DMA map
      i2c: stm32f7: unmap DMA mapped buffer
      i2c: stm32f7: support i2c_*_dma_safe_msg_buf APIs

 drivers/i2c/busses/i2c-stm32.c   |  4 ++--
 drivers/i2c/busses/i2c-stm32f7.c | 42 +++++++++++++++++++++++++++++-----------
 2 files changed, 33 insertions(+), 13 deletions(-)
---
base-commit: d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
change-id: 20250527-i2c-upstream-e5b69501359a

Best regards,
-- 
Clément Le Goffic <clement.legoffic@foss.st.com>



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

end of thread, other threads:[~2025-07-03  9:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 12:55 [PATCH v3 0/3] Fix STM32 I2C dma operations Clément Le Goffic
2025-06-30 12:55 ` [PATCH v3 1/3] i2c: stm32: fix the device used for the DMA map Clément Le Goffic
2025-06-30 13:05   ` Pierre Yves MORDRET
2025-07-02 16:57   ` Andi Shyti
2025-07-03  7:20     ` Clement LE GOFFIC
2025-06-30 12:55 ` [PATCH v3 2/3] i2c: stm32f7: unmap DMA mapped buffer Clément Le Goffic
2025-06-30 13:06   ` Pierre Yves MORDRET
2025-07-02 17:08   ` Andi Shyti
2025-07-03  9:19     ` Clement LE GOFFIC
2025-06-30 12:55 ` [PATCH v3 3/3] i2c: stm32f7: support i2c_*_dma_safe_msg_buf APIs Clément Le Goffic
2025-06-30 13:07   ` Pierre Yves MORDRET
2025-07-02 17:15   ` Andi Shyti
2025-07-03  9:21     ` Clement LE GOFFIC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).