18c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
28c2ecf20Sopenharmony_ciDate:		June 2018
38c2ecf20Sopenharmony_ciKernelVersion:	4.19
48c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
58c2ecf20Sopenharmony_ciDescription:	This file shows ASIC health status. The possible values are:
68c2ecf20Sopenharmony_ci		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci		The files are read only.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
118c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
128c2ecf20Sopenharmony_ciDate:		June 2018
138c2ecf20Sopenharmony_ciKernelVersion:	4.19
148c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
158c2ecf20Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
168c2ecf20Sopenharmony_ci		on carrier and switch boards.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci		The files are read only.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
218c2ecf20Sopenharmony_ciDate:		December 2018
228c2ecf20Sopenharmony_ciKernelVersion:	5.0
238c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
248c2ecf20Sopenharmony_ciDescription:	This file shows the system fans direction:
258c2ecf20Sopenharmony_ci		forward direction - relevant bit is set 0;
268c2ecf20Sopenharmony_ci		reversed direction - relevant bit is set 1.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci		The files are read only.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
318c2ecf20Sopenharmony_ciDate:		November 2018
328c2ecf20Sopenharmony_ciKernelVersion:	5.0
338c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
348c2ecf20Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
358c2ecf20Sopenharmony_ci		on LED or Gearbox board.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci		The files are read only.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
408c2ecf20Sopenharmony_ciDate:		November 2018
418c2ecf20Sopenharmony_ciKernelVersion:	5.0
428c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
438c2ecf20Sopenharmony_ciDescription:	These files enable and disable the access to the JTAG domain.
448c2ecf20Sopenharmony_ci		By default access to the JTAG domain is disabled.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci		The file is read/write.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
498c2ecf20Sopenharmony_ciDate:		June 2018
508c2ecf20Sopenharmony_ciKernelVersion:	4.19
518c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
528c2ecf20Sopenharmony_ciDescription:	This file allows iio devices selection.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci		Attribute select_iio can be written with 0 or with 1. It
558c2ecf20Sopenharmony_ci		selects which one of iio devices can be accessed.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci		The file is read/write.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
608c2ecf20Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
618c2ecf20Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
628c2ecf20Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
638c2ecf20Sopenharmony_ciDate:		June 2018
648c2ecf20Sopenharmony_ciKernelVersion:	4.19
658c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
668c2ecf20Sopenharmony_ciDescription:	These files allow asserting system power cycling, switching
678c2ecf20Sopenharmony_ci		power supply units on and off and system's main power domain
688c2ecf20Sopenharmony_ci		shutdown.
698c2ecf20Sopenharmony_ci		Expected behavior:
708c2ecf20Sopenharmony_ci		When pwr_cycle is written 1: auxiliary power domain will go
718c2ecf20Sopenharmony_ci		down and after short period (about 1 second) up.
728c2ecf20Sopenharmony_ci		When  psu1_on or psu2_on is written 1, related unit will be
738c2ecf20Sopenharmony_ci		disconnected from the power source, when written 0 - connected.
748c2ecf20Sopenharmony_ci		If both are written 1 - power supplies main power domain will
758c2ecf20Sopenharmony_ci		go down.
768c2ecf20Sopenharmony_ci		When pwr_down is written 1, system's main power domain will go
778c2ecf20Sopenharmony_ci		down.
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci		The files are write only.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
828c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
838c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
848c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
858c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
868c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
878c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
888c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
898c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
908c2ecf20Sopenharmony_ciDate:		June 2018
918c2ecf20Sopenharmony_ciKernelVersion:	4.19
928c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
938c2ecf20Sopenharmony_ciDescription:	These files show the system reset cause, as following: power
948c2ecf20Sopenharmony_ci		auxiliary outage or power refresh, ASIC thermal shutdown, halt,
958c2ecf20Sopenharmony_ci		hotswap, watchdog, firmware reset, long press power button,
968c2ecf20Sopenharmony_ci		short press power button, software reset. Value 1 in file means
978c2ecf20Sopenharmony_ci		this is reset cause, 0 - otherwise. Only one of the above
988c2ecf20Sopenharmony_ci		causes could be 1 at the same time, representing only last
998c2ecf20Sopenharmony_ci		reset cause.
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci		The files are read only.
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
1048c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
1058c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
1068c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
1078c2ecf20Sopenharmony_ciDate:		November 2018
1088c2ecf20Sopenharmony_ciKernelVersion:	5.0
1098c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1108c2ecf20Sopenharmony_ciDescription:	These files show the system reset cause, as following: ComEx
1118c2ecf20Sopenharmony_ci		power fail, reset from ComEx, system platform reset, reset
1128c2ecf20Sopenharmony_ci		due to voltage monitor devices upgrade failure,
1138c2ecf20Sopenharmony_ci		Value 1 in file means this is reset cause, 0 - otherwise.
1148c2ecf20Sopenharmony_ci		Only one bit could be 1 at the same time, representing only
1158c2ecf20Sopenharmony_ci		the last reset cause.
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci		The files are read only.
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
1208c2ecf20Sopenharmony_ciDate:		November 2018
1218c2ecf20Sopenharmony_ciKernelVersion:	5.0
1228c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1238c2ecf20Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
1248c2ecf20Sopenharmony_ci		on LED board.
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci		The files are read only.
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
1298c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
1308c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
1318c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
1328c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
1338c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
1348c2ecf20Sopenharmony_ciDate:		June 2019
1358c2ecf20Sopenharmony_ciKernelVersion:	5.3
1368c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1378c2ecf20Sopenharmony_ciDescription:	These files show the system reset cause, as following:
1388c2ecf20Sopenharmony_ci		COMEX thermal shutdown; wathchdog power off or reset was derived
1398c2ecf20Sopenharmony_ci		by one of the next components: COMEX, switch board or by Small Form
1408c2ecf20Sopenharmony_ci		Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
1418c2ecf20Sopenharmony_ci		reload. Value 1 in file means this is reset cause, 0 - otherwise.
1428c2ecf20Sopenharmony_ci		Only one of the above causes could be 1 at the same time, representing
1438c2ecf20Sopenharmony_ci		only last reset cause.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci		The files are read only.
1468c2ecf20Sopenharmony_ci
1478c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config1
1488c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config2
1498c2ecf20Sopenharmony_ciDate:		January 2020
1508c2ecf20Sopenharmony_ciKernelVersion:	5.6
1518c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1528c2ecf20Sopenharmony_ciDescription:	These files show system static topology identification
1538c2ecf20Sopenharmony_ci		like system's static I2C topology, number and type of FPGA
1548c2ecf20Sopenharmony_ci		devices within the system and so on.
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci		The files are read only.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_pwr_fail
1598c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_platform
1608c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_soc
1618c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_pwr_off
1628c2ecf20Sopenharmony_ciDate:		January 2020
1638c2ecf20Sopenharmony_ciKernelVersion:	5.6
1648c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1658c2ecf20Sopenharmony_ciDescription:	These files show the system reset causes, as following: reset
1668c2ecf20Sopenharmony_ci		due to AC power failure, reset invoked from software by
1678c2ecf20Sopenharmony_ci		assertion reset signal through CPLD. reset caused by signal
1688c2ecf20Sopenharmony_ci		asserted by SOC through ACPI register, reset invoked from
1698c2ecf20Sopenharmony_ci		software by assertion power off signal through CPLD.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ci		The files are read only.
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pcie_asic_reset_dis
1748c2ecf20Sopenharmony_ciDate:		January 2020
1758c2ecf20Sopenharmony_ciKernelVersion:	5.6
1768c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1778c2ecf20Sopenharmony_ciDescription:	This file allows to retain ASIC up during PCIe root complex
1788c2ecf20Sopenharmony_ci		reset, when attribute is set 1.
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ci		The file is read/write.
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/vpd_wp
1838c2ecf20Sopenharmony_ciDate:		January 2020
1848c2ecf20Sopenharmony_ciKernelVersion:	5.6
1858c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1868c2ecf20Sopenharmony_ciDescription:	This file allows to overwrite system VPD hardware wrtie
1878c2ecf20Sopenharmony_ci		protection when attribute is set 1.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ci		The file is read/write.
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/voltreg_update_status
1928c2ecf20Sopenharmony_ciDate:		January 2020
1938c2ecf20Sopenharmony_ciKernelVersion:	5.6
1948c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
1958c2ecf20Sopenharmony_ciDescription:	This file exposes the configuration update status of burnable
1968c2ecf20Sopenharmony_ci		voltage regulator devices. The status values are as following:
1978c2ecf20Sopenharmony_ci		0 - OK; 1 - CRC failure; 2 = I2C failure; 3 - in progress.
1988c2ecf20Sopenharmony_ci
1998c2ecf20Sopenharmony_ci		The file is read only.
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ufm_version
2028c2ecf20Sopenharmony_ciDate:		January 2020
2038c2ecf20Sopenharmony_ciKernelVersion:	5.6
2048c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
2058c2ecf20Sopenharmony_ciDescription:	This file exposes the firmware version of burnable voltage
2068c2ecf20Sopenharmony_ci		regulator devices.
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ci		The file is read only.
2098c2ecf20Sopenharmony_ci
2108c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_pn
2118c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_pn
2128c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_pn
2138c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_pn
2148c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version_min
2158c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version_min
2168c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version_min
2178c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version_min
2188c2ecf20Sopenharmony_ciDate:		July 2020
2198c2ecf20Sopenharmony_ciKernelVersion:	5.9
2208c2ecf20Sopenharmony_ciContact:	Vadim Pasternak <vadimpmellanox.com>
2218c2ecf20Sopenharmony_ciDescription:	These files show with which CPLD part numbers and minor
2228c2ecf20Sopenharmony_ci		versions have been burned CPLD devices equipped on a
2238c2ecf20Sopenharmony_ci		system.
2248c2ecf20Sopenharmony_ci
2258c2ecf20Sopenharmony_ci		The files are read only.
226