blob: 15835539879849c10642f149d77440b6b664d571 [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 Roeck15398562015-08-07 09:06:37 -070038 * Linear Technology LTC3887
39 Prefix: 'ltc3887'
40 Addresses scanned: -
41 Datasheet: http://www.linear.com/product/ltc3887
Guenter Roeck52aae6a2015-08-17 06:38:01 -070042 * Linear Technology LTM2987
43 Prefix: 'ltm2987'
44 Addresses scanned: -
45 Datasheet: http://www.linear.com/product/ltm2987
Guenter Roeckf76992b2014-03-05 21:23:01 -080046 * Linear Technology LTM4676
47 Prefix: 'ltm4676'
48 Addresses scanned: -
49 Datasheet: http://www.linear.com/product/ltm4676
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070050
Guenter Roecke3333e52013-02-20 20:58:42 -080051Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070052
53
54Description
55-----------
56
Guenter Roeck649ca822015-06-08 09:56:20 -070057LTC2974 and LTC2975 are quad digital power supply managers.
Guenter Roeckbf893862015-06-08 10:29:45 -070058LTC2978 is an octal power supply monitor.
59LTC2977 is a pin compatible replacement for LTC2978.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070060LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977
61in a single die. The chip is instantiated and reported as two separate chips
62on two different I2C bus addresses.
Guenter Roeck15398562015-08-07 09:06:37 -070063LTC3880, LTC3882, and LTC3887 are dual output poly-phase step-down DC/DC
64controllers.
Guenter Roeckbf893862015-06-08 10:29:45 -070065LTC3883 is a single phase step-down DC/DC controller.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070066LTM2987 is a 16-channel Power System Manager with two LTC2977 plus
67additional components on a single die. The chip is instantiated and reported
68as two separate chips on two different I2C bus addresses.
Guenter Roeckbf893862015-06-08 10:29:45 -070069LTM4676 is a dual 13A or single 26A uModule regulator.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070070
71
72Usage Notes
73-----------
74
75This driver does not probe for PMBus devices. You will have to instantiate
76devices explicitly.
77
78Example: the following commands will load the driver for an LTC2978 at address
790x60 on I2C bus #1:
80
81# modprobe ltc2978
82# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
83
84
85Sysfs attributes
86----------------
87
88in1_label "vin"
89in1_input Measured input voltage.
90in1_min Minimum input voltage.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070091in1_max Maximum input voltage.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070092 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
93 LTM2987 only.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070094in1_lcrit Critical minimum input voltage.
Guenter Roeck52aae6a2015-08-17 06:38:01 -070095 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
96 LTM2987 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070097in1_crit Critical maximum input voltage.
98in1_min_alarm Input voltage low alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070099in1_max_alarm Input voltage high alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700100 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
101 LTM2987 only.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700102in1_lcrit_alarm Input voltage critical low alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700103 LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
104 LTM2987 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700105in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700106in1_lowest Lowest input voltage.
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_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -0800110in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700111
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800112in[N]_label "vout[1-8]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700113 LTC2974, LTC2975: N=2-5
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700114 LTC2977, LTC2980, LTM2987: N=2-9
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800115 LTC2978: N=2-9
Guenter Roeck15398562015-08-07 09:06:37 -0700116 LTC3880, LTC3882, LTC3887, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800117 LTC3883: N=2
118in[N]_input Measured output voltage.
119in[N]_min Minimum output voltage.
120in[N]_max Maximum output voltage.
121in[N]_lcrit Critical minimum output voltage.
122in[N]_crit Critical maximum output voltage.
123in[N]_min_alarm Output voltage low alarm.
124in[N]_max_alarm Output voltage high alarm.
125in[N]_lcrit_alarm Output voltage critical low alarm.
126in[N]_crit_alarm Output voltage critical high alarm.
Guenter Roeck649ca822015-06-08 09:56:20 -0700127in[N]_lowest Lowest output voltage. LTC2974, LTC2975,
128 and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800129in[N]_highest Highest output voltage.
130in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700131
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800132temp[N]_input Measured temperature.
Guenter Roeck649ca822015-06-08 09:56:20 -0700133 On LTC2974 and LTC2975, temp[1-4] report external
134 temperatures, and temp5 reports the chip temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700135 On LTC2977, LTC2980, LTC2978, and LTM2987, only one
136 temperature measurement is supported and reports
137 the chip temperature.
Guenter Roeck15398562015-08-07 09:06:37 -0700138 On LTC3880, LTC3882, LTC3887, and LTM4676, temp1 and
139 temp2 report external temperatures, and temp3 reports
Guenter Roeckbf893862015-06-08 10:29:45 -0700140 the chip temperature.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800141 On LTC3883, temp1 reports an external temperature,
142 and temp2 reports the chip temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700143temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978,
144 and LTM2987 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800145temp[N]_max Maximum temperature.
146temp[N]_lcrit Critical low temperature.
147temp[N]_crit Critical high temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700148temp[N]_min_alarm Temperature low alarm.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700149 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
150 LTM2987 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800151temp[N]_max_alarm Temperature high alarm.
152temp[N]_lcrit_alarm Temperature critical low alarm.
153temp[N]_crit_alarm Temperature critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700154temp[N]_lowest Lowest measured temperature.
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700155 LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
156 LTM2987 only.
Guenter Roeck649ca822015-06-08 09:56:20 -0700157 Not supported for chip temperature sensor on LTC2974 and
158 LTC2975.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800159temp[N]_highest Highest measured temperature. Not supported for chip
Guenter Roeck649ca822015-06-08 09:56:20 -0700160 temperature sensor on LTC2974 and LTC2975.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800161temp[N]_reset_history Reset temperature history. Not supported for chip
Guenter Roeck649ca822015-06-08 09:56:20 -0700162 temperature sensor on LTC2974 and LTC2975.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700163
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800164power1_label "pin". LTC3883 only.
165power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700166
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800167power[N]_label "pout[1-4]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700168 LTC2974, LTC2975: N=1-4
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700169 LTC2977, LTC2980, LTM2987: Not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800170 LTC2978: Not supported
Guenter Roeck15398562015-08-07 09:06:37 -0700171 LTC3880, LTC3882, LTC3887, LTM4676: N=1-2
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800172 LTC3883: N=2
173power[N]_input Measured output power.
174
Guenter Roeck15398562015-08-07 09:06:37 -0700175curr1_label "iin". LTC3880, LTC3883, LTC3887, and LTM4676 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700176curr1_input Measured input current.
177curr1_max Maximum input current.
178curr1_max_alarm Input current high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800179curr1_highest Highest input current. LTC3883 only.
180curr1_reset_history Reset input current history. LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700181
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800182curr[N]_label "iout[1-4]".
Guenter Roeck649ca822015-06-08 09:56:20 -0700183 LTC2974, LTC2975: N=1-4
Guenter Roeck52aae6a2015-08-17 06:38:01 -0700184 LTC2977, LTC2980, LTM2987: not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800185 LTC2978: not supported
Guenter Roeck15398562015-08-07 09:06:37 -0700186 LTC3880, LTC3882, LTC3887, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800187 LTC3883: N=2
188curr[N]_input Measured output current.
189curr[N]_max Maximum output current.
190curr[N]_crit Critical high output current.
Guenter Roeck649ca822015-06-08 09:56:20 -0700191curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800192curr[N]_max_alarm Output current high alarm.
193curr[N]_crit_alarm Output current critical high alarm.
Guenter Roeck649ca822015-06-08 09:56:20 -0700194curr[N]_lcrit_alarm Output current critical low alarm.
195 LTC2974 and LTC2975 only.
196curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800197curr[N]_highest Highest output current.
198curr[N]_reset_history Reset output current history.