]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - Documentation/hwmon/ltc2978
hwmon: (ltc2978) Add support for LTC3886
[mirror_ubuntu-artful-kernel.git] / Documentation / hwmon / ltc2978
CommitLineData
c3ff9a67
GR
1Kernel driver ltc2978
2=====================
3
4Supported chips:
fd9175d2
GR
5 * Linear Technology LTC2974
6 Prefix: 'ltc2974'
7 Addresses scanned: -
8 Datasheet: http://www.linear.com/product/ltc2974
649ca820
GR
9 * Linear Technology LTC2975
10 Prefix: 'ltc2975'
11 Addresses scanned: -
12 Datasheet: http://www.linear.com/product/ltc2975
c24c407e
GR
13 * Linear Technology LTC2977
14 Prefix: 'ltc2977'
15 Addresses scanned: -
16 Datasheet: http://www.linear.com/product/ltc2977
3f08d7f4 17 * Linear Technology LTC2978, LTC2978A
c3ff9a67
GR
18 Prefix: 'ltc2978'
19 Addresses scanned: -
6d21a416 20 Datasheet: http://www.linear.com/product/ltc2978
3f08d7f4 21 http://www.linear.com/product/ltc2978a
52aae6af
GR
22 * Linear Technology LTC2980
23 Prefix: 'ltc2980'
24 Addresses scanned: -
25 Datasheet: http://www.linear.com/product/ltc2980
ddfb41ca
GR
26 * Linear Technology LTC3880
27 Prefix: 'ltc3880'
28 Addresses scanned: -
6d21a416 29 Datasheet: http://www.linear.com/product/ltc3880
bf89386f
GR
30 * Linear Technology LTC3882
31 Prefix: 'ltc3882'
32 Addresses scanned: -
33 Datasheet: http://www.linear.com/product/ltc3882
fd9175d2
GR
34 * Linear Technology LTC3883
35 Prefix: 'ltc3883'
36 Addresses scanned: -
37 Datasheet: http://www.linear.com/product/ltc3883
228b687d
GR
38 * Linear Technology LTC3886
39 Prefix: 'ltc3886'
40 Addresses scanned: -
41 Datasheet: http://www.linear.com/product/ltc3886
15398566
GR
42 * Linear Technology LTC3887
43 Prefix: 'ltc3887'
44 Addresses scanned: -
45 Datasheet: http://www.linear.com/product/ltc3887
52aae6af
GR
46 * Linear Technology LTM2987
47 Prefix: 'ltm2987'
48 Addresses scanned: -
49 Datasheet: http://www.linear.com/product/ltm2987
f76992b0
GR
50 * Linear Technology LTM4676
51 Prefix: 'ltm4676'
52 Addresses scanned: -
53 Datasheet: http://www.linear.com/product/ltm4676
c3ff9a67 54
e3333e57 55Author: Guenter Roeck <linux@roeck-us.net>
c3ff9a67
GR
56
57
58Description
59-----------
60
649ca820 61LTC2974 and LTC2975 are quad digital power supply managers.
bf89386f
GR
62LTC2978 is an octal power supply monitor.
63LTC2977 is a pin compatible replacement for LTC2978.
52aae6af
GR
64LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977
65in a single die. The chip is instantiated and reported as two separate chips
66on two different I2C bus addresses.
228b687d
GR
67LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down
68DC/DC controllers.
bf89386f 69LTC3883 is a single phase step-down DC/DC controller.
52aae6af
GR
70LTM2987 is a 16-channel Power System Manager with two LTC2977 plus
71additional components on a single die. The chip is instantiated and reported
72as two separate chips on two different I2C bus addresses.
bf89386f 73LTM4676 is a dual 13A or single 26A uModule regulator.
c3ff9a67
GR
74
75
76Usage Notes
77-----------
78
79This driver does not probe for PMBus devices. You will have to instantiate
80devices explicitly.
81
82Example: the following commands will load the driver for an LTC2978 at address
830x60 on I2C bus #1:
84
85# modprobe ltc2978
86# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
87
88
89Sysfs attributes
90----------------
91
92in1_label "vin"
93in1_input Measured input voltage.
94in1_min Minimum input voltage.
c24c407e 95in1_max Maximum input voltage.
52aae6af
GR
96 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
97 LTM2987 only.
c24c407e 98in1_lcrit Critical minimum input voltage.
52aae6af
GR
99 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
100 LTM2987 only.
c3ff9a67
GR
101in1_crit Critical maximum input voltage.
102in1_min_alarm Input voltage low alarm.
c24c407e 103in1_max_alarm Input voltage high alarm.
52aae6af
GR
104 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
105 LTM2987 only.
c24c407e 106in1_lcrit_alarm Input voltage critical low alarm.
52aae6af
GR
107 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
108 LTM2987 only.
c3ff9a67 109in1_crit_alarm Input voltage critical high alarm.
c24c407e 110in1_lowest Lowest input voltage.
52aae6af
GR
111 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
112 LTM2987 only.
c3ff9a67 113in1_highest Highest input voltage.
8c770f3a 114in1_reset_history Reset input voltage history.
c3ff9a67 115
fd9175d2 116in[N]_label "vout[1-8]".
649ca820 117 LTC2974, LTC2975: N=2-5
52aae6af 118 LTC2977, LTC2980, LTM2987: N=2-9
fd9175d2 119 LTC2978: N=2-9
228b687d 120 LTC3880, LTC3882, LTC23886 LTC3887, LTM4676: N=2-3
fd9175d2
GR
121 LTC3883: N=2
122in[N]_input Measured output voltage.
123in[N]_min Minimum output voltage.
124in[N]_max Maximum output voltage.
125in[N]_lcrit Critical minimum output voltage.
126in[N]_crit Critical maximum output voltage.
127in[N]_min_alarm Output voltage low alarm.
128in[N]_max_alarm Output voltage high alarm.
129in[N]_lcrit_alarm Output voltage critical low alarm.
130in[N]_crit_alarm Output voltage critical high alarm.
649ca820
GR
131in[N]_lowest Lowest output voltage. LTC2974, LTC2975,
132 and LTC2978 only.
fd9175d2
GR
133in[N]_highest Highest output voltage.
134in[N]_reset_history Reset output voltage history.
135
136temp[N]_input Measured temperature.
649ca820
GR
137 On LTC2974 and LTC2975, temp[1-4] report external
138 temperatures, and temp5 reports the chip temperature.
52aae6af
GR
139 On LTC2977, LTC2980, LTC2978, and LTM2987, only one
140 temperature measurement is supported and reports
141 the chip temperature.
15398566
GR
142 On LTC3880, LTC3882, LTC3887, and LTM4676, temp1 and
143 temp2 report external temperatures, and temp3 reports
bf89386f 144 the chip temperature.
fd9175d2
GR
145 On LTC3883, temp1 reports an external temperature,
146 and temp2 reports the chip temperature.
52aae6af
GR
147temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978,
148 and LTM2987 only.
fd9175d2
GR
149temp[N]_max Maximum temperature.
150temp[N]_lcrit Critical low temperature.
151temp[N]_crit Critical high temperature.
c24c407e 152temp[N]_min_alarm Temperature low alarm.
52aae6af
GR
153 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
154 LTM2987 only.
fd9175d2
GR
155temp[N]_max_alarm Temperature high alarm.
156temp[N]_lcrit_alarm Temperature critical low alarm.
157temp[N]_crit_alarm Temperature critical high alarm.
c24c407e 158temp[N]_lowest Lowest measured temperature.
52aae6af
GR
159 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
160 LTM2987 only.
649ca820
GR
161 Not supported for chip temperature sensor on LTC2974 and
162 LTC2975.
fd9175d2 163temp[N]_highest Highest measured temperature. Not supported for chip
649ca820 164 temperature sensor on LTC2974 and LTC2975.
fd9175d2 165temp[N]_reset_history Reset temperature history. Not supported for chip
649ca820 166 temperature sensor on LTC2974 and LTC2975.
fd9175d2 167
228b687d 168power1_label "pin". LTC3883 and LTC3886 only.
fd9175d2
GR
169power1_input Measured input power.
170
171power[N]_label "pout[1-4]".
649ca820 172 LTC2974, LTC2975: N=1-4
52aae6af 173 LTC2977, LTC2980, LTM2987: Not supported
fd9175d2 174 LTC2978: Not supported
228b687d 175 LTC3880, LTC3882, LTC3886, LTC3887, LTM4676: N=1-2
fd9175d2
GR
176 LTC3883: N=2
177power[N]_input Measured output power.
178
228b687d
GR
179curr1_label "iin". LTC3880, LTC3883, LTC3886, LTC3887, and LTM4676
180 only.
ddfb41ca
GR
181curr1_input Measured input current.
182curr1_max Maximum input current.
183curr1_max_alarm Input current high alarm.
228b687d
GR
184curr1_highest Highest input current. LTC3883 and LTC3886 only.
185curr1_reset_history Reset input current history. LTC3883 and LTC3886 only.
fd9175d2
GR
186
187curr[N]_label "iout[1-4]".
649ca820 188 LTC2974, LTC2975: N=1-4
52aae6af 189 LTC2977, LTC2980, LTM2987: not supported
fd9175d2 190 LTC2978: not supported
228b687d 191 LTC3880, LTC3882, LTC3886, LTC3887, LTM4676: N=2-3
fd9175d2
GR
192 LTC3883: N=2
193curr[N]_input Measured output current.
194curr[N]_max Maximum output current.
195curr[N]_crit Critical high output current.
649ca820 196curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only.
fd9175d2
GR
197curr[N]_max_alarm Output current high alarm.
198curr[N]_crit_alarm Output current critical high alarm.
649ca820
GR
199curr[N]_lcrit_alarm Output current critical low alarm.
200 LTC2974 and LTC2975 only.
201curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only.
fd9175d2
GR
202curr[N]_highest Highest output current.
203curr[N]_reset_history Reset output current history.