mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
hwmon: (pmbus/lm25066) Report VAUX as vmon
So far the driver reported the voltage on VAUX as "vout2". This was not entirely appropriate as it is not an output voltage, and complicates the code. Use the new virtual "VMON" register set and report the voltage as "vmon" instead. Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
6bf44cedab
commit
a7c69118bd
2 changed files with 29 additions and 60 deletions
|
|
@ -60,14 +60,14 @@ in1_max Maximum input voltage.
|
|||
in1_min_alarm Input voltage low alarm.
|
||||
in1_max_alarm Input voltage high alarm.
|
||||
|
||||
in2_label "vout1"
|
||||
in2_input Measured output voltage.
|
||||
in2_average Average measured output voltage.
|
||||
in2_min Minimum output voltage.
|
||||
in2_min_alarm Output voltage low alarm.
|
||||
in2_label "vmon"
|
||||
in2_input Measured voltage on VAUX pin
|
||||
|
||||
in3_label "vout2"
|
||||
in3_input Measured voltage on vaux pin
|
||||
in3_label "vout1"
|
||||
in3_input Measured output voltage.
|
||||
in3_average Average measured output voltage.
|
||||
in3_min Minimum output voltage.
|
||||
in3_min_alarm Output voltage low alarm.
|
||||
|
||||
curr1_label "iin"
|
||||
curr1_input Measured input current.
|
||||
|
|
|
|||
Loading…
Reference in a new issue