-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (pmbus/ltc2978) add support for more parts.
LTC2972, LTC2979, LTC3884, LTC3889, LTC7880, LTM4664, LTM4677, LTM4678, LTM4680, LTM4700. Signed-off-by: Mike Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Fixed checkpatch issues (long lines, whitespace)] Signed-off-by: Guenter Roeck <[email protected]>
- Loading branch information
Showing
3 changed files
with
228 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,14 @@ Kernel driver ltc2978 | |
|
||
Supported chips: | ||
|
||
* Linear Technology LTC2972 | ||
|
||
Prefix: 'ltc2972' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltc2972.html | ||
|
||
* Linear Technology LTC2974 | ||
|
||
Prefix: 'ltc2974' | ||
|
@@ -37,6 +45,14 @@ Supported chips: | |
|
||
https://www.analog.com/en/products/ltc2978a | ||
|
||
* Linear Technology LTC2979 | ||
|
||
Prefix: 'ltc2979' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltc2979 | ||
|
||
* Linear Technology LTC2980 | ||
|
||
Prefix: 'ltc2980' | ||
|
@@ -69,6 +85,14 @@ Supported chips: | |
|
||
Datasheet: https://www.analog.com/en/products/ltc3883 | ||
|
||
* Linear Technology LTC3884 | ||
|
||
Prefix: 'ltc3884' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltc3884 | ||
|
||
* Linear Technology LTC3886 | ||
|
||
Prefix: 'ltc3886' | ||
|
@@ -85,6 +109,22 @@ Supported chips: | |
|
||
Datasheet: https://www.analog.com/en/products/ltc3887 | ||
|
||
* Linear Technology LTC3889 | ||
|
||
Prefix: 'ltc3889' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltc3889 | ||
|
||
* Linear Technology LTC7880 | ||
|
||
Prefix: 'ltc7880' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltc7880 | ||
|
||
* Linear Technology LTM2987 | ||
|
||
Prefix: 'ltm2987' | ||
|
@@ -93,7 +133,15 @@ Supported chips: | |
|
||
Datasheet: https://www.analog.com/en/products/ltm2987 | ||
|
||
* Linear Technology LTM4675 | ||
* Linear Technology LTM4644 | ||
|
||
Prefix: 'ltm4644' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltm4644 | ||
|
||
* Linear Technology LTM4675 | ||
|
||
Prefix: 'ltm4675' | ||
|
||
|
@@ -109,6 +157,30 @@ Supported chips: | |
|
||
Datasheet: https://www.analog.com/en/products/ltm4676 | ||
|
||
* Linear Technology LTM4677 | ||
|
||
Prefix: 'ltm4677' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltm4677 | ||
|
||
* Linear Technology LTM4678 | ||
|
||
Prefix: 'ltm4678' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://www.analog.com/en/products/ltm4678 | ||
|
||
* Analog Devices LTM4680 | ||
|
||
Prefix: 'ltm4680' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: http://www.analog.com/ltm4680 | ||
|
||
* Analog Devices LTM4686 | ||
|
||
Prefix: 'ltm4686' | ||
|
@@ -117,6 +189,15 @@ Supported chips: | |
|
||
Datasheet: http://www.analog.com/ltm4686 | ||
|
||
* Analog Devices LTM4700 | ||
|
||
Prefix: 'ltm4700' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: http://www.analog.com/ltm4700 | ||
|
||
|
||
|
||
Author: Guenter Roeck <[email protected]> | ||
|
||
|
@@ -166,43 +247,48 @@ in1_min Minimum input voltage. | |
|
||
in1_max Maximum input voltage. | ||
|
||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, | ||
LTC2979 and LTM2987 only. | ||
|
||
in1_lcrit Critical minimum input voltage. | ||
|
||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, | ||
LTC2979 and LTM2987 only. | ||
|
||
in1_crit Critical maximum input voltage. | ||
|
||
in1_min_alarm Input voltage low alarm. | ||
|
||
in1_max_alarm Input voltage high alarm. | ||
|
||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, | ||
LTC2979 and LTM2987 only. | ||
|
||
in1_lcrit_alarm Input voltage critical low alarm. | ||
|
||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, | ||
LTC2979 and LTM2987 only. | ||
|
||
in1_crit_alarm Input voltage critical high alarm. | ||
|
||
in1_lowest Lowest input voltage. | ||
|
||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2972, LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, | ||
and LTM2987 only. | ||
|
||
in1_highest Highest input voltage. | ||
|
||
in1_reset_history Reset input voltage history. | ||
|
||
in[N]_label "vout[1-8]". | ||
|
||
- LTC2972: N=2-3 | ||
- LTC2974, LTC2975: N=2-5 | ||
- LTC2977, LTC2980, LTM2987: N=2-9 | ||
- LTC2977, LTC2979, LTC2980, LTM2987: N=2-9 | ||
- LTC2978: N=2-9 | ||
- LTC3880, LTC3882, LTC23886 LTC3887, LTM4675, LTM4676: | ||
N=2-3 | ||
- LTC3880, LTC3882, LTC3884, LTC23886 LTC3887, LTC3889, | ||
LTC7880, LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, | ||
LTM4680, LTM4700: N=2-3 | ||
- LTC3883: N=2 | ||
|
||
in[N]_input Measured output voltage. | ||
|
@@ -225,29 +311,32 @@ in[N]_crit_alarm Output voltage critical high alarm. | |
|
||
in[N]_lowest Lowest output voltage. | ||
|
||
|
||
LTC2974, LTC2975,and LTC2978 only. | ||
LTC2972, LTC2974, LTC2975,and LTC2978 only. | ||
|
||
in[N]_highest Highest output voltage. | ||
|
||
in[N]_reset_history Reset output voltage history. | ||
|
||
temp[N]_input Measured temperature. | ||
|
||
- On LTC2972, temp[1-2] report external temperatures, | ||
and temp 3 reports the chip temperature. | ||
- On LTC2974 and LTC2975, temp[1-4] report external | ||
temperatures, and temp5 reports the chip temperature. | ||
- On LTC2977, LTC2980, LTC2978, and LTM2987, only one | ||
temperature measurement is supported and reports | ||
the chip temperature. | ||
- On LTC3880, LTC3882, LTC3887, LTM4675, and LTM4676, | ||
temp1 and temp2 report external temperatures, and | ||
temp3 reports the chip temperature. | ||
- On LTC2977, LTC2979, LTC2980, LTC2978, and LTM2987, | ||
only one temperature measurement is supported and | ||
reports the chip temperature. | ||
- On LTC3880, LTC3882, LTC3886, LTC3887, LTC3889, | ||
LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | ||
and LTM4700, temp1 and temp2 report external | ||
temperatures, and temp3 reports the chip temperature. | ||
- On LTC3883, temp1 reports an external temperature, | ||
and temp2 reports the chip temperature. | ||
|
||
temp[N]_min Mimimum temperature. | ||
|
||
LTC2974, LCT2977, LTM2980, LTC2978, and LTM2987 only. | ||
LTC2972, LTC2974, LCT2977, LTM2980, LTC2978, | ||
LTC2979, and LTM2987 only. | ||
|
||
temp[N]_max Maximum temperature. | ||
|
||
|
@@ -257,8 +346,8 @@ temp[N]_crit Critical high temperature. | |
|
||
temp[N]_min_alarm Temperature low alarm. | ||
|
||
LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and | ||
LTM2987 only. | ||
LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, | ||
LTC2979, and LTM2987 only. | ||
|
||
temp[N]_max_alarm Temperature high alarm. | ||
|
||
|
@@ -269,8 +358,8 @@ temp[N]_crit_alarm Temperature critical high alarm. | |
|
||
temp[N]_lowest Lowest measured temperature. | ||
|
||
- LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and | ||
LTM2987 only. | ||
- LTC2972, LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, | ||
LTC2979, and LTM2987 only. | ||
- Not supported for chip temperature sensor on LTC2974 | ||
and LTC2975. | ||
|
||
|
@@ -290,19 +379,22 @@ power1_input Measured input power. | |
|
||
power[N]_label "pout[1-4]". | ||
|
||
- LTC2972: N=1-2 | ||
- LTC2974, LTC2975: N=1-4 | ||
- LTC2977, LTC2980, LTM2987: Not supported | ||
- LTC2977, LTC2979, LTC2980, LTM2987: Not supported | ||
- LTC2978: Not supported | ||
- LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676: | ||
N=1-2 | ||
- LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889, | ||
LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | ||
LTM4700: N=1-2 | ||
- LTC3883: N=2 | ||
|
||
power[N]_input Measured output power. | ||
|
||
curr1_label "iin". | ||
|
||
LTC3880, LTC3883, LTC3886, LTC3887, LTM4675, | ||
and LTM4676 only. | ||
LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889, | ||
LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | ||
and LTM4700 only. | ||
|
||
curr1_input Measured input current. | ||
|
||
|
@@ -320,11 +412,13 @@ curr1_reset_history Reset input current history. | |
|
||
curr[N]_label "iout[1-4]". | ||
|
||
- LTC2972: N-1-2 | ||
- LTC2974, LTC2975: N=1-4 | ||
- LTC2977, LTC2980, LTM2987: not supported | ||
- LTC2977, LTC2979, LTC2980, LTM2987: not supported | ||
- LTC2978: not supported | ||
- LTC3880, LTC3882, LTC3886, LTC3887, LTM4675, LTM4676: | ||
N=2-3 | ||
- LTC3880, LTC3882, LTC3884, LTC3886, LTC3887, LTC3889, | ||
LTM4664, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680, | ||
LTM4700: N=2-3 | ||
- LTC3883: N=2 | ||
|
||
curr[N]_input Measured output current. | ||
|
@@ -335,19 +429,19 @@ curr[N]_crit Critical high output current. | |
|
||
curr[N]_lcrit Critical low output current. | ||
|
||
LTC2974 and LTC2975 only. | ||
LTC2972, LTC2974 and LTC2975 only. | ||
|
||
curr[N]_max_alarm Output current high alarm. | ||
|
||
curr[N]_crit_alarm Output current critical high alarm. | ||
|
||
curr[N]_lcrit_alarm Output current critical low alarm. | ||
|
||
LTC2974 and LTC2975 only. | ||
LTC2972, LTC2974 and LTC2975 only. | ||
|
||
curr[N]_lowest Lowest output current. | ||
|
||
LTC2974 and LTC2975 only. | ||
LTC2972, LTC2974 and LTC2975 only. | ||
|
||
curr[N]_highest Highest output current. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.