mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
7a0564448a
Class-based I2C probing requires detect() and address_list both to be set in the I2C client driver, see checks in i2c_detect(). It's misleading to declare I2C_CLASS_HWMON support if the driver doesn't implement detect(). Class-based probing is a legacy mechanism, in addition apparently nobody ever noticed that class-based probing has been non-functional in both drivers from the very beginning. So drop the fragments of class-based probing support. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/13ce7c11-a958-4892-ada9-faf5bfdcb89d@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
37 lines
1.5 KiB
ReStructuredText
37 lines
1.5 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
Kernel driver emc2305
|
|
=====================
|
|
|
|
Supported chips:
|
|
Microchip EMC2305, EMC2303, EMC2302, EMC2301
|
|
|
|
Prefixes: 'emc2305'
|
|
|
|
Datasheet: Publicly available at the Microchip website :
|
|
https://www.microchip.com/en-us/product/EMC2305
|
|
|
|
Description:
|
|
------------
|
|
This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
|
|
The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives.
|
|
Fan rotation speeds are reported in RPM.
|
|
The driver supports the RPM-based PWM control to keep a fan at the desired speed.
|
|
The driver provides the possibility to have one common PWM interface for all FANs
|
|
or up to the maximum available or configured independent PWMs.
|
|
|
|
The driver provides the following sysfs interfaces in hwmon subsystem:
|
|
|
|
================= == ===================================================
|
|
fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
|
|
fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
|
|
pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
|
|
================= == ===================================================
|
|
|
|
sysfs interfaces in thermal subsystem:
|
|
|
|
================= == ========================================================================
|
|
cur_state RW file for the current cooling state of the cooling device (0..max_state)
|
|
max_state RO file for the maximum cooling state of the cooling device
|
|
================= == ========================================================================
|