summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/mp5920.rst
blob: 98946e7cf54ea963379e33dcc3ac4be068ee7698 (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
.. SPDX-License-Identifier: GPL-2.0

Kernel driver mp5920
====================

Supported chips:

  * MPS MP5920

    Prefix: 'mp5920'

  * Datasheet

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

Authors:

	Tony Ao <tony_ao@wiwynn.com>
	Alex Vdovydchenko <xzeol@yahoo.com>

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

This driver implements support for Monolithic Power Systems, Inc. (MPS)
MP5920 Hot-Swap Controller.

Device compliant with:

- PMBus rev 1.3 interface.

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

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

**in1_input**

**in1_label**

**in1_rated_max**

**in1_rated_min**

**in1_crit**

**in1_alarm**

The driver provides the following attributes for output voltage:

**in2_input**

**in2_label**

**in2_rated_max**

**in2_rated_min**

**in2_alarm**

The driver provides the following attributes for output current:

**curr1_input**

**curr1_label**

**curr1_crit**

**curr1_alarm**

**curr1_rated_max**

The driver provides the following attributes for input power:

**power1_input**

**power1_label**

**power1_max**

**power1_rated_max**

The driver provides the following attributes for temperature:

**temp1_input**

**temp1_max**

**temp1_crit**

**temp1_alarm**