forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/Documentation/ABI/stable/sysfs-driver-mlxreg-io
....@@ -1,6 +1,4 @@
1
-What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
2
- asic_health
3
-
1
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
42 Date: June 2018
53 KernelVersion: 4.19
64 Contact: Vadim Pasternak <vadimpmellanox.com>
....@@ -9,10 +7,8 @@
97
108 The files are read only.
119
12
-What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
13
- cpld1_version
14
- cpld2_version
15
-
10
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
11
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
1612 Date: June 2018
1713 KernelVersion: 4.19
1814 Contact: Vadim Pasternak <vadimpmellanox.com>
....@@ -20,6 +16,34 @@
2016 on carrier and switch boards.
2117
2218 The files are read only.
19
+
20
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
21
+Date: December 2018
22
+KernelVersion: 5.0
23
+Contact: Vadim Pasternak <vadimpmellanox.com>
24
+Description: This file shows the system fans direction:
25
+ forward direction - relevant bit is set 0;
26
+ reversed direction - relevant bit is set 1.
27
+
28
+ The files are read only.
29
+
30
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
31
+Date: November 2018
32
+KernelVersion: 5.0
33
+Contact: Vadim Pasternak <vadimpmellanox.com>
34
+Description: These files show with which CPLD versions have been burned
35
+ on LED or Gearbox board.
36
+
37
+ The files are read only.
38
+
39
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
40
+Date: November 2018
41
+KernelVersion: 5.0
42
+Contact: Vadim Pasternak <vadimpmellanox.com>
43
+Description: These files enable and disable the access to the JTAG domain.
44
+ By default access to the JTAG domain is disabled.
45
+
46
+ The file is read/write.
2347
2448 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
2549 Date: June 2018
....@@ -54,16 +78,15 @@
5478
5579 The files are write only.
5680
57
-What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
58
- reset_aux_pwr_or_ref
59
- reset_asic_thermal
60
- reset_hotswap_or_halt
61
- reset_hotswap_or_wd
62
- reset_fw_reset
63
- reset_long_pb
64
- reset_main_pwr_fail
65
- reset_short_pb
66
- reset_sw_reset
81
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
82
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
83
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
84
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
85
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
86
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
87
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
88
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
89
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
6790 Date: June 2018
6891 KernelVersion: 4.19
6992 Contact: Vadim Pasternak <vadimpmellanox.com>
....@@ -76,3 +99,127 @@
7699 reset cause.
77100
78101 The files are read only.
102
+
103
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
104
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
105
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
106
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
107
+Date: November 2018
108
+KernelVersion: 5.0
109
+Contact: Vadim Pasternak <vadimpmellanox.com>
110
+Description: These files show the system reset cause, as following: ComEx
111
+ power fail, reset from ComEx, system platform reset, reset
112
+ due to voltage monitor devices upgrade failure,
113
+ Value 1 in file means this is reset cause, 0 - otherwise.
114
+ Only one bit could be 1 at the same time, representing only
115
+ the last reset cause.
116
+
117
+ The files are read only.
118
+
119
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
120
+Date: November 2018
121
+KernelVersion: 5.0
122
+Contact: Vadim Pasternak <vadimpmellanox.com>
123
+Description: These files show with which CPLD versions have been burned
124
+ on LED board.
125
+
126
+ The files are read only.
127
+
128
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
129
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
130
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
131
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
132
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
133
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
134
+Date: June 2019
135
+KernelVersion: 5.3
136
+Contact: Vadim Pasternak <vadimpmellanox.com>
137
+Description: These files show the system reset cause, as following:
138
+ COMEX thermal shutdown; wathchdog power off or reset was derived
139
+ by one of the next components: COMEX, switch board or by Small Form
140
+ Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
141
+ reload. Value 1 in file means this is reset cause, 0 - otherwise.
142
+ Only one of the above causes could be 1 at the same time, representing
143
+ only last reset cause.
144
+
145
+ The files are read only.
146
+
147
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config1
148
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config2
149
+Date: January 2020
150
+KernelVersion: 5.6
151
+Contact: Vadim Pasternak <vadimpmellanox.com>
152
+Description: These files show system static topology identification
153
+ like system's static I2C topology, number and type of FPGA
154
+ devices within the system and so on.
155
+
156
+ The files are read only.
157
+
158
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_pwr_fail
159
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_platform
160
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_soc
161
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_pwr_off
162
+Date: January 2020
163
+KernelVersion: 5.6
164
+Contact: Vadim Pasternak <vadimpmellanox.com>
165
+Description: These files show the system reset causes, as following: reset
166
+ due to AC power failure, reset invoked from software by
167
+ assertion reset signal through CPLD. reset caused by signal
168
+ asserted by SOC through ACPI register, reset invoked from
169
+ software by assertion power off signal through CPLD.
170
+
171
+ The files are read only.
172
+
173
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pcie_asic_reset_dis
174
+Date: January 2020
175
+KernelVersion: 5.6
176
+Contact: Vadim Pasternak <vadimpmellanox.com>
177
+Description: This file allows to retain ASIC up during PCIe root complex
178
+ reset, when attribute is set 1.
179
+
180
+ The file is read/write.
181
+
182
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/vpd_wp
183
+Date: January 2020
184
+KernelVersion: 5.6
185
+Contact: Vadim Pasternak <vadimpmellanox.com>
186
+Description: This file allows to overwrite system VPD hardware wrtie
187
+ protection when attribute is set 1.
188
+
189
+ The file is read/write.
190
+
191
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/voltreg_update_status
192
+Date: January 2020
193
+KernelVersion: 5.6
194
+Contact: Vadim Pasternak <vadimpmellanox.com>
195
+Description: This file exposes the configuration update status of burnable
196
+ voltage regulator devices. The status values are as following:
197
+ 0 - OK; 1 - CRC failure; 2 = I2C failure; 3 - in progress.
198
+
199
+ The file is read only.
200
+
201
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ufm_version
202
+Date: January 2020
203
+KernelVersion: 5.6
204
+Contact: Vadim Pasternak <vadimpmellanox.com>
205
+Description: This file exposes the firmware version of burnable voltage
206
+ regulator devices.
207
+
208
+ The file is read only.
209
+
210
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_pn
211
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_pn
212
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_pn
213
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_pn
214
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version_min
215
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version_min
216
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version_min
217
+What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version_min
218
+Date: July 2020
219
+KernelVersion: 5.9
220
+Contact: Vadim Pasternak <vadimpmellanox.com>
221
+Description: These files show with which CPLD part numbers and minor
222
+ versions have been burned CPLD devices equipped on a
223
+ system.
224
+
225
+ The files are read only.