[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250627-i2c-upstream-v2-0-8c14523481dc@foss.st.com>
Date: Fri, 27 Jun 2025 12:12:55 +0200
From: Clément Le Goffic <clement.legoffic@...s.st.com>
To: Pierre-Yves MORDRET <pierre-yves.mordret@...s.st.com>,
Alain Volmat
<alain.volmat@...s.st.com>,
Andi Shyti <andi.shyti@...nel.org>,
"Maxime
Coquelin" <mcoquelin.stm32@...il.com>,
Alexandre Torgue
<alexandre.torgue@...s.st.com>,
Sumit Semwal <sumit.semwal@...aro.org>,
Christian König <christian.koenig@....com>,
"M'boumba Cedric
Madianga" <cedric.madianga@...il.com>,
Wolfram Sang <wsa@...nel.org>
CC: Pierre-Yves MORDRET <pierre-yves.mordret@...com>,
<linux-i2c@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-media@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
<linaro-mm-sig@...ts.linaro.org>,
Clément Le Goffic
<clement.legoffic@...s.st.com>
Subject: [PATCH v2 0/3] Fix STM32 I2C dma operations
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@...s.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: 86731a2a651e58953fc949573895f2fa6d456841
change-id: 20250527-i2c-upstream-e5b69501359a
Best regards,
--
Clément Le Goffic <clement.legoffic@...s.st.com>
Powered by blists - more mailing lists