blob: a0546fc42273bb7fcdad6389c7afcdded4171ec2 [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 Roeckfd9175d2013-01-27 09:24:28 -080022 * Linear Technology LTC3883
23 Prefix: 'ltc3883'
24 Addresses scanned: -
25 Datasheet: http://www.linear.com/product/ltc3883
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070026
Guenter Roecke3333e52013-02-20 20:58:42 -080027Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070028
29
30Description
31-----------
32
Guenter Roeckfd9175d2013-01-27 09:24:28 -080033LTC2974 is a quad digital power supply manager. LTC2978 is an octal power supply
Guenter Roeckc24c407e2013-09-23 10:56:48 -070034monitor. LTC2977 is a pin compatible replacement for LTC2978. LTC3880 is a dual
35output poly-phase step-down DC/DC controller. LTC3883 is a single phase
36step-down DC/DC controller.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070037
38
39Usage Notes
40-----------
41
42This driver does not probe for PMBus devices. You will have to instantiate
43devices explicitly.
44
45Example: the following commands will load the driver for an LTC2978 at address
460x60 on I2C bus #1:
47
48# modprobe ltc2978
49# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
50
51
52Sysfs attributes
53----------------
54
55in1_label "vin"
56in1_input Measured input voltage.
57in1_min Minimum input voltage.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070058in1_max Maximum input voltage.
59 LTC2974, LTC2977, and LTC2978 only.
60in1_lcrit Critical minimum input voltage.
61 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070062in1_crit Critical maximum input voltage.
63in1_min_alarm Input voltage low alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070064in1_max_alarm Input voltage high alarm.
65 LTC2974, LTC2977, and LTC2978 only.
66in1_lcrit_alarm Input voltage critical low alarm.
67 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070068in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070069in1_lowest Lowest input voltage.
70 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070071in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080072in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070073
Guenter Roeckfd9175d2013-01-27 09:24:28 -080074in[N]_label "vout[1-8]".
75 LTC2974: N=2-5
Guenter Roeckc24c407e2013-09-23 10:56:48 -070076 LTC2977: N=2-9
Guenter Roeckfd9175d2013-01-27 09:24:28 -080077 LTC2978: N=2-9
78 LTC3880: N=2-3
79 LTC3883: N=2
80in[N]_input Measured output voltage.
81in[N]_min Minimum output voltage.
82in[N]_max Maximum output voltage.
83in[N]_lcrit Critical minimum output voltage.
84in[N]_crit Critical maximum output voltage.
85in[N]_min_alarm Output voltage low alarm.
86in[N]_max_alarm Output voltage high alarm.
87in[N]_lcrit_alarm Output voltage critical low alarm.
88in[N]_crit_alarm Output voltage critical high alarm.
89in[N]_lowest Lowest output voltage. LTC2974 and LTC2978 only.
90in[N]_highest Highest output voltage.
91in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070092
Guenter Roeckfd9175d2013-01-27 09:24:28 -080093temp[N]_input Measured temperature.
94 On LTC2974, temp[1-4] report external temperatures,
95 and temp5 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -070096 On LTC2977 and LTC2978, only one temperature measurement
97 is supported and reports the chip temperature.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070098 On LTC3880, temp1 and temp2 report external
Guenter Roeckfd9175d2013-01-27 09:24:28 -080099 temperatures, and temp3 reports the chip temperature.
100 On LTC3883, temp1 reports an external temperature,
101 and temp2 reports the chip temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700102temp[N]_min Mimimum temperature. LTC2974, LCT2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800103temp[N]_max Maximum temperature.
104temp[N]_lcrit Critical low temperature.
105temp[N]_crit Critical high temperature.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700106temp[N]_min_alarm Temperature low alarm.
107 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800108temp[N]_max_alarm Temperature high alarm.
109temp[N]_lcrit_alarm Temperature critical low alarm.
110temp[N]_crit_alarm Temperature critical high alarm.
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700111temp[N]_lowest Lowest measured temperature.
112 LTC2974, LTC2977, and LTC2978 only.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800113 Not supported for chip temperature sensor on LTC2974.
114temp[N]_highest Highest measured temperature. Not supported for chip
115 temperature sensor on LTC2974.
116temp[N]_reset_history Reset temperature history. Not supported for chip
117 temperature sensor on LTC2974.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700118
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800119power1_label "pin". LTC3883 only.
120power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700121
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800122power[N]_label "pout[1-4]".
123 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700124 LTC2977: Not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800125 LTC2978: Not supported
126 LTC3880: N=1-2
127 LTC3883: N=2
128power[N]_input Measured output power.
129
130curr1_label "iin". LTC3880 and LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700131curr1_input Measured input current.
132curr1_max Maximum input current.
133curr1_max_alarm Input current high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800134curr1_highest Highest input current. LTC3883 only.
135curr1_reset_history Reset input current history. LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700136
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800137curr[N]_label "iout[1-4]".
138 LTC2974: N=1-4
Guenter Roeckc24c407e2013-09-23 10:56:48 -0700139 LTC2977: not supported
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800140 LTC2978: not supported
141 LTC3880: N=2-3
142 LTC3883: N=2
143curr[N]_input Measured output current.
144curr[N]_max Maximum output current.
145curr[N]_crit Critical high output current.
146curr[N]_lcrit Critical low output current. LTC2974 only.
147curr[N]_max_alarm Output current high alarm.
148curr[N]_crit_alarm Output current critical high alarm.
149curr[N]_lcrit_alarm Output current critical low alarm. LTC2974 only.
150curr[N]_lowest Lowest output current. LTC2974 only.
151curr[N]_highest Highest output current.
152curr[N]_reset_history Reset output current history.