drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / Documentation / hwmon / mp2891.rst
blob55944d1b54577a353267e33c9b1b5d82afddf6f5
1 .. SPDX-License-Identifier: GPL-2.0
3 Kernel driver mp2891
4 ====================
6 Supported chips:
8   * MPS mp2891
10     Prefix: 'mp2891'
12   * Datasheet
14     Publicly available at the MPS website : https://www.monolithicpower.com/en/mp2891.html
16 Author:
18         Noah Wang <noahwang.wang@outlook.com>
20 Description
21 -----------
23 This driver implements support for Monolithic Power Systems, Inc. (MPS)
24 MP2891 Multi-phase Digital VR Controller.
26 Device compliant with:
28 - PMBus rev 1.3 interface.
30 Device supports direct and linear format for reading input voltage,
31 output voltage, input current, output current, input power, output
32 power, and temperature.
34 The driver exports the following attributes via the 'sysfs' files
35 for input voltage:
37 **in1_input**
39 **in1_label**
41 **in1_crit**
43 **in1_crit_alarm**
45 **in1_lcrit**
47 **in1_lcrit_alarm**
49 **in1_min**
51 **in1_min_alarm**
53 The driver provides the following attributes for output voltage:
55 **in2_input**
57 **in2_label**
59 **in2_crit**
61 **in2_crit_alarm**
63 **in2_lcrit**
65 **in2_lcrit_alarm**
67 **in2_min**
69 **in2_min_alarm**
71 **in3_input**
73 **in3_label**
75 **in3_crit**
77 **in3_crit_alarm**
79 **in3_lcrit**
81 **in3_lcrit_alarm**
83 **in3_min**
85 **in3_min_alarm**
87 The driver provides the following attributes for input current:
89 **curr1_input**
91 **curr1_label**
93 **curr1_max**
95 **curr1_max_alarm**
97 **curr2_input**
99 **curr2_label**
101 **curr2_max**
103 **curr2_max_alarm**
105 The driver provides the following attributes for output current:
107 **curr3_input**
109 **curr3_label**
111 **curr3_crit**
113 **curr3_crit_alarm**
115 **curr3_max**
117 **curr3_max_alarm**
119 **curr4_input**
121 **curr4_label**
123 **curr4_crit**
125 **curr4_crit_alarm**
127 **curr4_max**
129 **curr4_max_alarm**
131 The driver provides the following attributes for input power:
133 **power1_input**
135 **power1_label**
137 **power1_max**
139 **power1_alarm**
141 **power2_input**
143 **power2_label**
145 **power2_max**
147 **power2_alarm**
149 The driver provides the following attributes for output power:
151 **power3_input**
153 **power3_label**
155 **power4_input**
157 **power4_label**
159 The driver provides the following attributes for temperature:
161 **temp1_input**
163 **temp1_crit**
165 **temp1_crit_alarm**
167 **temp1_max**
169 **temp1_max_alarm**
171 **temp2_input**
173 **temp2_crit**
175 **temp2_crit_alarm**
177 **temp2_max**
179 **temp2_max_alarm**