From: "Álvaro Fernández Rojas" <noltari@gmail.com>
To: jdelvare@suse.com, linux@roeck-us.net, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, corbet@lwn.net,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Cc: "Álvaro Fernández Rojas" <noltari@gmail.com>
Subject: [PATCH v3 0/3] hwmon: add Microchip EMC2101 driver
Date: Wed, 9 Jul 2025 18:48:26 +0200 [thread overview]
Message-ID: <20250709164829.3072944-1-noltari@gmail.com> (raw)
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.
v3: multiple improvements:
- rst: drop emc2101-r (same chip, loads config from EEPROM).
- dt: fix errors, remove patternProperties and drop emc2101-r.
- Switch to regmap-i2c.
- Use regmap fields.
- Add Power Management support.
- Demote dev_info() to dev_dbg().
- Remove "emc2101-r" i2c_device_id.
- Remove "microchip,emc2101-r" of_device_id.
- Properly implement standby mode.
- Use milliseconds instead of millihertz for update_interval.
- Drop mutex except for FAN_LUT_DISABLE and TEMP_EXT_CRIT_UNLOCK.
- Fix u16 fraction temperature conversions.
- Other code cleanups and refactors.
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 | 59 +
Documentation/hwmon/emc2101.rst | 61 +
Documentation/hwmon/index.rst | 1 +
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/emc2101.c | 2176 +++++++++++++++++
6 files changed, 2309 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
next reply other threads:[~2025-07-09 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 16:48 Álvaro Fernández Rojas [this message]
2025-07-09 16:48 ` [PATCH v3 1/3] docs: hwmon: add emc2101.rst to docs Álvaro Fernández Rojas
2025-07-09 16:48 ` [PATCH v3 2/3] dt-bindings: hwmon: Add Microchip EMC2101 support Álvaro Fernández Rojas
2025-07-10 10:00 ` Krzysztof Kozlowski
2025-07-09 16:48 ` [PATCH v3 3/3] drivers: hwmon: add EMC2101 driver Álvaro Fernández Rojas
2025-07-16 16:05 ` Guenter Roeck
2025-07-17 1:30 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250709164829.3072944-1-noltari@gmail.com \
--to=noltari@gmail.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®