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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Link: https://lore.kernel.org/all/a9ab1201-58fe-4b86-81fc-b58ce0b3cd2c@xxxxxxxxx/T/

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

-- 
2.43.0





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux