Skip to content

Tegra I2C: Support atomic transfers and correct suspend/resume

Dmitry Osipenko linux-i2c linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: tegra: Support atomic transfersdrivers/i2c/busses/i2c-tegra.c+88 -75 replies
2/3i2c: tegra: Rename I2C_PIO_MODE_MAX_LEN to I2C_PIO_MODE_PREFERRED_LENdrivers/i2c/busses/i2c-tegra.c+4 -51 reply
3/3i2c: tegra: Fix suspending in active runtime PM statedrivers/i2c/busses/i2c-tegra.c+9 -09 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchThierry Reding
1/3T-b
2/3T-b
3/3

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

Read the v1 thread

Cover letter [PATCH v1 0/3] Tegra I2C: Support atomic transfers and correct suspend/resume

Hello,

This patchset adds support for atomic transfers which are required for shutting down machine properly. Secondly, a (not)suspending I2C is fixed by this small series as well.

Changelog:

v1: The "i2c: tegra: Support atomic transfers" previously was sent out as
a separate patch, but later I spotted that suspend/resume doesn't work properly. The "i2c: tegra: Fix suspending in active runtime PM state" patch depends on the atomic patch because there is a need to active IRQ-safe mode for the runtime PM by both patches.

I fixed a missed doc-comment of the newly added "is_curr_atomic_xfer" structure field and added additional comment that explains why IRQ needs to be disabled for the atomic transfer in the "Support atomic transfers" patch.

Lastly, I added a minor "i2c: tegra: Rename .." patch that helps to follow driver's code.

Dmitry Osipenko (3):
i2c: tegra: Support atomic transfers
i2c: tegra: Rename I2C_PIO_MODE_MAX_LEN to I2C_PIO_MODE_PREFERRED_LEN
i2c: tegra: Fix suspending in active runtime PM state

 drivers/i2c/busses/i2c-tegra.c | 113 +++++++++++++++++++++++++++++----
 1 file changed, 101 insertions(+), 12 deletions(-)
Signature · 1 line
2.24.0