Add description of emc2101 driver. Signed-off-by: Álvaro Fernández Rojas <noltari@xxxxxxxxx> --- Documentation/hwmon/emc2101.rst | 61 +++++++++++++++++++++++++++++++++ Documentation/hwmon/index.rst | 1 + 2 files changed, 62 insertions(+) create mode 100644 Documentation/hwmon/emc2101.rst v3: drop emc2101-r (same chip, loads config from EEPROM). v2: add emc2101 to index.rst diff --git a/Documentation/hwmon/emc2101.rst b/Documentation/hwmon/emc2101.rst new file mode 100644 index 000000000000..3a8d61fc9de3 --- /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 + + Addresses scanned: I2C 0x4c + + Prefix: 'emc2101' + + 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 +========================= == =================================================== diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index b45bfb4ebf30..c068462764d0 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -69,6 +69,7 @@ Hardware Monitoring Kernel Drivers ds1621 ds620 emc1403 + emc2101 emc2103 emc2305 emc6w201 -- 2.39.5