Commit | Line | Data |
---|---|---|
971dfd8c VP |
1 | .. SPDX-License-Identifier: GPL-2.0 |
2 | ||
3 | Kernel driver xdpe122 | |
4 | ===================== | |
5 | ||
6 | Supported chips: | |
7 | ||
8 | * Infineon XDPE12254 | |
9 | ||
10 | Prefix: 'xdpe12254' | |
11 | ||
12 | * Infineon XDPE12284 | |
13 | ||
14 | Prefix: 'xdpe12284' | |
15 | ||
16 | Authors: | |
17 | ||
18 | Vadim Pasternak <vadimp@mellanox.com> | |
19 | ||
20 | Description | |
21 | ----------- | |
22 | ||
23 | This driver implements support for Infineon Multi-phase XDPE122 family | |
24 | dual loop voltage regulators. | |
25 | The family includes XDPE12284 and XDPE12254 devices. | |
26 | The devices from this family complaint with: | |
27 | - Intel VR13 and VR13HC rev 1.3, IMVP8 rev 1.2 and IMPVP9 rev 1.3 DC-DC | |
28 | converter specification. | |
29 | - Intel SVID rev 1.9. protocol. | |
30 | - PMBus rev 1.3 interface. | |
31 | ||
32 | Devices support linear format for reading input voltage, input and output current, | |
33 | input and output power and temperature. | |
34 | Device supports VID format for reading output voltage. The below modes are | |
35 | supported: | |
36 | - VR12.0 mode, 5-mV DAC - 0x01. | |
37 | - VR12.5 mode, 10-mV DAC - 0x02. | |
38 | - IMVP9 mode, 5-mV DAC - 0x03. | |
39 | - AMD mode 6.25mV - 0x10. | |
40 | ||
41 | Devices support two pages for telemetry. | |
42 | ||
43 | The driver provides for current: input, maximum and critical thresholds | |
44 | and maximum and critical alarms. Critical thresholds and critical alarm are | |
45 | supported only for current output. | |
46 | The driver exports the following attributes for via the sysfs files, where | |
47 | indexes 1, 2 are for "iin" and 3, 4 for "iout": | |
48 | ||
49 | **curr[3-4]_crit** | |
50 | ||
51 | **curr[3-4]_crit_alarm** | |
52 | ||
53 | **curr[1-4]_input** | |
54 | ||
55 | **curr[1-4]_label** | |
56 | ||
57 | **curr[1-4]_max** | |
58 | ||
59 | **curr[1-4]_max_alarm** | |
60 | ||
61 | The driver provides for voltage: input, critical and low critical thresholds | |
62 | and critical and low critical alarms. | |
63 | The driver exports the following attributes for via the sysfs files, where | |
64 | indexes 1, 2 are for "vin" and 3, 4 for "vout": | |
65 | ||
66 | **in[1-4]_crit** | |
67 | ||
68 | **in[1-4_crit_alarm** | |
69 | ||
70 | **in[1-4]_input** | |
71 | ||
72 | **in[1-4_label** | |
73 | ||
74 | **in[1-4]_lcrit** | |
75 | ||
76 | **in[1-41_lcrit_alarm** | |
77 | ||
78 | The driver provides for power: input and alarms. Power alarm is supported only | |
79 | for power input. | |
80 | The driver exports the following attributes for via the sysfs files, where | |
81 | indexes 1, 2 are for "pin" and 3, 4 for "pout": | |
82 | ||
83 | **power[1-2]_alarm** | |
84 | ||
85 | **power[1-4]_input** | |
86 | ||
87 | **power[1-4]_label** | |
88 | ||
89 | The driver provides for temperature: input, maximum and critical thresholds | |
90 | and maximum and critical alarms. | |
91 | The driver exports the following attributes for via the sysfs files: | |
92 | ||
93 | **temp[1-2]_crit** | |
94 | ||
95 | **temp[1-2]_crit_alarm** | |
96 | ||
97 | **temp[1-2]_input** | |
98 | ||
99 | **temp[1-2]_max** | |
100 | ||
101 | **temp[1-2]_max_alarm** |