blob: 6934936de2c7b50804573015eb1b9d5746c4ee9c [file] [log] [blame]
Guenter Roeckc3ff9a62011-09-02 09:58:37 -07001Kernel driver ltc2978
2=====================
3
4Supported chips:
Guenter Roeckfd9175d2013-01-27 09:24:28 -08005 * Linear Technology LTC2974
6 Prefix: 'ltc2974'
7 Addresses scanned: -
8 Datasheet: http://www.linear.com/product/ltc2974
Guenter Roeckc24c407e2013-09-23 10:56:48 -07009 * Linear Technology LTC2977
10 Prefix: 'ltc2977'
11 Addresses scanned: -
12 Datasheet: http://www.linear.com/product/ltc2977
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070013 * Linear Technology LTC2978
14 Prefix: 'ltc2978'
15 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080016 Datasheet: http://www.linear.com/product/ltc2978
Guenter Roeckddfb41c2011-09-11 20:31:09 -070017 * Linear Technology LTC3880
18 Prefix: 'ltc3880'
19 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080020 Datasheet: http://www.linear.com/product/ltc3880
Guenter Roeckfd9175d2013-01-27 09:24:28 -080021 * Linear Technology LTC3883
22 Prefix: 'ltc3883'
23 Addresses scanned: -
24 Datasheet: http://www.linear.com/product/ltc3883
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070025
Guenter Roecke3333e52013-02-20 20:58:42 -080026Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070027
28
29Description
30-----------
31
Guenter Roeckfd9175d2013-01-27 09:24:28 -080032LTC2974 is a quad digital power supply manager. LTC2978 is an octal power supply
Guenter Roeckc24c407e2013-09-23 10:56:48 -070033monitor. LTC2977 is a pin compatible replacement for LTC2978. LTC3880 is a dual
34output poly-phase step-down DC/DC controller. LTC3883 is a single phase
35step-down DC/DC controller.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070036
37
38Usage Notes
39-----------
40
41This driver does not probe for PMBus devices. You will have to instantiate
42devices explicitly.
43
44Example: the following commands will load the driver for an LTC2978 at address
450x60 on I2C bus #1:
46
47# modprobe ltc2978
48# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
49
50
51Sysfs attributes
52----------------
53
54in1_label "vin"
55in1_input Measured input voltage.
56in1_min Minimum input voltage.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070057in1_max Maximum input voltage.
58 LTC2974, LTC2977, and LTC2978 only.
59in1_lcrit Critical minimum input voltage.
60 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070061in1_crit Critical maximum input voltage.
62in1_min_alarm Input voltage low alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070063in1_max_alarm Input voltage high alarm.
64 LTC2974, LTC2977, and LTC2978 only.
65in1_lcrit_alarm Input voltage critical low alarm.
66 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070067in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070068in1_lowest Lowest input voltage.
69 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070070in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080071in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070072
Guenter Roeckfd9175d2013-01-27 09:24:28 -080073in[N]_label "vout[1-8]".
74 LTC2974: N=2-5
Guenter Roeckc24c407e2013-09-23 10:56:48 -070075 LTC2977: N=2-9
Guenter Roeckfd9175d2013-01-27 09:24:28 -080076 LTC2978: N=2-9
77 LTC3880: N=2-3
78 LTC3883: N=2
79in[N]_input Measured output voltage.
80in[N]_min Minimum output voltage.
81in[N]_max Maximum output voltage.
82in[N]_lcrit Critical minimum output voltage.
83in[N]_crit Critical maximum output voltage.
84in[N]_min_alarm Output voltage low alarm.
85in[N]_max_alarm Output voltage high alarm.
86in[N]_lcrit_alarm Output voltage critical low alarm.
87in[N]_crit_alarm Output voltage critical high alarm.
88in[N]_lowest Lowest output voltage. LTC2974 and LTC2978 only.
89in[N]_highest Highest output voltage.
90in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070091
Guenter Roeckfd9175d2013-01-27 09:24:28 -080092temp[N]_input Measured temperature.
93 On LTC2974, temp[1-4] report external temperatures,
94 and temp5 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070095 On LTC2977 and LTC2978, only one temperature measurement
96 is supported and reports the chip temperature.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070097 On LTC3880, temp1 and temp2 report external
Guenter Roeckfd9175d2013-01-27 09:24:28 -080098 temperatures, and temp3 reports the chip temperature.
99 On LTC3883, temp1 reports an external temperature,
100 and temp2 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700101temp[N]_min Mimimum temperature. LTC2974, LCT2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800102temp[N]_max Maximum temperature.
103temp[N]_lcrit Critical low temperature.
104temp[N]_crit Critical high temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700105temp[N]_min_alarm Temperature low alarm.
106 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800107temp[N]_max_alarm Temperature high alarm.
108temp[N]_lcrit_alarm Temperature critical low alarm.
109temp[N]_crit_alarm Temperature critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700110temp[N]_lowest Lowest measured temperature.
111 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800112 Not supported for chip temperature sensor on LTC2974.
113temp[N]_highest Highest measured temperature. Not supported for chip
114 temperature sensor on LTC2974.
115temp[N]_reset_history Reset temperature history. Not supported for chip
116 temperature sensor on LTC2974.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700117
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800118power1_label "pin". LTC3883 only.
119power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700120
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800121power[N]_label "pout[1-4]".
122 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700123 LTC2977: Not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800124 LTC2978: Not supported
125 LTC3880: N=1-2
126 LTC3883: N=2
127power[N]_input Measured output power.
128
129curr1_label "iin". LTC3880 and LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700130curr1_input Measured input current.
131curr1_max Maximum input current.
132curr1_max_alarm Input current high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800133curr1_highest Highest input current. LTC3883 only.
134curr1_reset_history Reset input current history. LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700135
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800136curr[N]_label "iout[1-4]".
137 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700138 LTC2977: not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800139 LTC2978: not supported
140 LTC3880: N=2-3
141 LTC3883: N=2
142curr[N]_input Measured output current.
143curr[N]_max Maximum output current.
144curr[N]_crit Critical high output current.
145curr[N]_lcrit Critical low output current. LTC2974 only.
146curr[N]_max_alarm Output current high alarm.
147curr[N]_crit_alarm Output current critical high alarm.
148curr[N]_lcrit_alarm Output current critical low alarm. LTC2974 only.
149curr[N]_lowest Lowest output current. LTC2974 only.
150curr[N]_highest Highest output current.
151curr[N]_reset_history Reset output current history.