[PATCH v3 0/4] hwmon: Add support for SPD5118 compliant chips

From: Guenter Roeck
Date: Fri May 31 2024 - 19:06:12 EST


Add support for SPD5118 (Jedec JESD300) compliant chips supporting
a temperature sensor and SPD NVRAM. Such devices are typically found on
DDR5 memory modules.

The first patch of the series adds SPD5118 devicetree bindings. The second
patch adds support for SPD5118 temperature sensors. The third patch adds
support for suspend/resume. The last patch adds support for reading the SPD
NVRAM.

Note: The driver introduced with this patch series does not currently
support accessing SPD5118 compliant chips in I3C mode.

v3: Drop explicit bindings document; add binding to trivial devices instead
Add support for reading SPD NVRAM

v2: Drop PEC support; it only applies to I3C mode.
Update documentation
Add suspend/resume support

----------------------------------------------------------------
Guenter Roeck (4):
dt-bindings: trivial-devices: Add jedec,spd5118
hwmon: Add support for SPD5118 compliant temperature sensors
hwmon: (spd5118) Add suspend/resume support
hwmon: (spd5118) Add support for reading SPD data

.../devicetree/bindings/trivial-devices.yaml | 2 +
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/spd5118.rst | 56 ++
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/spd5118.c | 648 +++++++++++++++++++++
6 files changed, 720 insertions(+)
create mode 100644 Documentation/hwmon/spd5118.rst
create mode 100644 drivers/hwmon/spd5118.c