35 lines · plain
1Kernel driver tc6542===================3 4Supported chips:5 6 * Microchip TC654 and TC6557 8 Prefix: 'tc654'9 Datasheet: http://ww1.m10 icrochip.com/downloads/en/DeviceDoc/20001734C.pdf11 12Authors:13 - Chris Packham <chris.packham@alliedtelesis.co.nz>14 - Masahiko Iwamoto <iwamoto@allied-telesis.co.jp>15 16Description17-----------18This driver implements support for the Microchip TC654 and TC655.19 20The TC654 uses the 2-wire interface compatible with the SMBUS 2.021specification. The TC654 has two (2) inputs for measuring fan RPM and22one (1) PWM output which can be used for fan control.23 24Configuration Notes25-------------------26Ordinarily the pwm1_mode ABI is used for controlling the pwm output27mode. However, for this chip the output is always pwm, and the28pwm1_mode determines if the pwm output is controlled via the pwm1 value29or via the Vin analog input.30 31 32Setting pwm1_mode to 1 will cause the pwm output to be driven based on33the pwm1 value. Setting pwm1_mode to 0 will cause the pwm output to be34driven based on the Vin input.35