netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Define i2c_designware in a header file
@ 2024-04-25 21:44 Florian Fainelli
  2024-04-25 21:44 ` [PATCH v3 1/5] i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() Florian Fainelli
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Florian Fainelli @ 2024-04-25 21:44 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Jarkko Nikula, Andy Shevchenko, Mika Westerberg,
	Jan Dabros, Andi Shyti, Lee Jones, Jiawen Wu, Mengyuan Lou,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Maciej Fijalkowski, Andrew Lunn, Duanqiang Wen,
	open list:SYNOPSYS DESIGNWARE I2C DRIVER,
	open list:WANGXUN ETHERNET DRIVER

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

https://lore.kernel.org/all/20240422084109.3201-1-duanqiangwen@net-swift.com/
https://lore.kernel.org/all/20240422084109.3201-2-duanqiangwen@net-swift.com/

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

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-05-03 18:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 21:44 [PATCH v3 0/5] Define i2c_designware in a header file Florian Fainelli
2024-04-25 21:44 ` [PATCH v3 1/5] i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() Florian Fainelli
2024-04-25 21:44 ` [PATCH v3 2/5] i2c: designware: Create shared header hosting driver name Florian Fainelli
2024-04-25 21:44 ` [PATCH v3 3/5] mfd: intel-lpss: Utilize i2c-designware.h Florian Fainelli
2024-04-25 21:44 ` [PATCH v3 4/5] mfd: intel_quark_i2c_gpio: " Florian Fainelli
2024-04-26 14:30   ` Andy Shevchenko
2024-04-30  9:36     ` Andi Shyti
2024-05-02  9:19       ` Jarkko Nikula
2024-05-02 10:11         ` Lee Jones
2024-05-02 16:08         ` Florian Fainelli
2024-04-25 21:44 ` [PATCH v3 5/5] net: txgbe: " Florian Fainelli
2024-05-02 23:09 ` (subset) [PATCH v3 0/5] Define i2c_designware in a header file Andi Shyti
2024-05-03  6:30   ` Jarkko Nikula
2024-05-03 15:38     ` Andy Shevchenko
2024-05-03 18:26       ` Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).