mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
hwmon: (ltc2978) Add support for LTC2980 and LTM2987
LTC2980 and LTM2987 are command compatible to LTC2977. They consist of two LTC2977 on a single die, and are instantiated as two separate chips, each supporting eight channels. Suggested-by: Michael Jones <[email protected]> Tested-by: Michael Jones <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
acb092cdf9
commit
52aae6af71
4 changed files with 58 additions and 19 deletions
|
|
@ -19,6 +19,10 @@ Supported chips:
|
|||
Addresses scanned: -
|
||||
Datasheet: http://www.linear.com/product/ltc2978
|
||||
http://www.linear.com/product/ltc2978a
|
||||
* Linear Technology LTC2980
|
||||
Prefix: 'ltc2980'
|
||||
Addresses scanned: -
|
||||
Datasheet: http://www.linear.com/product/ltc2980
|
||||
* Linear Technology LTC3880
|
||||
Prefix: 'ltc3880'
|
||||
Addresses scanned: -
|
||||
|
|
@ -35,6 +39,10 @@ Supported chips:
|
|||
Prefix: 'ltc3887'
|
||||
Addresses scanned: -
|
||||
Datasheet: http://www.linear.com/product/ltc3887
|
||||
* Linear Technology LTM2987
|
||||
Prefix: 'ltm2987'
|
||||
Addresses scanned: -
|
||||
Datasheet: http://www.linear.com/product/ltm2987
|
||||
* Linear Technology LTM4676
|
||||
Prefix: 'ltm4676'
|
||||
Addresses scanned: -
|
||||
|
|
@ -49,9 +57,15 @@ Description
|
|||
LTC2974 and LTC2975 are quad digital power supply managers.
|
||||
LTC2978 is an octal power supply monitor.
|
||||
LTC2977 is a pin compatible replacement for LTC2978.
|
||||
LTC2980 is a 16-channel Power System Manager, consisting of two LTC2977
|
||||
in a single die. The chip is instantiated and reported as two separate chips
|
||||
on two different I2C bus addresses.
|
||||
LTC3880, LTC3882, and LTC3887 are dual output poly-phase step-down DC/DC
|
||||
controllers.
|
||||
LTC3883 is a single phase step-down DC/DC controller.
|
||||
LTM2987 is a 16-channel Power System Manager with two LTC2977 plus
|
||||
additional components on a single die. The chip is instantiated and reported
|
||||
as two separate chips on two different I2C bus addresses.
|
||||
LTM4676 is a dual 13A or single 26A uModule regulator.
|
||||
|
||||
|
||||
|
|
@ -75,24 +89,29 @@ in1_label "vin"
|
|||
in1_input Measured input voltage.
|
||||
in1_min Minimum input voltage.
|
||||
in1_max Maximum input voltage.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
|
||||
LTM2987 only.
|
||||
in1_lcrit Critical minimum input voltage.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, 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, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
|
||||
LTM2987 only.
|
||||
in1_lcrit_alarm Input voltage critical low alarm.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTC2980, LTC2978, and
|
||||
LTM2987 only.
|
||||
in1_crit_alarm Input voltage critical high alarm.
|
||||
in1_lowest Lowest input voltage.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
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]".
|
||||
LTC2974, LTC2975: N=2-5
|
||||
LTC2977: N=2-9
|
||||
LTC2977, LTC2980, LTM2987: N=2-9
|
||||
LTC2978: N=2-9
|
||||
LTC3880, LTC3882, LTC3887, LTM4676: N=2-3
|
||||
LTC3883: N=2
|
||||
|
|
@ -113,24 +132,28 @@ in[N]_reset_history Reset output voltage history.
|
|||
temp[N]_input Measured temperature.
|
||||
On LTC2974 and LTC2975, temp[1-4] report external
|
||||
temperatures, and temp5 reports the chip temperature.
|
||||
On LTC2977 and LTC2978, only one temperature measurement
|
||||
is supported and 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, and LTM4676, 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, and LTC2978 only.
|
||||
temp[N]_min Mimimum temperature. LTC2974, LCT2977, LTM2980, LTC2978,
|
||||
and LTM2987 only.
|
||||
temp[N]_max Maximum temperature.
|
||||
temp[N]_lcrit Critical low temperature.
|
||||
temp[N]_crit Critical high temperature.
|
||||
temp[N]_min_alarm Temperature low alarm.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
|
||||
LTM2987 only.
|
||||
temp[N]_max_alarm Temperature high alarm.
|
||||
temp[N]_lcrit_alarm Temperature critical low alarm.
|
||||
temp[N]_crit_alarm Temperature critical high alarm.
|
||||
temp[N]_lowest Lowest measured temperature.
|
||||
LTC2974, LTC2975, LTC2977, and LTC2978 only.
|
||||
LTC2974, LTC2975, LTC2977, LTM2980, LTC2978, and
|
||||
LTM2987 only.
|
||||
Not supported for chip temperature sensor on LTC2974 and
|
||||
LTC2975.
|
||||
temp[N]_highest Highest measured temperature. Not supported for chip
|
||||
|
|
@ -143,7 +166,7 @@ power1_input Measured input power.
|
|||
|
||||
power[N]_label "pout[1-4]".
|
||||
LTC2974, LTC2975: N=1-4
|
||||
LTC2977: Not supported
|
||||
LTC2977, LTC2980, LTM2987: Not supported
|
||||
LTC2978: Not supported
|
||||
LTC3880, LTC3882, LTC3887, LTM4676: N=1-2
|
||||
LTC3883: N=2
|
||||
|
|
@ -158,7 +181,7 @@ curr1_reset_history Reset input current history. LTC3883 only.
|
|||
|
||||
curr[N]_label "iout[1-4]".
|
||||
LTC2974, LTC2975: N=1-4
|
||||
LTC2977: not supported
|
||||
LTC2977, LTC2980, LTM2987: not supported
|
||||
LTC2978: not supported
|
||||
LTC3880, LTC3882, LTC3887, LTM4676: N=2-3
|
||||
LTC3883: N=2
|
||||
|
|
|
|||
Loading…
Reference in a new issue