Skip to content

Define i2c_designware in a header file

Florian Fainelli linux-i2c lkml netdev 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 Latest5 patches 9 repliesApplied
  2. v24 patches 6 repliesSuperseded
  3. v14 patches 22 repliesSuperseded

Changes in v3 from the cover letter

- incorporate Andy's change removing the MODULE_ALIAS
- created a separate inclusion group as requested by Andy
- changed the string format in txgbe_phy.c

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()drivers/i2c/busses/i2c-designware-pcidrv.c drivers/i2c/busses/i2c-designware-platdrv.c+6 -40 replies
2/5i2c: designware: Create shared header hosting driver nameMAINTAINERS drivers/i2c/busses/i2c-designware-platdrv.c include/linux/platform_data/i2c-designware.h+16 -10 replies
3/5mfd: intel-lpss: Utilize i2c-designware.hdrivers/mfd/intel-lpss.c+2 -10 replies
4/5mfd: intel_quark_i2c_gpio: Utilize i2c-designware.hdrivers/mfd/intel_quark_i2c_gpio.c+4 -25 replies
5/5net: txgbe: Utilize i2c-designware.hdrivers/net/ethernet/wangxun/txgbe/txgbe_phy.c+4 -20 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchAndi ShytiMario LimoncielloJarkko NikulaSerge SeminAndy Shevchenko
1/5R-b R-b A-b T-b T-b
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] Define i2c_designware in a header file

This patch series depends upon the following two patches being applied:

https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

There is no reason why each driver should have to repeat the "i2c_designware" string all over the place, because when that happens we see the reverts like the above being necessary.

Given the dependency on the two other patches above, it would make sense to route this via the networking tree, or wait until a v6.9-rc containing the above two changes gets merged into one of the i2c/mfd trees.

Changes in v3:

- incorporate Andy's change removing the MODULE_ALIAS
- created a separate inclusion group as requested by Andy
- changed the string format in txgbe_phy.c

Changes in v2:

- avoid changing i2c-designware-pcidrv.c more than necessary
- move constant to include/linux/platform_data/i2c-designware.h
- add comments as to how this constant is used and why

Andy Shevchenko (1):
i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()

Florian Fainelli (4):
i2c: designware: Create shared header hosting driver name
mfd: intel-lpss: Utilize i2c-designware.h
mfd: intel_quark_i2c_gpio: Utilize i2c-designware.h
net: txgbe: Utilize i2c-designware.h

 MAINTAINERS                                    |  1 +
 drivers/i2c/busses/i2c-designware-pcidrv.c     |  2 --
 drivers/i2c/busses/i2c-designware-platdrv.c    | 12 +++++++++---
 drivers/mfd/intel-lpss.c                       |  3 ++-
 drivers/mfd/intel_quark_i2c_gpio.c             |  6 ++++--
 drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c |  6 ++++--
 include/linux/platform_data/i2c-designware.h   | 12 ++++++++++++
 7 files changed, 32 insertions(+), 10 deletions(-)
 create mode 100644 include/linux/platform_data/i2c-designware.h
Signature · 1 line
2.34.1