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