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