Skip to content

i2c: designware: Generic polling mode code

Jarkko Nikula linux-i2c 3 versions – Applied

Status from this message: Applied to i2c/i2c-host on

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 4 repliesApplied
  2. v29 patches 6 repliesSuperseded
  3. v16 patches 8 repliesSuperseded

v2 from the cover letter

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6i2c: designware: Uniform initialization flow for polling modedrivers/i2c/busses/i2c-designware-core.h drivers/i2c/busses/i2c-designware-master.c drivers/i2c/busses/i2c-designware-pcidrv.c +1 more+11 -360 replies
2/6i2c: designware: Do not enable interrupts shortly in polling modedrivers/i2c/busses/i2c-designware-core.h drivers/i2c/busses/i2c-designware-master.c+9 -30 replies
3/6i2c: designware: Use accessors to DW_IC_INTR_MASK registerdrivers/i2c/busses/i2c-designware-common.c drivers/i2c/busses/i2c-designware-core.h drivers/i2c/busses/i2c-designware-master.c+20 -110 replies
4/6i2c: designware: Move interrupt handling functions before i2c_dw_xfer()drivers/i2c/busses/i2c-designware-master.c+113 -1130 replies
5/6i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NICdrivers/i2c/busses/i2c-designware-core.h+1 -10 replies
6/6i2c: designware: Implement generic polling mode code for Wangxun 10Gb NICdrivers/i2c/busses/i2c-designware-core.h drivers/i2c/busses/i2c-designware-master.c+75 -1020 replies

Reviews trailers per patch

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

PatchJiawen Wu
SeriesT-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH v3 0/6] i2c: designware: Generic polling mode code

Hi Jiawen, Sanket and Basavaraj

I hope you could give a quick test to this patchset to see it won't cause regression on your HW. This is mostly the same than the first version what Jiawen tested earlier but in this 3rd version I decided to drop semphore touching code patches from v2 due they being out of scope and fix a few things noted by Andy.

Changes are in the patch 3/6 with two minor fixes to comments while moving them and the patch 6/6 where i2c_dw_wait_transfer() is slightly modified by Andy's suggestion plus I decided to remove one comment which became unclear after this patch.

v2:
https://lore.kernel.org/linux-i2c/[email protected]/

v1:
https://lore.kernel.org/linux-i2c/[email protected]/

Jarkko Nikula (6):
i2c: designware: Uniform initialization flow for polling mode
i2c: designware: Do not enable interrupts shortly in polling mode
i2c: designware: Use accessors to DW_IC_INTR_MASK register
i2c: designware: Move interrupt handling functions before

    i2c_dw_xfer()

i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
i2c: designware: Implement generic polling mode code for Wangxun 10Gb
NIC

 drivers/i2c/busses/i2c-designware-common.c  |   2 +-
 drivers/i2c/busses/i2c-designware-core.h    |  23 +-
 drivers/i2c/busses/i2c-designware-master.c  | 419 +++++++++-----------
 drivers/i2c/busses/i2c-designware-pcidrv.c  |   2 +-
 drivers/i2c/busses/i2c-designware-platdrv.c |   2 +-
 5 files changed, 208 insertions(+), 240 deletions(-)
Signature · 1 line
2.43.0