Commit | Line | Data |
---|---|---|
c3ff9a67 GR |
1 | Kernel driver ltc2978 |
2 | ===================== | |
3 | ||
4 | Supported chips: | |
fd9175d2 GR |
5 | * Linear Technology LTC2974 |
6 | Prefix: 'ltc2974' | |
7 | Addresses scanned: - | |
8 | Datasheet: http://www.linear.com/product/ltc2974 | |
649ca820 GR |
9 | * Linear Technology LTC2975 |
10 | Prefix: 'ltc2975' | |
11 | Addresses scanned: - | |
12 | Datasheet: http://www.linear.com/product/ltc2975 | |
c24c407e GR |
13 | * Linear Technology LTC2977 |
14 | Prefix: 'ltc2977' | |
15 | Addresses scanned: - | |
16 | Datasheet: http://www.linear.com/product/ltc2977 | |
3f08d7f4 | 17 | * Linear Technology LTC2978, LTC2978A |
c3ff9a67 GR |
18 | Prefix: 'ltc2978' |
19 | Addresses scanned: - | |
6d21a416 | 20 | Datasheet: http://www.linear.com/product/ltc2978 |
3f08d7f4 | 21 | http://www.linear.com/product/ltc2978a |
ddfb41ca GR |
22 | * Linear Technology LTC3880 |
23 | Prefix: 'ltc3880' | |
24 | Addresses scanned: - | |
6d21a416 | 25 | Datasheet: http://www.linear.com/product/ltc3880 |
bf89386f GR |
26 | * Linear Technology LTC3882 |
27 | Prefix: 'ltc3882' | |
28 | Addresses scanned: - | |
29 | Datasheet: http://www.linear.com/product/ltc3882 | |
fd9175d2 GR |
30 | * Linear Technology LTC3883 |
31 | Prefix: 'ltc3883' | |
32 | Addresses scanned: - | |
33 | Datasheet: http://www.linear.com/product/ltc3883 | |
15398566 GR |
34 | * Linear Technology LTC3887 |
35 | Prefix: 'ltc3887' | |
36 | Addresses scanned: - | |
37 | Datasheet: http://www.linear.com/product/ltc3887 | |
f76992b0 GR |
38 | * Linear Technology LTM4676 |
39 | Prefix: 'ltm4676' | |
40 | Addresses scanned: - | |
41 | Datasheet: http://www.linear.com/product/ltm4676 | |
c3ff9a67 | 42 | |
e3333e57 | 43 | Author: Guenter Roeck <linux@roeck-us.net> |
c3ff9a67 GR |
44 | |
45 | ||
46 | Description | |
47 | ----------- | |
48 | ||
649ca820 | 49 | LTC2974 and LTC2975 are quad digital power supply managers. |
bf89386f GR |
50 | LTC2978 is an octal power supply monitor. |
51 | LTC2977 is a pin compatible replacement for LTC2978. | |
15398566 GR |
52 | LTC3880, LTC3882, and LTC3887 are dual output poly-phase step-down DC/DC |
53 | controllers. | |
bf89386f GR |
54 | LTC3883 is a single phase step-down DC/DC controller. |
55 | LTM4676 is a dual 13A or single 26A uModule regulator. | |
c3ff9a67 GR |
56 | |
57 | ||
58 | Usage Notes | |
59 | ----------- | |
60 | ||
61 | This driver does not probe for PMBus devices. You will have to instantiate | |
62 | devices explicitly. | |
63 | ||
64 | Example: the following commands will load the driver for an LTC2978 at address | |
65 | 0x60 on I2C bus #1: | |
66 | ||
67 | # modprobe ltc2978 | |
68 | # echo ltc2978 0x60 > /sys/bus/i2c/devices/i2c-1/new_device | |
69 | ||
70 | ||
71 | Sysfs attributes | |
72 | ---------------- | |
73 | ||
74 | in1_label "vin" | |
75 | in1_input Measured input voltage. | |
76 | in1_min Minimum input voltage. | |
c24c407e | 77 | in1_max Maximum input voltage. |
649ca820 | 78 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
c24c407e | 79 | in1_lcrit Critical minimum input voltage. |
649ca820 | 80 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
c3ff9a67 GR |
81 | in1_crit Critical maximum input voltage. |
82 | in1_min_alarm Input voltage low alarm. | |
c24c407e | 83 | in1_max_alarm Input voltage high alarm. |
649ca820 | 84 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
c24c407e | 85 | in1_lcrit_alarm Input voltage critical low alarm. |
649ca820 | 86 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
c3ff9a67 | 87 | in1_crit_alarm Input voltage critical high alarm. |
c24c407e | 88 | in1_lowest Lowest input voltage. |
649ca820 | 89 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
c3ff9a67 | 90 | in1_highest Highest input voltage. |
8c770f3a | 91 | in1_reset_history Reset input voltage history. |
c3ff9a67 | 92 | |
fd9175d2 | 93 | in[N]_label "vout[1-8]". |
649ca820 | 94 | LTC2974, LTC2975: N=2-5 |
c24c407e | 95 | LTC2977: N=2-9 |
fd9175d2 | 96 | LTC2978: N=2-9 |
15398566 | 97 | LTC3880, LTC3882, LTC3887, LTM4676: N=2-3 |
fd9175d2 GR |
98 | LTC3883: N=2 |
99 | in[N]_input Measured output voltage. | |
100 | in[N]_min Minimum output voltage. | |
101 | in[N]_max Maximum output voltage. | |
102 | in[N]_lcrit Critical minimum output voltage. | |
103 | in[N]_crit Critical maximum output voltage. | |
104 | in[N]_min_alarm Output voltage low alarm. | |
105 | in[N]_max_alarm Output voltage high alarm. | |
106 | in[N]_lcrit_alarm Output voltage critical low alarm. | |
107 | in[N]_crit_alarm Output voltage critical high alarm. | |
649ca820 GR |
108 | in[N]_lowest Lowest output voltage. LTC2974, LTC2975, |
109 | and LTC2978 only. | |
fd9175d2 GR |
110 | in[N]_highest Highest output voltage. |
111 | in[N]_reset_history Reset output voltage history. | |
112 | ||
113 | temp[N]_input Measured temperature. | |
649ca820 GR |
114 | On LTC2974 and LTC2975, temp[1-4] report external |
115 | temperatures, and temp5 reports the chip temperature. | |
c24c407e GR |
116 | On LTC2977 and LTC2978, only one temperature measurement |
117 | is supported and reports the chip temperature. | |
15398566 GR |
118 | On LTC3880, LTC3882, LTC3887, and LTM4676, temp1 and |
119 | temp2 report external temperatures, and temp3 reports | |
bf89386f | 120 | the chip temperature. |
fd9175d2 GR |
121 | On LTC3883, temp1 reports an external temperature, |
122 | and temp2 reports the chip temperature. | |
c24c407e | 123 | temp[N]_min Mimimum temperature. LTC2974, LCT2977, and LTC2978 only. |
fd9175d2 GR |
124 | temp[N]_max Maximum temperature. |
125 | temp[N]_lcrit Critical low temperature. | |
126 | temp[N]_crit Critical high temperature. | |
c24c407e | 127 | temp[N]_min_alarm Temperature low alarm. |
649ca820 | 128 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
fd9175d2 GR |
129 | temp[N]_max_alarm Temperature high alarm. |
130 | temp[N]_lcrit_alarm Temperature critical low alarm. | |
131 | temp[N]_crit_alarm Temperature critical high alarm. | |
c24c407e | 132 | temp[N]_lowest Lowest measured temperature. |
649ca820 GR |
133 | LTC2974, LTC2975, LTC2977, and LTC2978 only. |
134 | Not supported for chip temperature sensor on LTC2974 and | |
135 | LTC2975. | |
fd9175d2 | 136 | temp[N]_highest Highest measured temperature. Not supported for chip |
649ca820 | 137 | temperature sensor on LTC2974 and LTC2975. |
fd9175d2 | 138 | temp[N]_reset_history Reset temperature history. Not supported for chip |
649ca820 | 139 | temperature sensor on LTC2974 and LTC2975. |
fd9175d2 GR |
140 | |
141 | power1_label "pin". LTC3883 only. | |
142 | power1_input Measured input power. | |
143 | ||
144 | power[N]_label "pout[1-4]". | |
649ca820 | 145 | LTC2974, LTC2975: N=1-4 |
c24c407e | 146 | LTC2977: Not supported |
fd9175d2 | 147 | LTC2978: Not supported |
15398566 | 148 | LTC3880, LTC3882, LTC3887, LTM4676: N=1-2 |
fd9175d2 GR |
149 | LTC3883: N=2 |
150 | power[N]_input Measured output power. | |
151 | ||
15398566 | 152 | curr1_label "iin". LTC3880, LTC3883, LTC3887, and LTM4676 only. |
ddfb41ca GR |
153 | curr1_input Measured input current. |
154 | curr1_max Maximum input current. | |
155 | curr1_max_alarm Input current high alarm. | |
fd9175d2 GR |
156 | curr1_highest Highest input current. LTC3883 only. |
157 | curr1_reset_history Reset input current history. LTC3883 only. | |
158 | ||
159 | curr[N]_label "iout[1-4]". | |
649ca820 | 160 | LTC2974, LTC2975: N=1-4 |
c24c407e | 161 | LTC2977: not supported |
fd9175d2 | 162 | LTC2978: not supported |
15398566 | 163 | LTC3880, LTC3882, LTC3887, LTM4676: N=2-3 |
fd9175d2 GR |
164 | LTC3883: N=2 |
165 | curr[N]_input Measured output current. | |
166 | curr[N]_max Maximum output current. | |
167 | curr[N]_crit Critical high output current. | |
649ca820 | 168 | curr[N]_lcrit Critical low output current. LTC2974 and LTC2975 only. |
fd9175d2 GR |
169 | curr[N]_max_alarm Output current high alarm. |
170 | curr[N]_crit_alarm Output current critical high alarm. | |
649ca820 GR |
171 | curr[N]_lcrit_alarm Output current critical low alarm. |
172 | LTC2974 and LTC2975 only. | |
173 | curr[N]_lowest Lowest output current. LTC2974 and LTC2975 only. | |
fd9175d2 GR |
174 | curr[N]_highest Highest output current. |
175 | curr[N]_reset_history Reset output current history. |