Skip to content

i2c: Remove I2C_CLASS_SPD

Heiner Kallweit linux-hwmon linux-i2c 1 version Applied

Status from this message: Applied to hwmon-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4i2c: i801: Remove usage of I2C_CLASS_SPDdrivers/i2c/busses/i2c-i801.c+0 -40 replies
2/4i2c: mux: gpio: remove support for class-based device instantiationdrivers/i2c/muxes/i2c-mux-gpio.c include/linux/platform_data/i2c-mux-gpio.h+1 -40 replies
3/4hwmon: jc42: Remove I2C_CLASS_SPD supportdrivers/hwmon/jc42.c+1 -11 reply
4/4i2c: Remove I2C_CLASS_SPDinclude/linux/i2c.h+0 -12 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] i2c: Remove I2C_CLASS_SPD

Only remaining client driver supporting I2C_CLASS_SPD is jc42. This type of thermal sensor can be found on several DDR3/DDR4 modules. i2c_register_spd() instantiates also such thermal sensor i2c devices. Since 71b494e043d2 ("i2c: i801: Call i2c_register_spd for muxed child segments") i2c_register_spd() is called also for the remaining use case, systems with muxed SMBUS segments for SPD EEPROMs. i801 was the last bus driver supporting I2C_CLASS_SPD.
Therefore I2C_CLASS_SPD class-based instantiation isn't needed any longer, and we can remove it completely.

I propose to handle this series via the I2C tree.

Heiner Kallweit (4):
i2c: i801: Remove usage of I2C_CLASS_SPD
i2c: mux: gpio: remove support for class-based device instantiation
hwmon: jc42: Remove I2C_CLASS_SPD support
i2c: Remove I2C_CLASS_SPD

 drivers/hwmon/jc42.c                       | 2 +-
 drivers/i2c/busses/i2c-i801.c              | 4 ----
 drivers/i2c/muxes/i2c-mux-gpio.c           | 3 +--
 include/linux/i2c.h                        | 1 -
 include/linux/platform_data/i2c-mux-gpio.h | 2 --
 5 files changed, 2 insertions(+), 10 deletions(-)
Signature · 1 line
2.44.0