aboutsummaryrefslogtreecommitdiff
path: root/Documentation/hwmon/mp2891.rst
blob: 55944d1b54577a353267e33c9b1b5d82afddf6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
.. SPDX-License-Identifier: GPL-2.0

Kernel driver mp2891
====================

Supported chips:

  * MPS mp2891

    Prefix: 'mp2891'

  * Datasheet

    Publicly available at the MPS website : https://www.monolithicpower.com/en/mp2891.html

Author:

	Noah Wang <noahwang.wang@outlook.com>

Description
-----------

This driver implements support for Monolithic Power Systems, Inc. (MPS)
MP2891 Multi-phase Digital VR Controller.

Device compliant with:

- PMBus rev 1.3 interface.

Device supports direct and linear format for reading input voltage,
output voltage, input current, output current, input power, output
power, and temperature.

The driver exports the following attributes via the 'sysfs' files
for input voltage:

**in1_input**

**in1_label**

**in1_crit**

**in1_crit_alarm**

**in1_lcrit**

**in1_lcrit_alarm**

**in1_min**

**in1_min_alarm**

The driver provides the following attributes for output voltage:

**in2_input**

**in2_label**

**in2_crit**

**in2_crit_alarm**

**in2_lcrit**

**in2_lcrit_alarm**

**in2_min**

**in2_min_alarm**

**in3_input**

**in3_label**

**in3_crit**

**in3_crit_alarm**

**in3_lcrit**

**in3_lcrit_alarm**

**in3_min**

**in3_min_alarm**

The driver provides the following attributes for input current:

**curr1_input**

**curr1_label**

**curr1_max**

**curr1_max_alarm**

**curr2_input**

**curr2_label**

**curr2_max**

**curr2_max_alarm**

The driver provides the following attributes for output current:

**curr3_input**

**curr3_label**

**curr3_crit**

**curr3_crit_alarm**

**curr3_max**

**curr3_max_alarm**

**curr4_input**

**curr4_label**

**curr4_crit**

**curr4_crit_alarm**

**curr4_max**

**curr4_max_alarm**

The driver provides the following attributes for input power:

**power1_input**

**power1_label**

**power1_max**

**power1_alarm**

**power2_input**

**power2_label**

**power2_max**

**power2_alarm**

The driver provides the following attributes for output power:

**power3_input**

**power3_label**

**power4_input**

**power4_label**

The driver provides the following attributes for temperature:

**temp1_input**

**temp1_crit**

**temp1_crit_alarm**

**temp1_max**

**temp1_max_alarm**

**temp2_input**

**temp2_crit**

**temp2_crit_alarm**

**temp2_max**

**temp2_max_alarm**