blob: 521ee8a1135c3f78fd324c8e4a314068dc876a1e [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 Roeck3f08d7f2013-09-23 11:23:37 -070013 * Linear Technology LTC2978, LTC2978A
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070014 Prefix: 'ltc2978'
15 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080016 Datasheet: http://www.linear.com/product/ltc2978
Guenter Roeck3f08d7f2013-09-23 11:23:37 -070017 http://www.linear.com/product/ltc2978a
Guenter Roeckddfb41c2011-09-11 20:31:09 -070018 * Linear Technology LTC3880
19 Prefix: 'ltc3880'
20 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080021 Datasheet: http://www.linear.com/product/ltc3880
Guenter Roeckbf893862015-06-08 10:29:45 -070022 * Linear Technology LTC3882
23 Prefix: 'ltc3882'
24 Addresses scanned: -
25 Datasheet: http://www.linear.com/product/ltc3882
Guenter Roeckfd9175d2013-01-27 09:24:28 -080026 * Linear Technology LTC3883
27 Prefix: 'ltc3883'
28 Addresses scanned: -
29 Datasheet: http://www.linear.com/product/ltc3883
Guenter Roeckf76992b2014-03-05 21:23:01 -080030 * Linear Technology LTM4676
31 Prefix: 'ltm4676'
32 Addresses scanned: -
33 Datasheet: http://www.linear.com/product/ltm4676
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070034
Guenter Roecke3333e52013-02-20 20:58:42 -080035Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070036
37
38Description
39-----------
40
Guenter Roeckbf893862015-06-08 10:29:45 -070041LTC2974 is a quad digital power supply managers.
42LTC2978 is an octal power supply monitor.
43LTC2977 is a pin compatible replacement for LTC2978.
44LTC3880 and LTC3882 are dual output poly-phase step-down DC/DC controllers.
45LTC3883 is a single phase step-down DC/DC controller.
46LTM4676 is a dual 13A or single 26A uModule regulator.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070047
48
49Usage Notes
50-----------
51
52This driver does not probe for PMBus devices. You will have to instantiate
53devices explicitly.
54
55Example: the following commands will load the driver for an LTC2978 at address
560x60 on I2C bus #1:
57
58# modprobe ltc2978
59# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
60
61
62Sysfs attributes
63----------------
64
65in1_label "vin"
66in1_input Measured input voltage.
67in1_min Minimum input voltage.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070068in1_max Maximum input voltage.
69 LTC2974, LTC2977, and LTC2978 only.
70in1_lcrit Critical minimum input voltage.
71 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070072in1_crit Critical maximum input voltage.
73in1_min_alarm Input voltage low alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070074in1_max_alarm Input voltage high alarm.
75 LTC2974, LTC2977, and LTC2978 only.
76in1_lcrit_alarm Input voltage critical low alarm.
77 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070078in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070079in1_lowest Lowest input voltage.
80 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070081in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080082in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070083
Guenter Roeckfd9175d2013-01-27 09:24:28 -080084in[N]_label "vout[1-8]".
85 LTC2974: N=2-5
Guenter Roeckc24c407e2013-09-23 10:56:48 -070086 LTC2977: N=2-9
Guenter Roeckfd9175d2013-01-27 09:24:28 -080087 LTC2978: N=2-9
Guenter Roeckbf893862015-06-08 10:29:45 -070088 LTC3880, LTC3882, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -080089 LTC3883: N=2
90in[N]_input Measured output voltage.
91in[N]_min Minimum output voltage.
92in[N]_max Maximum output voltage.
93in[N]_lcrit Critical minimum output voltage.
94in[N]_crit Critical maximum output voltage.
95in[N]_min_alarm Output voltage low alarm.
96in[N]_max_alarm Output voltage high alarm.
97in[N]_lcrit_alarm Output voltage critical low alarm.
98in[N]_crit_alarm Output voltage critical high alarm.
99in[N]_lowest Lowest output voltage. LTC2974 and LTC2978 only.
100in[N]_highest Highest output voltage.
101in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -0700102
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800103temp[N]_input Measured temperature.
104 On LTC2974, temp[1-4] report external temperatures,
105 and temp5 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700106 On LTC2977 and LTC2978, only one temperature measurement
107 is supported and reports the chip temperature.
Guenter Roeckbf893862015-06-08 10:29:45 -0700108 On LTC3880, LTC3882, and LTM4676, temp1 and temp2
109 report external temperatures, and temp3 reports
110 the chip temperature.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800111 On LTC3883, temp1 reports an external temperature,
112 and temp2 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700113temp[N]_min Mimimum temperature. LTC2974, LCT2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800114temp[N]_max Maximum temperature.
115temp[N]_lcrit Critical low temperature.
116temp[N]_crit Critical high temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700117temp[N]_min_alarm Temperature low alarm.
118 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800119temp[N]_max_alarm Temperature high alarm.
120temp[N]_lcrit_alarm Temperature critical low alarm.
121temp[N]_crit_alarm Temperature critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700122temp[N]_lowest Lowest measured temperature.
123 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800124 Not supported for chip temperature sensor on LTC2974.
125temp[N]_highest Highest measured temperature. Not supported for chip
126 temperature sensor on LTC2974.
127temp[N]_reset_history Reset temperature history. Not supported for chip
128 temperature sensor on LTC2974.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700129
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800130power1_label "pin". LTC3883 only.
131power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700132
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800133power[N]_label "pout[1-4]".
134 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700135 LTC2977: Not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800136 LTC2978: Not supported
Guenter Roeckbf893862015-06-08 10:29:45 -0700137 LTC3880, LTC3882, LTM4676: N=1-2
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800138 LTC3883: N=2
139power[N]_input Measured output power.
140
Guenter Roeckf76992b2014-03-05 21:23:01 -0800141curr1_label "iin". LTC3880, LTC3883, and LTM4676 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700142curr1_input Measured input current.
143curr1_max Maximum input current.
144curr1_max_alarm Input current high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800145curr1_highest Highest input current. LTC3883 only.
146curr1_reset_history Reset input current history. LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700147
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800148curr[N]_label "iout[1-4]".
149 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700150 LTC2977: not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800151 LTC2978: not supported
Guenter Roeckbf893862015-06-08 10:29:45 -0700152 LTC3880, LTC3882, LTM4676: N=2-3
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800153 LTC3883: N=2
154curr[N]_input Measured output current.
155curr[N]_max Maximum output current.
156curr[N]_crit Critical high output current.
157curr[N]_lcrit Critical low output current. LTC2974 only.
158curr[N]_max_alarm Output current high alarm.
159curr[N]_crit_alarm Output current critical high alarm.
160curr[N]_lcrit_alarm Output current critical low alarm. LTC2974 only.
161curr[N]_lowest Lowest output current. LTC2974 only.
162curr[N]_highest Highest output current.
163curr[N]_reset_history Reset output current history.