[PATCH v2 0/2] Add support for Microchip EMC1812

Marius Cristea posted 2 patches 1 week, 3 days ago
.../bindings/hwmon/microchip,emc1812.yaml          | 182 ++++
Documentation/hwmon/emc1812.rst                    |  68 ++
Documentation/hwmon/index.rst                      |   1 +
MAINTAINERS                                        |   8 +
drivers/hwmon/Kconfig                              |  11 +
drivers/hwmon/Makefile                             |   1 +
drivers/hwmon/emc1812.c                            | 968 +++++++++++++++++++++
7 files changed, 1239 insertions(+)
[PATCH v2 0/2] Add support for Microchip EMC1812
Posted by Marius Cristea 1 week, 3 days ago
This is the hwmon driver for EMC1812/13/14/15/33 multichannel Low-Voltage
Remote Diode Sensor Family. The chips in the family have one internal
and different numbers of external channels, ranging from 1 (EMC1812) to
4 channels (EMC1815).
Reading diodes in anti-parallel connection is supported by EMC1814, EMC1815
and EMC1833.

Signed-off-by: Marius Cristea <marius.cristea@microchip.com>
---
Changes in v2:
- update the interrupt section from yaml file
- update index.rst
- remove fault condition from internal sensor
- remove unused members from structures
- update the driver to work on systems without device tree or
  firmware nodes
- add missing include files
- make NULL labels to be not visible
- corect sign/unsign calculations
- corect possible underflow for limits
- Link to v1: https://lore.kernel.org/r/20251029-hw_mon-emc1812-v1-0-be4fd8af016a@microchip.com

---
Marius Cristea (2):
      dt-bindings: hwmon: temperature: add support for EMC1812
      hwmon: temperature: add support for EMC1812

 .../bindings/hwmon/microchip,emc1812.yaml          | 182 ++++
 Documentation/hwmon/emc1812.rst                    |  68 ++
 Documentation/hwmon/index.rst                      |   1 +
 MAINTAINERS                                        |   8 +
 drivers/hwmon/Kconfig                              |  11 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/emc1812.c                            | 968 +++++++++++++++++++++
 7 files changed, 1239 insertions(+)
---
base-commit: d2b2fea3503e5e12b2e28784152937e48bcca6ff
change-id: 20251002-hw_mon-emc1812-f1b806487d10

Best regards,
-- 
Marius Cristea <marius.cristea@microchip.com>