Michael Shych | 005cc9b | 2022-08-10 20:15:52 +0300 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | Kernel driver emc2305 |
| 4 | ===================== |
| 5 | |
| 6 | Supported chips: |
| 7 | Microchip EMC2305, EMC2303, EMC2302, EMC2301 |
| 8 | |
| 9 | Addresses scanned: I2C 0x27, 0x2c, 0x2d, 0x2e, 0x2f, 0x4c, 0x4d |
| 10 | Prefixes: 'emc2305' |
| 11 | |
| 12 | Datasheet: Publicly available at the Microchip website : |
| 13 | https://www.microchip.com/en-us/product/EMC2305 |
| 14 | |
| 15 | Description: |
| 16 | ------------ |
| 17 | This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller. |
| 18 | The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives. |
| 19 | Fan rotation speeds are reported in RPM. |
| 20 | The driver supports the RPM-based PWM control to keep a fan at the desired speed. |
| 21 | The driver provides the possibility to have one common PWM interface for all FANs |
| 22 | or up to the maximum available or configured independent PWMs. |
| 23 | |
| 24 | The driver provides the following sysfs interfaces in hwmon subsystem: |
| 25 | |
| 26 | ================= == =================================================== |
| 27 | fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication |
| 28 | fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM) |
| 29 | pwm[1-5] RW file for fan[1-5] target duty cycle (0..255) |
| 30 | ================= == =================================================== |
| 31 | |
| 32 | sysfs interfaces in thermal subsystem: |
| 33 | |
| 34 | ================= == ======================================================================== |
| 35 | cur_state RW file for the current cooling state of the cooling device (0..max_state) |
| 36 | max_state RO file for the maximum cooling state of the cooling device |
| 37 | ================= == ======================================================================== |