mbox series

[0/3] hwmon: Add support for SPD5118 compliant temperature sensors

Message ID 20240529205204.81208-1-linux@roeck-us.net (mailing list archive)
Headers show
Series hwmon: Add support for SPD5118 compliant temperature sensors | expand

Message

Guenter Roeck May 29, 2024, 8:52 p.m. UTC
Add support for SPD5118 (Jedec JESD300-5B.01) compliant temperature
sensors. Such sensors 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 configuring PEC (Packet Error Checking). This patch depends
on [1] and is untested.

Note: The driver introduced with this patch series does not currently
support accessing the SPD5118 EEPROM, or accessing SPD5118 compatible chips
in I3C mode.

[1] https://patchwork.kernel.org/project/linux-hwmon/list/?series=857097

----------------------------------------------------------------
Guenter Roeck (3):
      dt-bindings: hwmon: jedec,spd5118: Add bindings
      hwmon: Add support for SPD5118 compliant temperature sensors
      hwmon: (spd5118) Add PEC support

 .../devicetree/bindings/hwmon/jedec,spd5118.yaml   |  52 +++
 Documentation/hwmon/index.rst                      |   1 +
 Documentation/hwmon/spd5118.rst                    |  60 +++
 drivers/hwmon/Kconfig                              |  12 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/spd5118.c                            | 499 +++++++++++++++++++++
 6 files changed, 625 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/jedec,spd5118.yaml
 create mode 100644 Documentation/hwmon/spd5118.rst
 create mode 100644 drivers/hwmon/spd5118.c