[PATCH v2 0/3] hwmon: add Microchip EMC2101 driver

From: Álvaro Fernández Rojas
Date: Tue Jul 01 2025 - 14:12:44 EST


The Microchip EMC2101 is a SMBus 2.0 fan controller with temperature
monitoring.

It supports up to 1 fan, 1 internal temperature sensor, 1 external
temperature sensor and an 8 entry look up table to create a
programmable temperature response.

v2: multiple improvements:
- add emc2101.rst to index.rst.
- add missing documentation properties.
- Remove FAN_RPM_MIN definition.
- Rename FAN_FALSE_READ to FAN_MIN_READ.
- pwm_auto_point_temp_hyst_store(): simplify function.
- emc2101_fan_min_read(): add missing FAN_MIN_READ condition.
- emc2101_fan_min_write(): fix tach_count calculation.
- emc2101_init(): fix REG_TACH_MIN value.

Álvaro Fernández Rojas (3):
docs: hwmon: add emc2101.rst to docs
dt-bindings: hwmon: Add Microchip EMC2101 support
drivers: hwmon: add EMC2101 driver

.../bindings/hwmon/microchip,emc2101.yaml | 79 +
Documentation/hwmon/emc2101.rst | 61 +
Documentation/hwmon/index.rst | 1 +
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/emc2101.c | 2175 +++++++++++++++++
6 files changed, 2327 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,emc2101.yaml
create mode 100644 Documentation/hwmon/emc2101.rst
create mode 100644 drivers/hwmon/emc2101.c

--
2.39.5