netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] Add I2C bus lock for Wangxun
@ 2024-08-23  3:02 Jiawen Wu
  2024-08-23  3:02 ` [PATCH net 1/3] net: txgbe: add IO address in I2C platform device data Jiawen Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Jiawen Wu @ 2024-08-23  3:02 UTC (permalink / raw)
  To: andi.shyti, jarkko.nikula, andriy.shevchenko, mika.westerberg,
	jsd, davem, edumazet, kuba, pabeni, rmk+kernel, piotr.raczynski,
	andrew, linux-i2c, netdev
  Cc: mengyuanlou, duanqiangwen, Jiawen Wu

Sometimes the driver can not get the SFP information because the I2C bus
is accessed by the firmware at the same time. So we need to add the lock
on the I2C bus access. The hardware semaphores perform this lock.

Jiawen Wu (3):
  net: txgbe: add IO address in I2C platform device data
  i2c: designware: add device private data passing to lock functions
  i2c: designware: support hardware lock for Wangxun 10Gb NIC

 drivers/i2c/busses/Makefile                   |  1 +
 drivers/i2c/busses/i2c-designware-amdpsp.c    |  4 +-
 drivers/i2c/busses/i2c-designware-baytrail.c  | 14 +++-
 drivers/i2c/busses/i2c-designware-common.c    |  4 +-
 drivers/i2c/busses/i2c-designware-core.h      |  6 +-
 drivers/i2c/busses/i2c-designware-platdrv.c   |  3 +
 drivers/i2c/busses/i2c-designware-wx.c        | 65 +++++++++++++++++++
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    |  5 ++
 include/linux/platform_data/i2c-wx.h          | 11 ++++
 9 files changed, 105 insertions(+), 8 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-designware-wx.c
 create mode 100644 include/linux/platform_data/i2c-wx.h

-- 
2.27.0


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

end of thread, other threads:[~2024-09-03 12:45 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  3:02 [PATCH net 0/3] Add I2C bus lock for Wangxun Jiawen Wu
2024-08-23  3:02 ` [PATCH net 1/3] net: txgbe: add IO address in I2C platform device data Jiawen Wu
2024-08-23 14:14   ` Andy Shevchenko
2024-08-23  3:02 ` [PATCH net 2/3] i2c: designware: add device private data passing to lock functions Jiawen Wu
2024-08-23 14:06   ` Andy Shevchenko
2024-08-27 13:24   ` Paolo Abeni
2024-08-29  5:16   ` kernel test robot
2024-08-23  3:02 ` [PATCH net 3/3] i2c: designware: support hardware lock for Wangxun 10Gb NIC Jiawen Wu
2024-08-23 14:13   ` Andy Shevchenko
2024-08-29  9:15     ` Jiawen Wu
2024-08-29 10:59       ` 'Andy Shevchenko'
2024-08-23 11:04 ` [PATCH net 0/3] Add I2C bus lock for Wangxun Jarkko Nikula
2024-08-27  2:26   ` Jiawen Wu
2024-08-26  1:32 ` Andrew Lunn
2024-08-26  2:04   ` Jiawen Wu
2024-08-26  2:33     ` Andrew Lunn
2024-08-27  2:21       ` Jiawen Wu
2024-08-27 12:18         ` Andrew Lunn
2024-08-29  6:40           ` Jiawen Wu
2024-08-29 15:27             ` Andrew Lunn
2024-09-03  6:31               ` Jiawen Wu
2024-09-03 12:45                 ` Andrew Lunn

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).