|
|
Log in / Subscribe / Register

hwmon: Add support for SPD5118 compliant temperature sensors

From:  Guenter Roeck <linux-AT-roeck-us.net>
To:  linux-hwmon-AT-vger.kernel.org
Subject:  [PATCH 0/3] hwmon: Add support for SPD5118 compliant temperature sensors
Date:  Wed, 29 May 2024 13:52:01 -0700
Message-ID:  <20240529205204.81208-1-linux@roeck-us.net>
Cc:  Hristo Venev <hristo-AT-venev.name>, RenĂ© Rebe <rene-AT-exactcode.de>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Radu Sabau <radu.sabau-AT-analog.com>, Guenter Roeck <linux-AT-roeck-us.net>
Archive-link:  Article

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/?se...

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



Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds