14056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
2f193f798SVadim PasternakDate:		June 2018
3f193f798SVadim PasternakKernelVersion:	4.19
4f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
5f193f798SVadim PasternakDescription:	This file shows ASIC health status. The possible values are:
6f193f798SVadim Pasternak		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
7f193f798SVadim Pasternak
8f193f798SVadim Pasternak		The files are read only.
9f193f798SVadim Pasternak
104056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
114056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
12f193f798SVadim PasternakDate:		June 2018
13f193f798SVadim PasternakKernelVersion:	4.19
14f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
15f193f798SVadim PasternakDescription:	These files show with which CPLD versions have been burned
16f193f798SVadim Pasternak		on carrier and switch boards.
17f193f798SVadim Pasternak
18f193f798SVadim Pasternak		The files are read only.
19f193f798SVadim Pasternak
204056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
212752e344SVadim PasternakDate:		December 2018
222752e344SVadim PasternakKernelVersion:	5.0
232752e344SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
242752e344SVadim PasternakDescription:	This file shows the system fans direction:
252752e344SVadim Pasternak		forward direction - relevant bit is set 0;
262752e344SVadim Pasternak		reversed direction - relevant bit is set 1.
272752e344SVadim Pasternak
282752e344SVadim Pasternak		The files are read only.
292752e344SVadim Pasternak
30eea97b25SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
3152675da1SVadim PasternakDate:		November 2018
32522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
3352675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
3452675da1SVadim PasternakDescription:	These files show with which CPLD versions have been burned
35eea97b25SVadim Pasternak		on LED or Gearbox board.
3652675da1SVadim Pasternak
3752675da1SVadim Pasternak		The files are read only.
3852675da1SVadim Pasternak
394056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
4052675da1SVadim PasternakDate:		November 2018
41522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
4252675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
4352675da1SVadim PasternakDescription:	These files enable and disable the access to the JTAG domain.
4452675da1SVadim Pasternak		By default access to the JTAG domain is disabled.
4552675da1SVadim Pasternak
4652675da1SVadim Pasternak		The file is read/write.
4752675da1SVadim Pasternak
48f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
49f193f798SVadim PasternakDate:		June 2018
50f193f798SVadim PasternakKernelVersion:	4.19
51f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
52f193f798SVadim PasternakDescription:	This file allows iio devices selection.
53f193f798SVadim Pasternak
54f193f798SVadim Pasternak		Attribute select_iio can be written with 0 or with 1. It
55f193f798SVadim Pasternak		selects which one of iio devices can be accessed.
56f193f798SVadim Pasternak
57f193f798SVadim Pasternak		The file is read/write.
58f193f798SVadim Pasternak
59f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
60f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
61f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
62f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
63f193f798SVadim PasternakDate:		June 2018
64f193f798SVadim PasternakKernelVersion:	4.19
65f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
66f193f798SVadim PasternakDescription:	These files allow asserting system power cycling, switching
67f193f798SVadim Pasternak		power supply units on and off and system's main power domain
68f193f798SVadim Pasternak		shutdown.
69f193f798SVadim Pasternak		Expected behavior:
70f193f798SVadim Pasternak		When pwr_cycle is written 1: auxiliary power domain will go
71f193f798SVadim Pasternak		down and after short period (about 1 second) up.
72f193f798SVadim Pasternak		When  psu1_on or psu2_on is written 1, related unit will be
73f193f798SVadim Pasternak		disconnected from the power source, when written 0 - connected.
74f193f798SVadim Pasternak		If both are written 1 - power supplies main power domain will
75f193f798SVadim Pasternak		go down.
76f193f798SVadim Pasternak		When pwr_down is written 1, system's main power domain will go
77f193f798SVadim Pasternak		down.
78f193f798SVadim Pasternak
79f193f798SVadim Pasternak		The files are write only.
80f193f798SVadim Pasternak
814056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
824056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
834056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
844056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
854056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
864056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
874056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
884056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
894056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
90f193f798SVadim PasternakDate:		June 2018
91f193f798SVadim PasternakKernelVersion:	4.19
92f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
93f193f798SVadim PasternakDescription:	These files show the system reset cause, as following: power
94a34e1343SVadim Pasternak		auxiliary outage or power refresh, ASIC thermal shutdown, halt,
95a34e1343SVadim Pasternak		hotswap, watchdog, firmware reset, long press power button,
96f193f798SVadim Pasternak		short press power button, software reset. Value 1 in file means
97f193f798SVadim Pasternak		this is reset cause, 0 - otherwise. Only one of the above
98f193f798SVadim Pasternak		causes could be 1 at the same time, representing only last
99f193f798SVadim Pasternak		reset cause.
100f193f798SVadim Pasternak
101f193f798SVadim Pasternak		The files are read only.
10252675da1SVadim Pasternak
1034056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
1044056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
1054056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
1064056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
10752675da1SVadim PasternakDate:		November 2018
108522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
10952675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
11052675da1SVadim PasternakDescription:	These files show the system reset cause, as following: ComEx
11152675da1SVadim Pasternak		power fail, reset from ComEx, system platform reset, reset
11252675da1SVadim Pasternak		due to voltage monitor devices upgrade failure,
11352675da1SVadim Pasternak		Value 1 in file means this is reset cause, 0 - otherwise.
11452675da1SVadim Pasternak		Only one bit could be 1 at the same time, representing only
11552675da1SVadim Pasternak		the last reset cause.
11652675da1SVadim Pasternak
11752675da1SVadim Pasternak		The files are read only.
118ba07e3aaSVadim Pasternak
11974e56f5fSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
12074e56f5fSVadim PasternakDate:		November 2018
12174e56f5fSVadim PasternakKernelVersion:	5.0
12274e56f5fSVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
12374e56f5fSVadim PasternakDescription:	These files show with which CPLD versions have been burned
12474e56f5fSVadim Pasternak		on LED board.
12574e56f5fSVadim Pasternak
12674e56f5fSVadim Pasternak		The files are read only.
12774e56f5fSVadim Pasternak
1285358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
1295358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
1305358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
1315358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
1325358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
1335358c111SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
134ba07e3aaSVadim PasternakDate:		June 2019
135ba07e3aaSVadim PasternakKernelVersion:	5.3
136ba07e3aaSVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
137ba07e3aaSVadim PasternakDescription:	These files show the system reset cause, as following:
138ba07e3aaSVadim Pasternak		COMEX thermal shutdown; wathchdog power off or reset was derived
139ba07e3aaSVadim Pasternak		by one of the next components: COMEX, switch board or by Small Form
140ba07e3aaSVadim Pasternak		Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
141ba07e3aaSVadim Pasternak		reload. Value 1 in file means this is reset cause, 0 - otherwise.
142ba07e3aaSVadim Pasternak		Only one of the above causes could be 1 at the same time, representing
143ba07e3aaSVadim Pasternak		only last reset cause.
144ba07e3aaSVadim Pasternak
145ba07e3aaSVadim Pasternak		The files are read only.
146435d7e10SVadim Pasternak
147435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config1
148435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config2
149435d7e10SVadim PasternakDate:		January 2020
150435d7e10SVadim PasternakKernelVersion:	5.6
151435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
152435d7e10SVadim PasternakDescription:	These files show system static topology identification
153435d7e10SVadim Pasternak		like system's static I2C topology, number and type of FPGA
154435d7e10SVadim Pasternak		devices within the system and so on.
155435d7e10SVadim Pasternak
156435d7e10SVadim Pasternak		The files are read only.
157435d7e10SVadim Pasternak
158435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_pwr_fail
159435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_platform
160435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_soc
161435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_pwr_off
162435d7e10SVadim PasternakDate:		January 2020
163435d7e10SVadim PasternakKernelVersion:	5.6
164435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
165435d7e10SVadim PasternakDescription:	These files show the system reset causes, as following: reset
166435d7e10SVadim Pasternak		due to AC power failure, reset invoked from software by
167435d7e10SVadim Pasternak		assertion reset signal through CPLD. reset caused by signal
168435d7e10SVadim Pasternak		asserted by SOC through ACPI register, reset invoked from
169435d7e10SVadim Pasternak		software by assertion power off signal through CPLD.
170435d7e10SVadim Pasternak
171435d7e10SVadim Pasternak		The files are read only.
172435d7e10SVadim Pasternak
173435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pcie_asic_reset_dis
174435d7e10SVadim PasternakDate:		January 2020
175435d7e10SVadim PasternakKernelVersion:	5.6
176435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
177435d7e10SVadim PasternakDescription:	This file allows to retain ASIC up during PCIe root complex
178435d7e10SVadim Pasternak		reset, when attribute is set 1.
179435d7e10SVadim Pasternak
180435d7e10SVadim Pasternak		The file is read/write.
181435d7e10SVadim Pasternak
182435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/vpd_wp
183435d7e10SVadim PasternakDate:		January 2020
184435d7e10SVadim PasternakKernelVersion:	5.6
185435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
186435d7e10SVadim PasternakDescription:	This file allows to overwrite system VPD hardware wrtie
187435d7e10SVadim Pasternak		protection when attribute is set 1.
188435d7e10SVadim Pasternak
189435d7e10SVadim Pasternak		The file is read/write.
190435d7e10SVadim Pasternak
191435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/voltreg_update_status
192435d7e10SVadim PasternakDate:		January 2020
193435d7e10SVadim PasternakKernelVersion:	5.6
194435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
195435d7e10SVadim PasternakDescription:	This file exposes the configuration update status of burnable
196435d7e10SVadim Pasternak		voltage regulator devices. The status values are as following:
197435d7e10SVadim Pasternak		0 - OK; 1 - CRC failure; 2 = I2C failure; 3 - in progress.
198435d7e10SVadim Pasternak
199435d7e10SVadim Pasternak		The file is read only.
200435d7e10SVadim Pasternak
201435d7e10SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ufm_version
202435d7e10SVadim PasternakDate:		January 2020
203435d7e10SVadim PasternakKernelVersion:	5.6
204435d7e10SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
205435d7e10SVadim PasternakDescription:	This file exposes the firmware version of burnable voltage
206435d7e10SVadim Pasternak		regulator devices.
207435d7e10SVadim Pasternak
208435d7e10SVadim Pasternak		The file is read only.
209f6fae31eSVadim Pasternak
210f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_pn
211f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_pn
212f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_pn
213f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_pn
214f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version_min
215f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version_min
216f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version_min
217f6fae31eSVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version_min
218f6fae31eSVadim PasternakDate:		July 2020
219f6fae31eSVadim PasternakKernelVersion:	5.9
220f6fae31eSVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
221f6fae31eSVadim PasternakDescription:	These files show with which CPLD part numbers and minor
222f6fae31eSVadim Pasternak		versions have been burned CPLD devices equipped on a
223f6fae31eSVadim Pasternak		system.
224f6fae31eSVadim Pasternak
225f6fae31eSVadim Pasternak		The files are read only.
226