blob: f997aa53eb95c373872241c7ad8c8e238f049365 [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 Roeck649ca822015-06-08 09:56:20 -07009 * Linear Technology LTC2975
10 Prefix: 'ltc2975'
11 Addresses scanned: -
12 Datasheet: http://www.linear.com/product/ltc2975
Guenter Roeckc24c407e2013-09-23 10:56:48 -070013 * Linear Technology LTC2977
14 Prefix: 'ltc2977'
15 Addresses scanned: -
16 Datasheet: http://www.linear.com/product/ltc2977
Guenter Roeck3f08d7f2013-09-23 11:23:37 -070017 * Linear Technology LTC2978, LTC2978A
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070018 Prefix: 'ltc2978'
19 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080020 Datasheet: http://www.linear.com/product/ltc2978
Guenter Roeck3f08d7f2013-09-23 11:23:37 -070021 http://www.linear.com/product/ltc2978a
Guenter Roeck52aae6a2015-08-17 06:38:01 -070022 * Linear Technology LTC2980
23 Prefix: 'ltc2980'
24 Addresses scanned: -
25 Datasheet: http://www.linear.com/product/ltc2980
Guenter Roeckddfb41c2011-09-11 20:31:09 -070026 * Linear Technology LTC3880
27 Prefix: 'ltc3880'
28 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080029 Datasheet: http://www.linear.com/product/ltc3880
Guenter Roeckbf893862015-06-08 10:29:45 -070030 * Linear Technology LTC3882
31 Prefix: 'ltc3882'
32 Addresses scanned: -
33 Datasheet: http://www.linear.com/product/ltc3882
Guenter Roeckfd9175d2013-01-27 09:24:28 -080034 * Linear Technology LTC3883
35 Prefix: 'ltc3883'
36 Addresses scanned: -
37 Datasheet: http://www.linear.com/product/ltc3883
Guenter Roeck228b6872015-08-17 07:21:43 -070038 * Linear Technology LTC3886
39 Prefix: 'ltc3886'
40 Addresses scanned: -
41 Datasheet: http://www.linear.com/product/ltc3886
Guenter Roeck15398562015-08-07 09:06:37 -070042 * Linear Technology LTC3887
43 Prefix: 'ltc3887'
44 Addresses scanned: -
45 Datasheet: http://www.linear.com/product/ltc3887
Guenter Roeck52aae6a2015-08-17 06:38:01 -070046 * Linear Technology LTM2987
47 Prefix: 'ltm2987'
48 Addresses scanned: -
49 Datasheet: http://www.linear.com/product/ltm2987
Guenter Roeckf76992b2014-03-05 21:23:01 -080050 * Linear Technology LTM4676
51 Prefix: 'ltm4676'
52 Addresses scanned: -
53 Datasheet: http://www.linear.com/product/ltm4676
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070054
Guenter Roecke3333e52013-02-20 20:58:42 -080055Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070056
57
58Description
59-----------
60
Guenter Roeck649ca822015-06-08 09:56:20 -070061LTC2974 and LTC2975 are quad digital power supply managers.
Guenter Roeckbf893862015-06-08 10:29:45 -070062LTC2978 is an octal power supply monitor.
63LTC2977 is a pin compatible replacement for LTC2978.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070064LTC2980 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.
Guenter Roeck228b6872015-08-17 07:21:43 -070067LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down
68DC/DC controllers.
Guenter Roeckbf893862015-06-08 10:29:45 -070069LTC3883 is a single phase step-down DC/DC controller.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070070LTM2987 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.
Guenter Roeckbf893862015-06-08 10:29:45 -070073LTM4676 is a dual 13A or single 26A uModule regulator.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070074
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.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070095in1_max Maximum input voltage.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070096 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
97 LTM2987 only.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070098in1_lcrit Critical minimum input voltage.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070099 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
100 LTM2987 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700101in1_crit Critical maximum input voltage.
102in1_min_alarm Input voltage low alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700103in1_max_alarm Input voltage high alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700104 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
105 LTM2987 only.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700106in1_lcrit_alarm Input voltage critical low alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700107 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
108 LTM2987 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700109in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700110in1_lowest Lowest input voltage.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700111 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
112 LTM2987 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700113in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -0800114in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700115
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800116in[N]_label "vout[1-8]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700117 LTC2974, LTC2975: N=2-5
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700118 LTC2977, LTC2980, LTM2987: N=2-9
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800119 LTC2978: N=2-9
Guenter Roeck228b6872015-08-17 07:21:43 -0700120 LTC3880, LTC3882, LTC23886 LTC3887, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800121 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.
Guenter Roeck649ca822015-06-08 09:56:20 -0700131in[N]_lowest Lowest output voltage. LTC2974, LTC2975,
132 and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800133in[N]_highest Highest output voltage.
134in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700135
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800136temp[N]_input Measured temperature.
Guenter Roeck649ca822015-06-08 09:56:20 -0700137 On LTC2974 and LTC2975, temp[1-4] report external
138 temperatures, and temp5 reports the chip temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700139 On LTC2977, LTC2980, LTC2978, and LTM2987, only one
140 temperature measurement is supported and reports
141 the chip temperature.
Guenter Roeck15398562015-08-07 09:06:37 -0700142 On LTC3880, LTC3882, LTC3887, and LTM4676, temp1 and
143 temp2 report external temperatures, and temp3 reports
Guenter Roeckbf893862015-06-08 10:29:45 -0700144 the chip temperature.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800145 On LTC3883, temp1 reports an external temperature,
146 and temp2 reports the chip temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700147temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978,
148 and LTM2987 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800149temp[N]_max Maximum temperature.
150temp[N]_lcrit Critical low temperature.
151temp[N]_crit Critical high temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700152temp[N]_min_alarm Temperature low alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700153 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
154 LTM2987 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800155temp[N]_max_alarm Temperature high alarm.
156temp[N]_lcrit_alarm Temperature critical low alarm.
157temp[N]_crit_alarm Temperature critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700158temp[N]_lowest Lowest measured temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700159 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
160 LTM2987 only.
Guenter Roeck649ca822015-06-08 09:56:20 -0700161 Not supported for chip temperature sensor on LTC2974 and
162 LTC2975.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800163temp[N]_highest Highest measured temperature. Not supported for chip
Guenter Roeck649ca822015-06-08 09:56:20 -0700164 temperature sensor on LTC2974 and LTC2975.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800165temp[N]_reset_history Reset temperature history. Not supported for chip
Guenter Roeck649ca822015-06-08 09:56:20 -0700166 temperature sensor on LTC2974 and LTC2975.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700167
Guenter Roeck228b6872015-08-17 07:21:43 -0700168power1_label "pin". LTC3883 and LTC3886 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800169power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700170
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800171power[N]_label "pout[1-4]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700172 LTC2974, LTC2975: N=1-4
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700173 LTC2977, LTC2980, LTM2987: Not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800174 LTC2978: Not supported
Guenter Roeck228b6872015-08-17 07:21:43 -0700175 LTC3880, LTC3882, LTC3886, LTC3887, LTM4676: N=1-2
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800176 LTC3883: N=2
177power[N]_input Measured output power.
178
Guenter Roeck228b6872015-08-17 07:21:43 -0700179curr1_label "iin". LTC3880, LTC3883, LTC3886, LTC3887, and LTM4676
180 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700181curr1_input Measured input current.
182curr1_max Maximum input current.
183curr1_max_alarm Input current high alarm.
Guenter Roeck228b6872015-08-17 07:21:43 -0700184curr1_highest Highest input current. LTC3883 and LTC3886 only.
185curr1_reset_history Reset input current history. LTC3883 and LTC3886 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700186
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800187curr[N]_label "iout[1-4]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700188 LTC2974, LTC2975: N=1-4
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700189 LTC2977, LTC2980, LTM2987: not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800190 LTC2978: not supported
Guenter Roeck228b6872015-08-17 07:21:43 -0700191 LTC3880, LTC3882, LTC3886, LTC3887, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800192 LTC3883: N=2
193curr[N]_input Measured output current.
194curr[N]_max Maximum output current.
195curr[N]_crit Critical high output current.
Guenter Roeck649ca822015-06-08 09:56:20 -0700196curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800197curr[N]_max_alarm Output current high alarm.
198curr[N]_crit_alarm Output current critical high alarm.
Guenter Roeck649ca822015-06-08 09:56:20 -0700199curr[N]_lcrit_alarm Output current critical low alarm.
200 LTC2974 and LTC2975 only.
201curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800202curr[N]_highest Highest output current.
203curr[N]_reset_history Reset output current history.