Devicetree
 help / color / mirror / Atom feed
* [PATCH v3 0/3] hwmon: (lm75) add MAX31875 support
@ 2026-10-09 11:56 John Erasmus Mari Geronimo
  2026-10-09 11:56 ` [PATCH v3 1/3] dt-bindings: hwmon: lm75: add MAX31875 John Erasmus Mari Geronimo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: John Erasmus Mari Geronimo @ 2026-10-09 11:56 UTC (permalink / raw)
  To: linux
  Cc: robh, krzk+dt, conor+dt, corbet, skhan, jdelvare, linux-hwmon,
	devicetree, linux-kernel, linux-doc

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.

Changes since v2:
- dt-bindings: expand the commit message to explain why the MAX31875
  needs its own compatible string instead of reusing an existing
  lm75-family one, and pick up Conor Dooley's Acked-by given
  conditional on that fix.
- driver: drop the bogus .resolutions table, which incorrectly tied
  resolution to the sample-time index even though the two are
  independently configurable on this chip (Guenter Roeck).
- driver: use the BIT() idiom for the alarm bit read to match the
  rest of the file (Guenter Roeck).

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                          | 24 +++++++++++++++++++
 4 files changed, 30 insertions(+), 3 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-09 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09 11:56 [PATCH v3 0/3] hwmon: (lm75) add MAX31875 support John Erasmus Mari Geronimo
2026-10-09 11:56 ` [PATCH v3 1/3] dt-bindings: hwmon: lm75: add MAX31875 John Erasmus Mari Geronimo
2026-10-09 12:01   ` sashiko-bot
2026-10-09 11:56 ` [PATCH v3 2/3] hwmon: (lm75) add MAX31875 documentation John Erasmus Mari Geronimo
2026-10-09 12:02   ` sashiko-bot
2026-10-09 11:56 ` [PATCH v3 3/3] hwmon: (lm75) add MAX31875 support John Erasmus Mari Geronimo
2026-10-09 12:14   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox