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