| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | Kernel driver tc654 | 
|  | 2 | =================== | 
|  | 3 |  | 
|  | 4 | Supported chips: | 
|  | 5 | * Microchip TC654 and TC655 | 
|  | 6 | Prefix: 'tc654' | 
|  | 7 | Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf | 
|  | 8 |  | 
|  | 9 | Authors: | 
|  | 10 | Chris Packham <chris.packham@alliedtelesis.co.nz> | 
|  | 11 | Masahiko Iwamoto <iwamoto@allied-telesis.co.jp> | 
|  | 12 |  | 
|  | 13 | Description | 
|  | 14 | ----------- | 
|  | 15 | This driver implements support for the Microchip TC654 and TC655. | 
|  | 16 |  | 
|  | 17 | The TC654 uses the 2-wire interface compatible with the SMBUS 2.0 | 
|  | 18 | specification. The TC654 has two (2) inputs for measuring fan RPM and | 
|  | 19 | one (1) PWM output which can be used for fan control. | 
|  | 20 |  | 
|  | 21 | Configuration Notes | 
|  | 22 | ------------------- | 
|  | 23 | Ordinarily the pwm1_mode ABI is used for controlling the pwm output | 
|  | 24 | mode.  However, for this chip the output is always pwm, and the | 
|  | 25 | pwm1_mode determines if the pwm output is controlled via the pwm1 value | 
|  | 26 | or via the Vin analog input. | 
|  | 27 |  | 
|  | 28 |  | 
|  | 29 | Setting pwm1_mode to 1 will cause the pwm output to be driven based on | 
|  | 30 | the pwm1 value. Setting pwm1_mode to 0 will cause the pwm output to be | 
|  | 31 | driven based on the Vin input. |