Skip to content

RFC i2c: Enable calling i2c_register_spd() on muxed bus segments

Heiner Kallweit linux-i2c 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: smbus: Prepare i2c_register_spd for use on muxed segmentsdrivers/i2c/i2c-smbus.c+11 -70 replies
2/3i2c: mux: gpio: Allow to call i2c_register_spd on a muxed segmentdrivers/i2c/muxes/i2c-mux-gpio.c include/linux/platform_data/i2c-mux-gpio.h+8 -00 replies
3/3i2c: i801: Call i2c_register_spd() on muxed bus segmentsdrivers/i2c/busses/i2c-i801.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] i2c: Enable calling i2c_register_spd() on muxed bus segments

This series is based on a discussion with Jean on how to get rid of class-based device probing on muxed segments of a i801-controlled smbus. i2c_register_spd() could be further optimized for the case that it's called on a muxed segment, for now go with the minimum of needed changes.

I don't have such a system with a muxed smbus, therefore the series is compile-tested only.

Heiner Kallweit (3):
i2c: smbus: Prepare i2c_register_spd for use on muxed segments
i2c: mux: gpio: Allow to call i2c_register_spd on a muxed segment
i2c: i801: Call i2c_register_spd() on muxed bus segments

 drivers/i2c/busses/i2c-i801.c              |  1 +
 drivers/i2c/i2c-smbus.c                    | 18 +++++++++++-------
 drivers/i2c/muxes/i2c-mux-gpio.c           |  6 ++++++
 include/linux/platform_data/i2c-mux-gpio.h |  2 ++
 4 files changed, 20 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0