Blame view

Documentation/hwmon/mp2975.rst 2.98 KB
2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  .. SPDX-License-Identifier: GPL-2.0
  
  Kernel driver mp2975
  ====================
  
  Supported chips:
  
    * MPS MP12254
  
      Prefix: 'mp2975'
  
  Author:
  
  	Vadim Pasternak <vadimp@nvidia.com>
  
  Description
  -----------
  
  This driver implements support for Monolithic Power Systems, Inc. (MPS)
  vendor dual-loop, digital, multi-phase controller MP2975.
  
  This device:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
23

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
24
25
26
27
28
29
30
31
32
33
34
35
  - Supports up to two power rail.
  - Provides 8 pulse-width modulations (PWMs), and can be configured up
    to 8-phase operation for rail 1 and up to 4-phase operation for rail
    2.
  - Supports two pages 0 and 1 for telemetry and also pages 2 and 3 for
    configuration.
  - Can configured VOUT readout in direct or VID format and allows
    setting of different formats on rails 1 and 2. For VID the following
    protocols are available: VR13 mode with 5-mV DAC; VR13 mode with
    10-mV DAC, IMVP9 mode with 5-mV DAC.
  
  Device supports:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
36

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
37
38
39
40
  - SVID interface.
  - AVSBus interface.
  
  Device complaint with:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
41

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
42
43
44
45
46
47
48
49
50
  - PMBus rev 1.3 interface.
  
  Device supports direct format for reading output current, output voltage,
  input and output power and temperature.
  Device supports linear format for reading input voltage and input power.
  Device supports VID and direct formats for reading output voltage.
  The below VID modes are supported: VR12, VR13, IMVP9.
  
  The driver provides the next attributes for the current:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
51

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
52
53
54
  - for current in: input, maximum alarm;
  - for current out input, maximum alarm and highest values;
  - for phase current: input and label.
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
55
    attributes.
2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
56
  The driver exports the following attributes via the 'sysfs' files, where
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
57

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
  - 'n' is number of telemetry pages (from 1 to 2);
  - 'k' is number of configured phases (from 1 to 8);
  - indexes 1, 1*n for "iin";
  - indexes n+1, n+2 for "iout";
  - indexes 2*n+1 ... 2*n + k for phases.
  
  **curr[1-{2n}]_alarm**
  
  **curr[{n+1}-{n+2}]_highest**
  
  **curr[1-{2n+k}]_input**
  
  **curr[1-{2n+k}]_label**
  
  The driver provides the next attributes for the voltage:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
73

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
74
75
76
77
  - for voltage in: input, high critical threshold, high critical alarm, all only
    from page 0;
  - for voltage out: input, low and high critical thresholds, low and high
    critical alarms, from pages 0 and 1;
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
78

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
79
  The driver exports the following attributes via the 'sysfs' files, where
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
80

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
  - 'n' is number of telemetry pages (from 1 to 2);
  - indexes 1 for "iin";
  - indexes n+1, n+2 for "vout";
  
  **in[1-{2n+1}]_crit**
  
  **in[1-{2n+1}]_crit_alarm**
  
  **in[1-{2n+1}]_input**
  
  **in[1-{2n+1}]_label**
  
  **in[2-{n+1}]_lcrit**
  
  **in[2-{n+1}1_lcrit_alarm**
  
  The driver provides the next attributes for the power:
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
98

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
99
100
  - for power in alarm and input.
  - for power out: highest and input.
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
101

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
102
  The driver exports the following attributes via the 'sysfs' files, where
9d8c4f0c0   Mauro Carvalho Chehab   docs: hwmon: mp29...
103

2c6fcbb21   Vadim Pasternak   hwmon: (pmbus) Ad...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
  - 'n' is number of telemetry pages (from 1 to 2);
  - indexes 1 for "pin";
  - indexes n+1, n+2 for "pout";
  
  **power1_alarm**
  
  **power[2-{n+1}]_highest**
  
  **power[1-{2n+1}]_input**
  
  **power[1-{2n+1}]_label**
  
  The driver provides the next attributes for the temperature (only from page 0):
  
  
  **temp1_crit**
  
  **temp1_crit_alarm**
  
  **temp1_input**
  
  **temp1_max**
  
  **temp1_max_alarm**