blob: dc0d08c61305469305d86f2f3cd04a32fa2e56c6 [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 Roeckc3ff9a62011-09-02 09:58:37 -07009 * Linear Technology LTC2978
10 Prefix: 'ltc2978'
11 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080012 Datasheet: http://www.linear.com/product/ltc2978
Guenter Roeckddfb41c2011-09-11 20:31:09 -070013 * Linear Technology LTC3880
14 Prefix: 'ltc3880'
15 Addresses scanned: -
Guenter Roeck6d21a412013-01-27 09:36:36 -080016 Datasheet: http://www.linear.com/product/ltc3880
Guenter Roeckfd9175d2013-01-27 09:24:28 -080017 * Linear Technology LTC3883
18 Prefix: 'ltc3883'
19 Addresses scanned: -
20 Datasheet: http://www.linear.com/product/ltc3883
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070021
Guenter Roecke3333e52013-02-20 20:58:42 -080022Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070023
24
25Description
26-----------
27
Guenter Roeckfd9175d2013-01-27 09:24:28 -080028LTC2974 is a quad digital power supply manager. LTC2978 is an octal power supply
29monitor. LTC3880 is a dual output poly-phase step-down DC/DC controller. LTC3883
30is a single phase step-down DC/DC controller.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070031
32
33Usage Notes
34-----------
35
36This driver does not probe for PMBus devices. You will have to instantiate
37devices explicitly.
38
39Example: the following commands will load the driver for an LTC2978 at address
400x60 on I2C bus #1:
41
42# modprobe ltc2978
43# echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
44
45
46Sysfs attributes
47----------------
48
49in1_label "vin"
50in1_input Measured input voltage.
51in1_min Minimum input voltage.
Guenter Roeckfd9175d2013-01-27 09:24:28 -080052in1_max Maximum input voltage. LTC2974 and LTC2978 only.
53in1_lcrit Critical minimum input voltage. LTC2974 and LTC2978
54 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070055in1_crit Critical maximum input voltage.
56in1_min_alarm Input voltage low alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -080057in1_max_alarm Input voltage high alarm. LTC2974 and LTC2978 only.
58in1_lcrit_alarm Input voltage critical low alarm. LTC2974 and LTC2978
59 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070060in1_crit_alarm Input voltage critical high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -080061in1_lowest Lowest input voltage. LTC2974 and LTC2978 only.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070062in1_highest Highest input voltage.
Guenter Roeck8c770f32013-02-22 07:52:39 -080063in1_reset_history Reset input voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070064
Guenter Roeckfd9175d2013-01-27 09:24:28 -080065in[N]_label "vout[1-8]".
66 LTC2974: N=2-5
67 LTC2978: N=2-9
68 LTC3880: N=2-3
69 LTC3883: N=2
70in[N]_input Measured output voltage.
71in[N]_min Minimum output voltage.
72in[N]_max Maximum output voltage.
73in[N]_lcrit Critical minimum output voltage.
74in[N]_crit Critical maximum output voltage.
75in[N]_min_alarm Output voltage low alarm.
76in[N]_max_alarm Output voltage high alarm.
77in[N]_lcrit_alarm Output voltage critical low alarm.
78in[N]_crit_alarm Output voltage critical high alarm.
79in[N]_lowest Lowest output voltage. LTC2974 and LTC2978 only.
80in[N]_highest Highest output voltage.
81in[N]_reset_history Reset output voltage history.
Guenter Roeckc3ff9a62011-09-02 09:58:37 -070082
Guenter Roeckfd9175d2013-01-27 09:24:28 -080083temp[N]_input Measured temperature.
84 On LTC2974, temp[1-4] report external temperatures,
85 and temp5 reports the chip temperature.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070086 On LTC2978, only one temperature measurement is
Guenter Roeck8c770f32013-02-22 07:52:39 -080087 supported and reports the chip temperature.
Guenter Roeckddfb41c2011-09-11 20:31:09 -070088 On LTC3880, temp1 and temp2 report external
Guenter Roeckfd9175d2013-01-27 09:24:28 -080089 temperatures, and temp3 reports the chip temperature.
90 On LTC3883, temp1 reports an external temperature,
91 and temp2 reports the chip temperature.
92temp[N]_min Mimimum temperature. LTC2974 and LTC2978 only.
93temp[N]_max Maximum temperature.
94temp[N]_lcrit Critical low temperature.
95temp[N]_crit Critical high temperature.
96temp[N]_min_alarm Temperature low alarm. LTC2974 and LTC2978 only.
97temp[N]_max_alarm Temperature high alarm.
98temp[N]_lcrit_alarm Temperature critical low alarm.
99temp[N]_crit_alarm Temperature critical high alarm.
100temp[N]_lowest Lowest measured temperature. LTC2974 and LTC2978 only.
101 Not supported for chip temperature sensor on LTC2974.
102temp[N]_highest Highest measured temperature. Not supported for chip
103 temperature sensor on LTC2974.
104temp[N]_reset_history Reset temperature history. Not supported for chip
105 temperature sensor on LTC2974.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700106
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800107power1_label "pin". LTC3883 only.
108power1_input Measured input power.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700109
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800110power[N]_label "pout[1-4]".
111 LTC2974: N=1-4
112 LTC2978: Not supported
113 LTC3880: N=1-2
114 LTC3883: N=2
115power[N]_input Measured output power.
116
117curr1_label "iin". LTC3880 and LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700118curr1_input Measured input current.
119curr1_max Maximum input current.
120curr1_max_alarm Input current high alarm.
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800121curr1_highest Highest input current. LTC3883 only.
122curr1_reset_history Reset input current history. LTC3883 only.
Guenter Roeckddfb41c2011-09-11 20:31:09 -0700123
Guenter Roeckfd9175d2013-01-27 09:24:28 -0800124curr[N]_label "iout[1-4]".
125 LTC2974: N=1-4
126 LTC2978: not supported
127 LTC3880: N=2-3
128 LTC3883: N=2
129curr[N]_input Measured output current.
130curr[N]_max Maximum output current.
131curr[N]_crit Critical high output current.
132curr[N]_lcrit Critical low output current. LTC2974 only.
133curr[N]_max_alarm Output current high alarm.
134curr[N]_crit_alarm Output current critical high alarm.
135curr[N]_lcrit_alarm Output current critical low alarm. LTC2974 only.
136curr[N]_lowest Lowest output current. LTC2974 only.
137curr[N]_highest Highest output current.
138curr[N]_reset_history Reset output current history.