Skip to content

RFC OMAP I2C driver cleanups

Andrew Davis linux-arm-kernel linux-i2c linux-omap lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest8 patches 1 replyIn review
  2. v28 patches 1 replySuperseded
  3. v18 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Fix OMAP_I2C_STAT_REG value in [1/8] (Sashiko)
- Add Acked-by tag

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8i2c: omap: Drop bit shift for I2C register addressesarch/arm/mach-omap1/i2c.c drivers/i2c/busses/i2c-omap.c include/linux/platform_data/i2c-omap.h+21 -380 replies
2/8i2c: omap: Remove unused is_rdr and is_xdr variablesdrivers/i2c/busses/i2c-omap.c+6 -80 replies
3/8i2c: omap: Use devm_pm_runtime_enable() helperdrivers/i2c/busses/i2c-omap.c+2 -70 replies
4/8i2c: omap: Combine event flags register definitionsdrivers/i2c/busses/i2c-omap.c+23 -350 replies
5/8i2c: omap: Use bool for flag valuesdrivers/i2c/busses/i2c-omap.c+13 -130 replies
6/8i2c: omap: Make reset bit name match register namedrivers/i2c/busses/i2c-omap.c+4 -110 replies
7/8i2c: omap: Switch to using BIT and GENMASKdrivers/i2c/busses/i2c-omap.c+41 -410 replies
8/8i2c: omap: Add OMAP_I2C_BUF_{TX,RX}TRSH definitionsdrivers/i2c/busses/i2c-omap.c+9 -40 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchAndreas KemnadeKevin Hilman
1/8R-b A-b
2/8R-b
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v3 thread

Cover letter [uL RFC PATCH v3 0/8] OMAP I2C driver cleanups

Hello all,

Some hopefully simple cleanups and updates found while using this driver as reference when porting the same over to Zephyr. No functional changes.

Thanks,
Andrew

Changes for v3:
- Fix OMAP_I2C_STAT_REG value in [1/8] (Sashiko)
- Add Acked-by tag

Changes for v2:
- Seems bitfield.h is not indirectly included for all archs, include it explicitly in patch [8/8]
- Add Reviewed-by tags

Andrew Davis (8):
i2c: omap: Drop bit shift for I2C register addresses
i2c: omap: Remove unused is_rdr and is_xdr variables
i2c: omap: Use devm_pm_runtime_enable() helper
i2c: omap: Combine event flags register definitions
i2c: omap: Use bool for flag values
i2c: omap: Make reset bit name match register name
i2c: omap: Switch to using BIT and GENMASK
i2c: omap: Add OMAP_I2C_BUF_{TX,RX}TRSH definitions

 arch/arm/mach-omap1/i2c.c              |   4 -
 drivers/i2c/busses/i2c-omap.c          | 255 +++++++++++--------------
 include/linux/platform_data/i2c-omap.h |   5 -
 3 files changed, 113 insertions(+), 151 deletions(-)
Signature · 1 line
2.39.2