Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / hwmon / ltc2978
1 Kernel driver ltc2978
2 =====================
3
4 Supported chips:
5   * Linear Technology LTC2974
6     Prefix: 'ltc2974'
7     Addresses scanned: -
8     Datasheet: http://www.linear.com/product/ltc2974
9   * Linear Technology LTC2977
10     Prefix: 'ltc2977'
11     Addresses scanned: -
12     Datasheet: http://www.linear.com/product/ltc2977
13   * Linear Technology LTC2978, LTC2978A
14     Prefix: 'ltc2978'
15     Addresses scanned: -
16     Datasheet: http://www.linear.com/product/ltc2978
17                http://www.linear.com/product/ltc2978a
18   * Linear Technology LTC3880
19     Prefix: 'ltc3880'
20     Addresses scanned: -
21     Datasheet: http://www.linear.com/product/ltc3880
22   * Linear Technology LTC3883
23     Prefix: 'ltc3883'
24     Addresses scanned: -
25     Datasheet: http://www.linear.com/product/ltc3883
26   * Linear Technology LTM4676
27     Prefix: 'ltm4676'
28     Addresses scanned: -
29     Datasheet: http://www.linear.com/product/ltm4676
30
31 Author: Guenter Roeck <linux@roeck-us.net>
32
33
34 Description
35 -----------
36
37 LTC2974 is a quad digital power supply manager. LTC2978 is an octal power supply
38 monitor. LTC2977 is a pin compatible replacement for LTC2978. LTC3880 is a dual
39 output poly-phase step-down DC/DC controller. LTC3883 is a single phase
40 step-down DC/DC controller. LTM4676 is a dual 13A or single 26A uModule
41 regulator.
42
43
44 Usage Notes
45 -----------
46
47 This driver does not probe for PMBus devices. You will have to instantiate
48 devices explicitly.
49
50 Example: the following commands will load the driver for an LTC2978 at address
51 0x60 on I2C bus #1:
52
53 # modprobe ltc2978
54 # echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
55
56
57 Sysfs attributes
58 ----------------
59
60 in1_label               "vin"
61 in1_input               Measured input voltage.
62 in1_min                 Minimum input voltage.
63 in1_max                 Maximum input voltage.
64                         LTC2974, LTC2977, and LTC2978 only.
65 in1_lcrit               Critical minimum input voltage.
66                         LTC2974, LTC2977, and LTC2978 only.
67 in1_crit                Critical maximum input voltage.
68 in1_min_alarm           Input voltage low alarm.
69 in1_max_alarm           Input voltage high alarm.
70                         LTC2974, LTC2977, and LTC2978 only.
71 in1_lcrit_alarm         Input voltage critical low alarm.
72                         LTC2974, LTC2977, and LTC2978 only.
73 in1_crit_alarm          Input voltage critical high alarm.
74 in1_lowest              Lowest input voltage.
75                         LTC2974, LTC2977, and LTC2978 only.
76 in1_highest             Highest input voltage.
77 in1_reset_history       Reset input voltage history.
78
79 in[N]_label             "vout[1-8]".
80                         LTC2974: N=2-5
81                         LTC2977: N=2-9
82                         LTC2978: N=2-9
83                         LTC3880, LTM4676: N=2-3
84                         LTC3883: N=2
85 in[N]_input             Measured output voltage.
86 in[N]_min               Minimum output voltage.
87 in[N]_max               Maximum output voltage.
88 in[N]_lcrit             Critical minimum output voltage.
89 in[N]_crit              Critical maximum output voltage.
90 in[N]_min_alarm         Output voltage low alarm.
91 in[N]_max_alarm         Output voltage high alarm.
92 in[N]_lcrit_alarm       Output voltage critical low alarm.
93 in[N]_crit_alarm        Output voltage critical high alarm.
94 in[N]_lowest            Lowest output voltage. LTC2974 and LTC2978 only.
95 in[N]_highest           Highest output voltage.
96 in[N]_reset_history     Reset output voltage history.
97
98 temp[N]_input           Measured temperature.
99                         On LTC2974, temp[1-4] report external temperatures,
100                         and temp5 reports the chip temperature.
101                         On LTC2977 and LTC2978, only one temperature measurement
102                         is supported and reports the chip temperature.
103                         On LTC3880 and LTM4676, temp1 and temp2 report external
104                         temperatures, and temp3 reports the chip temperature.
105                         On LTC3883, temp1 reports an external temperature,
106                         and temp2 reports the chip temperature.
107 temp[N]_min             Mimimum temperature. LTC2974, LCT2977, and LTC2978 only.
108 temp[N]_max             Maximum temperature.
109 temp[N]_lcrit           Critical low temperature.
110 temp[N]_crit            Critical high temperature.
111 temp[N]_min_alarm       Temperature low alarm.
112                         LTC2974, LTC2977, and LTC2978 only.
113 temp[N]_max_alarm       Temperature high alarm.
114 temp[N]_lcrit_alarm     Temperature critical low alarm.
115 temp[N]_crit_alarm      Temperature critical high alarm.
116 temp[N]_lowest          Lowest measured temperature.
117                         LTC2974, LTC2977, and LTC2978 only.
118                         Not supported for chip temperature sensor on LTC2974.
119 temp[N]_highest         Highest measured temperature. Not supported for chip
120                         temperature sensor on LTC2974.
121 temp[N]_reset_history   Reset temperature history. Not supported for chip
122                         temperature sensor on LTC2974.
123
124 power1_label            "pin". LTC3883 only.
125 power1_input            Measured input power.
126
127 power[N]_label          "pout[1-4]".
128                         LTC2974: N=1-4
129                         LTC2977: Not supported
130                         LTC2978: Not supported
131                         LTC3880, LTM4676: N=1-2
132                         LTC3883: N=2
133 power[N]_input          Measured output power.
134
135 curr1_label             "iin". LTC3880, LTC3883, and LTM4676 only.
136 curr1_input             Measured input current.
137 curr1_max               Maximum input current.
138 curr1_max_alarm         Input current high alarm.
139 curr1_highest           Highest input current. LTC3883 only.
140 curr1_reset_history     Reset input current history. LTC3883 only.
141
142 curr[N]_label           "iout[1-4]".
143                         LTC2974: N=1-4
144                         LTC2977: not supported
145                         LTC2978: not supported
146                         LTC3880, LTM4676: N=2-3
147                         LTC3883: N=2
148 curr[N]_input           Measured output current.
149 curr[N]_max             Maximum output current.
150 curr[N]_crit            Critical high output current.
151 curr[N]_lcrit           Critical low output current. LTC2974 only.
152 curr[N]_max_alarm       Output current high alarm.
153 curr[N]_crit_alarm      Output current critical high alarm.
154 curr[N]_lcrit_alarm     Output current critical low alarm. LTC2974 only.
155 curr[N]_lowest          Lowest output current. LTC2974 only.
156 curr[N]_highest         Highest output current.
157 curr[N]_reset_history   Reset output current history.