mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] i2c: i2c-gpio: Support buses with shared SDA
@ 2026-12-02 13:15 Anatoliy Oleinikov via B4 Relay
  2026-12-02 13:15 ` [PATCH v2 1/2] i2c: i2c-gpio: Release a shared SCL before it can be requested again Anatoliy Oleinikov via B4 Relay
  2026-12-02 13:15 ` [PATCH v2 2/2] i2c: i2c-gpio: Enhance driver for buses with shared SDA Anatoliy Oleinikov via B4 Relay
  0 siblings, 2 replies; 3+ messages in thread
From: Anatoliy Oleinikov via B4 Relay @ 2026-12-02 13:15 UTC (permalink / raw)
  To: Andi Shyti, linux-i2c
  Cc: Wolfram Sang, Markus Stockhausen, Linus Walleij,
	Bartosz Golaszewski, linux-gpio, linux-kernel,
	Anatoliy Oleinikov

Some Realtek based switches share the data line instead of the clock
line among the I2C buses of their SFP cages: the Acorid GLS7700-24F8G-4X
has an SCL per cage and an SDA per four cages. The second patch extends
the shared SCL support of i2c-gpio to SDA. The first one fixes a race in
the release of a shared SCL that the second would make more likely.

---
Changes in v2:
- New patch 1: Release a shared SCL before it can be requested again,
  found by the Sashiko review of v1.
- Patch 2: release a shared line the same way.
- Link to v1: https://patch.msgid.link/20261202-i2c-gpio-shared-sda-v1-1-8b411d498d14@wizle.tech

---
Anatoliy Oleinikov (2):
      i2c: i2c-gpio: Release a shared SCL before it can be requested again
      i2c: i2c-gpio: Enhance driver for buses with shared SDA

 drivers/i2c/busses/i2c-gpio.c | 190 +++++++++++++++++++++++++-----------------
 1 file changed, 113 insertions(+), 77 deletions(-)
---
base-commit: 177501be260dae21d8b095a4ec4c98714a4d9c68
change-id: 20261202-i2c-gpio-shared-sda-afbd172a9c74

Best regards,
--  
Anatoliy Oleinikov <admin@wizle.tech>



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

end of thread, other threads:[~2026-12-02 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 13:15 [PATCH v2 0/2] i2c: i2c-gpio: Support buses with shared SDA Anatoliy Oleinikov via B4 Relay
2026-12-02 13:15 ` [PATCH v2 1/2] i2c: i2c-gpio: Release a shared SCL before it can be requested again Anatoliy Oleinikov via B4 Relay
2026-12-02 13:15 ` [PATCH v2 2/2] i2c: i2c-gpio: Enhance driver for buses with shared SDA Anatoliy Oleinikov via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®