public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Hwmon driver for MAX31827 temperature switch
@ 2023-04-06 16:43 Daniel Matyas
  2023-04-06 16:43 ` [PATCH 1/2] dt-bindings: hwmon: add MAX31827 Daniel Matyas
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Matyas @ 2023-04-06 16:43 UTC (permalink / raw)
  Cc: Daniel Matyas, Jean Delvare, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Mark Brown, Vincent Tremblay, Marek Vasut,
	Pali Rohár, Conor Dooley, Greg.Schwendimann@infineon.com,
	Geert Uytterhoeven, linux-hwmon, devicetree, linux-kernel

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


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

end of thread, other threads:[~2023-04-06 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 16:43 [PATCH 0/2] Hwmon driver for MAX31827 temperature switch Daniel Matyas
2023-04-06 16:43 ` [PATCH 1/2] dt-bindings: hwmon: add MAX31827 Daniel Matyas
2023-04-06 16:43   ` [PATCH 2/2] hwmon: max31827: add MAX31827 driver Daniel Matyas
2023-04-06 19:06     ` Guenter Roeck
2023-04-06 19:20     ` Krzysztof Kozlowski
2023-04-06 18:14   ` [PATCH 1/2] dt-bindings: hwmon: add MAX31827 Rob Herring
2023-04-06 19:17   ` Krzysztof Kozlowski

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