xref: /openbmc/linux/Documentation/hwmon/mp5990.rst (revision 877459e4f0db43ef7dac38ebd6284632e82e4374)
1*877459e4SPeter Yin.. SPDX-License-Identifier: GPL-2.0
2*877459e4SPeter Yin
3*877459e4SPeter YinKernel driver mp5990
4*877459e4SPeter Yin====================
5*877459e4SPeter Yin
6*877459e4SPeter YinSupported chips:
7*877459e4SPeter Yin
8*877459e4SPeter Yin  * MPS MP5990
9*877459e4SPeter Yin
10*877459e4SPeter Yin    Prefix: 'mp5990'
11*877459e4SPeter Yin
12*877459e4SPeter Yin  * Datasheet
13*877459e4SPeter Yin
14*877459e4SPeter Yin    Publicly available at the MPS website : https://www.monolithicpower.com/en/mp5990.html
15*877459e4SPeter Yin
16*877459e4SPeter YinAuthor:
17*877459e4SPeter Yin
18*877459e4SPeter Yin	Peter Yin <peteryin.openbmc@gmail.com>
19*877459e4SPeter Yin
20*877459e4SPeter YinDescription
21*877459e4SPeter Yin-----------
22*877459e4SPeter Yin
23*877459e4SPeter YinThis driver implements support for Monolithic Power Systems, Inc. (MPS)
24*877459e4SPeter YinMP5990 Hot-Swap Controller.
25*877459e4SPeter Yin
26*877459e4SPeter YinDevice compliant with:
27*877459e4SPeter Yin
28*877459e4SPeter Yin- PMBus rev 1.3 interface.
29*877459e4SPeter Yin
30*877459e4SPeter YinDevice supports direct and linear format for reading input voltage,
31*877459e4SPeter Yinoutput voltage, output current, input power and temperature.
32*877459e4SPeter Yin
33*877459e4SPeter YinThe driver exports the following attributes via the 'sysfs' files
34*877459e4SPeter Yinfor input voltage:
35*877459e4SPeter Yin
36*877459e4SPeter Yin**in1_input**
37*877459e4SPeter Yin
38*877459e4SPeter Yin**in1_label**
39*877459e4SPeter Yin
40*877459e4SPeter Yin**in1_max**
41*877459e4SPeter Yin
42*877459e4SPeter Yin**in1_max_alarm**
43*877459e4SPeter Yin
44*877459e4SPeter Yin**in1_min**
45*877459e4SPeter Yin
46*877459e4SPeter Yin**in1_min_alarm**
47*877459e4SPeter Yin
48*877459e4SPeter YinThe driver provides the following attributes for output voltage:
49*877459e4SPeter Yin
50*877459e4SPeter Yin**in2_input**
51*877459e4SPeter Yin
52*877459e4SPeter Yin**in2_label**
53*877459e4SPeter Yin
54*877459e4SPeter Yin**in2_alarm**
55*877459e4SPeter Yin
56*877459e4SPeter YinThe driver provides the following attributes for output current:
57*877459e4SPeter Yin
58*877459e4SPeter Yin**curr1_input**
59*877459e4SPeter Yin
60*877459e4SPeter Yin**curr1_label**
61*877459e4SPeter Yin
62*877459e4SPeter Yin**curr1_alarm**
63*877459e4SPeter Yin
64*877459e4SPeter Yin**curr1_max**
65*877459e4SPeter Yin
66*877459e4SPeter YinThe driver provides the following attributes for input power:
67*877459e4SPeter Yin
68*877459e4SPeter Yin**power1_input**
69*877459e4SPeter Yin
70*877459e4SPeter Yin**power1_label**
71*877459e4SPeter Yin
72*877459e4SPeter Yin**power1_alarm**
73*877459e4SPeter Yin
74*877459e4SPeter YinThe driver provides the following attributes for temperature:
75*877459e4SPeter Yin
76*877459e4SPeter Yin**temp1_input**
77*877459e4SPeter Yin
78*877459e4SPeter Yin**temp1_max**
79*877459e4SPeter Yin
80*877459e4SPeter Yin**temp1_max_alarm**
81*877459e4SPeter Yin
82*877459e4SPeter Yin**temp1_crit**
83*877459e4SPeter Yin
84*877459e4SPeter Yin**temp1_crit_alarm**
85