Skip to content

i2c: imx: Fix and enable DMA support for LS1021A

Esben Haabendal linux-devicetree linux-i2c lkml 4 versions – Applied

Status from this message: Applied to for-next and added stable, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 7 repliesApplied
  2. v33 patches 4 repliesApplied
  3. v24 patches 9 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches6 repliesSuperseded

Changes in v4 from the cover letter

* Added condition checking by use of common use_dma variable in patch 1/3
* Added Acked-by for patches 1/3 and 2/3
* Rebased to v4.18

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3i2c: imx: Fix race condition in dma readdrivers/i2c/busses/i2c-imx.c+4 -41 reply
2/3i2c: imx: Simplify stopped state trackingdrivers/i2c/busses/i2c-imx.c+7 -82 replies
3/3arm: dts: ls1021a: Enable I2C DMA supportarch/arm/boot/dts/ls1021a.dtsi+6 -04 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchUwe Kleine-König
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] i2c: imx: Fix and enable DMA support for LS1021A

From: Esben Haabendal <[email protected]>

This patch series fixes two race conditions and minor issues with tracking the stopped state when something goes wrong.

With that in place, DMA support works with NXP LS1021A, so it is enabled in the last patch.

Changes in v4:

* Added condition checking by use of common use_dma variable in patch 1/3
* Added Acked-by for patches 1/3 and 2/3
* Rebased to v4.18

Changes in v3:

* Rebased to v4.18-rc8, dropping patch 1/4 which have been merged
* Avoid unnecessary register write in patch 2/3
* Removed unneeded braces in patch 3/3

Changes in v2:

* Fixed speling mistake in commit message
* Rebased to v4.18-rc4

Esben Haabendal (3):
i2c: imx: Fix race condition in dma read
i2c: imx: Simplify stopped state tracking
arm: dts: ls1021a: Enable I2C DMA support

 arch/arm/boot/dts/ls1021a.dtsi |  6 ++++++
 drivers/i2c/busses/i2c-imx.c   | 23 +++++++++++------------
 2 files changed, 17 insertions(+), 12 deletions(-)
Signature · 1 line
2.18.0