[PATCH 0/2] Hwmon driver for MAX31827 temperature switch

From: Daniel Matyas
Date: Thu Apr 06 2023 - 12:45:45 EST


The driver was tested on Raspberry Pi 4 Model B.

The implemented functionalities of it are: reading a 1shot input value
and changing and reading the overtemperature and undertemperature alarm
and hysteresis values. The read values are raw: signed 16 bit int
format. To obtain the real value one must multiply the value with 0.0625.

Daniel Matyas (2):
dt-bindings: hwmon: add MAX31827
hwmon: max31827: add MAX31827 driver

.../bindings/hwmon/adi,max31827.yaml | 48 ++++
.../devicetree/bindings/trivial-devices.yaml | 2 +
MAINTAINERS | 8 +
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/max31827.c | 240 ++++++++++++++++++
6 files changed, 310 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
create mode 100644 drivers/hwmon/max31827.c

--
2.34.1