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 1/3] docs: hwmon: add emc2101.rst to docs
Date: Thu, 26 Jun 2025 13:33:49 +0200 [thread overview]
Message-ID: <20250626113351.52873-2-noltari@gmail.com> (raw)
In-Reply-To: <20250626113351.52873-1-noltari@gmail.com>
Add description of emc2101 driver.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
Documentation/hwmon/emc2101.rst | 61 +++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 Documentation/hwmon/emc2101.rst
diff --git a/Documentation/hwmon/emc2101.rst b/Documentation/hwmon/emc2101.rst
new file mode 100644
index 000000000000..94db8a05a7a8
--- /dev/null
+++ b/Documentation/hwmon/emc2101.rst
@@ -0,0 +1,61 @@
+.. SPDX-License-Identifier: GPL-2.0-or-later
+
+Kernel driver emc2101
+=====================
+
+Supported chips:
+ Microchip EMC2101, EMC2101-R
+
+ Addresses scanned: I2C 0x4c
+
+ Prefixes: 'emc2101', emc2101-r'
+
+ Datasheet: Publicly available at the Microchip website :
+ https://www.microchip.com/en-us/product/EMC2101
+
+Description:
+------------
+This driver implements support for Microchip EMC2101 RPM-based PWM Fan Controller.
+The EMC2101 Fan Controller supports up to 1 controlled PWM fan based on an
+external temperature diode.
+Fan rotation speed is reported in RPM.
+The driver supports the eight entries temperature look up table to automatically
+adjust the fan speed.
+
+The driver provides the following sysfs interfaces in hwmon subsystem:
+
+========================= == ===================================================
+fan1_div RW file for fan target duty cycle divider (0..255)
+fan1_input RO file for TACH1 input (in RPM)
+fan1_min RW file for TACH1 min RPM
+fan1_min_alarm RO file for TACH1 min RPM alarm indication
+fan1_spin_up_abort RW file for fan spin up abort on low RPM
+fan1_spin_up_power RW file for fan spin up power (in percentage)
+fan1_spin_up_time RW file for fan spin up time (in ms)
+fan1_standby RW file for fan standby mode
+pwm1 RW file for fan target duty cycle (0..63)
+pwm1_auto_channels_temp RW file for fan temperature sensor (external, force)
+pwm1_auto_point[1-8]_pwm RW files for look up table fan speed
+pwm1_auto_point[1-8]_temp RW files for look up table temperature
+pwm1_auto_point_temp_hyst RW file for look up table temperature hysteresis
+pwm1_enable RW file for fan config (manual, look up table)
+pwm1_freq RW file for fan target frequency
+pwm1_mode RW file for pwm mode (DAC, PWM)
+pwm1_polarity_invert RW file for fan polarity inversion
+temp[1-3]_label RO files for temperature labels
+temp1_input RO file for internal temperature
+temp1_max RW file for max internal temperature
+temp1_max_alarm RO file for max internal temperature alarm indication
+temp2_crit RW file for crit external temperature
+temp2_crit_alarm RO file for crit external temperature alarm indication
+temp2_crit_hyst RW file for crit external temperature hysteresis
+temp2_fault RO file for external temperature failure indication
+temp2_input RO file for external temperature
+temp2_max RW file for max external temperature
+temp2_max_alarm RO file for max external temperature alarm indication
+temp2_min RW file for min external temperature
+temp2_min_alarm RO file for min external temperature alarm indication
+temp2_type RW file for external temperature type (CPU, 2N3904)
+temp3 RW file for forced temperature
+update_interval RW file for temperature sensor update interval
+========================= == ===================================================
--
2.39.5
next prev parent reply other threads:[~2025-06-26 11:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-26 11:33 [PATCH 0/3] hwmon: add Microchip EMC2101 driver Álvaro Fernández Rojas
2025-06-26 11:33 ` Álvaro Fernández Rojas [this message]
2025-06-26 11:33 ` [PATCH 2/3] dt-bindings: hwmon: Add Microchip EMC2101 support Álvaro Fernández Rojas
2025-06-27 21:34 ` Rob Herring
2025-06-28 8:43 ` Álvaro Fernández Rojas
2025-06-26 11:33 ` [PATCH 3/3] drivers: hwmon: add EMC2101 driver Álvaro Fernández Rojas
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=20250626113351.52873-2-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.