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