Thread (6 messages) 6 messages, 3 authors, 11d ago

[PATCH v2 0/3] hwmon: (lm75) add MAX31875 support

COOLING11d

From: John Erasmus Mari Geronimo <hidden>
Date: 2026-09-24 08:42:02
Also in: linux-devicetree, linux-hwmon, lkml

Add support for the Analog Devices MAX31875 I2C temperature sensor by
extending the existing lm75 driver.

The MAX31875 provides a 16-bit configuration register, selectable
resolution of 8, 9, 10, or 12 bits, conversion rates of 125 ms, 250 ms,
1 s, or 4 s, and an alarm output.

As suggested by Guenter Roeck, this version reworks the implementation
to extend the existing lm75 driver instead of max31827, since the
MAX31875 is another LM75 variant (similar to max31725/max31726) rather
than a max31827-family part.

Changes since v1:
- Rework the implementation to use the existing lm75 driver instead of
  the previously selected max31827 base driver.
- Add the MAX31875 Device Tree binding, documentation, and driver
  configuration for resolution, conversion rate, and alarm reporting.

John Erasmus Mari Geronimo (3):
  dt-bindings: hwmon: lm75: add MAX31875
  hwmon: (lm75) add MAX31875 documentation
  hwmon: (lm75) add MAX31875 support

 .../devicetree/bindings/hwmon/lm75.yaml       |  1 +
 Documentation/hwmon/lm75.rst                  |  6 +++--
 drivers/hwmon/Kconfig                         |  2 +-
 drivers/hwmon/lm75.c                          | 25 +++++++++++++++++++
 4 files changed, 31 insertions(+), 3 deletions(-)


base-commit: 9955c92abe72564a49c293b1c15cd3b4f02ea6a0
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help