mbox series

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

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

Message

Guenter Roeck May 31, 2024, 11:05 p.m. UTC
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

Comments

Wolfram Sang June 1, 2024, 1:26 a.m. UTC | #1
On Fri, May 31, 2024 at 04:05:52PM -0700, Guenter Roeck wrote:

Adding Paul to CC who is likely interested in this series.

> 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