blob: dcb10be36e7f78702d188fb5d7d76d938d9e73fa [file] [log] [blame]
Guenter Roeckc3ff9a62011-09-02 09:58:37 -07001Kernel driver ltc2978
2=====================
3
4Supported chips:
5 * Linear Technology LTC2978
6 Prefix: 'ltc2978'
7 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -08008 Datasheet: http://www.linear.com/product/ltc2978
Guenter Roeckddfb41c2011-09-11 20:31:09 -07009 * Linear Technology LTC3880
10 Prefix: 'ltc3880'
11 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080012 Datasheet: http://www.linear.com/product/ltc3880
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070013
Guenter Roecke3333e52013-02-20 20:58:42 -080014Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070015
16
17Description
18-----------
19
20The LTC2978 is an octal power supply monitor, supervisor, sequencer and
Guenter Roeckddfb41c2011-09-11 20:31:09 -070021margin controller. The LTC3880 is a dual, PolyPhase DC/DC synchronous
22step-down switching regulator controller.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070023
24
25Usage Notes
26-----------
27
28This driver does not probe for PMBus devices. You will have to instantiate
29devices explicitly.
30
31Example: the following commands will load the driver for an LTC2978 at address
320x60 on I2C bus #1:
33
34# modprobe ltc2978
35# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
36
37
38Sysfs attributes
39----------------
40
41in1_label "vin"
42in1_input Measured input voltage.
43in1_min Minimum input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080044in1_max Maximum input voltage. LTC2978 only.
45in1_lcrit Critical minimum input voltage. LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070046in1_crit Critical maximum input voltage.
47in1_min_alarm Input voltage low alarm.
Guenter Roeck8c770f32013-02-22 07:52:39 -080048in1_max_alarm Input voltage high alarm. LTC2978 only.
49in1_lcrit_alarm Input voltage critical low alarm. LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070050in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070051in1_lowest Lowest input voltage. LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070052in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080053in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070054
Guenter Roeckddfb41c2011-09-11 20:31:09 -070055in[2-9]_label "vout[1-8]". Channels 3 to 9 on LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070056in[2-9]_input Measured output voltage.
57in[2-9]_min Minimum output voltage.
58in[2-9]_max Maximum output voltage.
59in[2-9]_lcrit Critical minimum output voltage.
60in[2-9]_crit Critical maximum output voltage.
61in[2-9]_min_alarm Output voltage low alarm.
62in[2-9]_max_alarm Output voltage high alarm.
63in[2-9]_lcrit_alarm Output voltage critical low alarm.
64in[2-9]_crit_alarm Output voltage critical high alarm.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070065in[2-9]_lowest Lowest output voltage. LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070066in[2-9]_highest Lowest output voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080067in[2-9]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070068
Guenter Roeckddfb41c2011-09-11 20:31:09 -070069temp[1-3]_input Measured temperature.
70 On LTC2978, only one temperature measurement is
Guenter Roeck8c770f32013-02-22 07:52:39 -080071 supported and reports the chip temperature.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070072 On LTC3880, temp1 and temp2 report external
Guenter Roeck8c770f32013-02-22 07:52:39 -080073 temperatures, and temp3 reports the chip
Guenter Roeckddfb41c2011-09-11 20:31:09 -070074 temperature.
Guenter Roeck8c770f32013-02-22 07:52:39 -080075temp[1-3]_min Mimimum temperature. LTC2978 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070076temp[1-3]_max Maximum temperature.
77temp[1-3]_lcrit Critical low temperature.
78temp[1-3]_crit Critical high temperature.
Guenter Roeck8c770f32013-02-22 07:52:39 -080079temp[1-3]_min_alarm Temperature low alarm. LTC2978 only.
80temp[1-3]_max_alarm Temperature high alarm.
81temp[1-3]_lcrit_alarm Temperature critical low alarm.
82temp[1-3]_crit_alarm Temperature critical high alarm.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070083temp[1-3]_lowest Lowest measured temperature. LTC2978 only.
84temp[1-3]_highest Highest measured temperature.
Guenter Roeck8c770f32013-02-22 07:52:39 -080085temp[1-3]_reset_history Reset temperature history.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070086
87power[1-2]_label "pout[1-2]". LTC3880 only.
88power[1-2]_input Measured power.
89
90curr1_label "iin". LTC3880 only.
91curr1_input Measured input current.
92curr1_max Maximum input current.
93curr1_max_alarm Input current high alarm.
94
95curr[2-3]_label "iout[1-2]". LTC3880 only.
Guenter Roeck8c770f32013-02-22 07:52:39 -080096curr[2-3]_input Measured output current.
97curr[2-3]_max Maximum output current.
98curr[2-3]_crit Critical output current.
99curr[2-3]_max_alarm Output current high alarm.
100curr[2-3]_crit_alarm Output current critical high alarm.