162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
262306a36Sopenharmony_ciDate:		June 2018
362306a36Sopenharmony_ciKernelVersion:	4.19
462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
562306a36Sopenharmony_ciDescription:	This file shows ASIC health status. The possible values are:
662306a36Sopenharmony_ci		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci		The files are read only.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
1162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
1262306a36Sopenharmony_ciDate:		June 2018
1362306a36Sopenharmony_ciKernelVersion:	4.19
1462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
1562306a36Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
1662306a36Sopenharmony_ci		on carrier and switch boards.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci		The files are read only.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
2162306a36Sopenharmony_ciDate:		December 2018
2262306a36Sopenharmony_ciKernelVersion:	5.0
2362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
2462306a36Sopenharmony_ciDescription:	This file shows the system fans direction:
2562306a36Sopenharmony_ci		forward direction - relevant bit is set 0;
2662306a36Sopenharmony_ci		reversed direction - relevant bit is set 1.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci		The files are read only.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
3162306a36Sopenharmony_ciDate:		November 2018
3262306a36Sopenharmony_ciKernelVersion:	5.0
3362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
3462306a36Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
3562306a36Sopenharmony_ci		on LED or Gearbox board.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci		The files are read only.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
4062306a36Sopenharmony_ciDate:		November 2018
4162306a36Sopenharmony_ciKernelVersion:	5.0
4262306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
4362306a36Sopenharmony_ciDescription:	These files enable and disable the access to the JTAG domain.
4462306a36Sopenharmony_ci		By default access to the JTAG domain is disabled.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci		The file is read/write.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
4962306a36Sopenharmony_ciDate:		June 2018
5062306a36Sopenharmony_ciKernelVersion:	4.19
5162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
5262306a36Sopenharmony_ciDescription:	This file allows iio devices selection.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci		Attribute select_iio can be written with 0 or with 1. It
5562306a36Sopenharmony_ci		selects which one of iio devices can be accessed.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci		The file is read/write.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
6062306a36Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
6162306a36Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
6262306a36Sopenharmony_ci		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
6362306a36Sopenharmony_ciDate:		June 2018
6462306a36Sopenharmony_ciKernelVersion:	4.19
6562306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
6662306a36Sopenharmony_ciDescription:	These files allow asserting system power cycling, switching
6762306a36Sopenharmony_ci		power supply units on and off and system's main power domain
6862306a36Sopenharmony_ci		shutdown.
6962306a36Sopenharmony_ci		Expected behavior:
7062306a36Sopenharmony_ci		When pwr_cycle is written 1: auxiliary power domain will go
7162306a36Sopenharmony_ci		down and after short period (about 1 second) up.
7262306a36Sopenharmony_ci		When  psu1_on or psu2_on is written 1, related unit will be
7362306a36Sopenharmony_ci		disconnected from the power source, when written 0 - connected.
7462306a36Sopenharmony_ci		If both are written 1 - power supplies main power domain will
7562306a36Sopenharmony_ci		go down.
7662306a36Sopenharmony_ci		When pwr_down is written 1, system's main power domain will go
7762306a36Sopenharmony_ci		down.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci		The files are write only.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
8262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
8362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
8462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
8562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
8662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
8762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
8862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
8962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
9062306a36Sopenharmony_ciDate:		June 2018
9162306a36Sopenharmony_ciKernelVersion:	4.19
9262306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
9362306a36Sopenharmony_ciDescription:	These files show the system reset cause, as following: power
9462306a36Sopenharmony_ci		auxiliary outage or power refresh, ASIC thermal shutdown, halt,
9562306a36Sopenharmony_ci		hotswap, watchdog, firmware reset, long press power button,
9662306a36Sopenharmony_ci		short press power button, software reset. Value 1 in file means
9762306a36Sopenharmony_ci		this is reset cause, 0 - otherwise. Only one of the above
9862306a36Sopenharmony_ci		causes could be 1 at the same time, representing only last
9962306a36Sopenharmony_ci		reset cause.
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ci		The files are read only.
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
10462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
10562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
10662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
10762306a36Sopenharmony_ciDate:		November 2018
10862306a36Sopenharmony_ciKernelVersion:	5.0
10962306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
11062306a36Sopenharmony_ciDescription:	These files show the system reset cause, as following: ComEx
11162306a36Sopenharmony_ci		power fail, reset from ComEx, system platform reset, reset
11262306a36Sopenharmony_ci		due to voltage monitor devices upgrade failure,
11362306a36Sopenharmony_ci		Value 1 in file means this is reset cause, 0 - otherwise.
11462306a36Sopenharmony_ci		Only one bit could be 1 at the same time, representing only
11562306a36Sopenharmony_ci		the last reset cause.
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci		The files are read only.
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
12062306a36Sopenharmony_ciDate:		November 2018
12162306a36Sopenharmony_ciKernelVersion:	5.0
12262306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
12362306a36Sopenharmony_ciDescription:	These files show with which CPLD versions have been burned
12462306a36Sopenharmony_ci		on LED board.
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci		The files are read only.
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
12962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
13062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
13162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
13262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
13362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
13462306a36Sopenharmony_ciDate:		June 2019
13562306a36Sopenharmony_ciKernelVersion:	5.3
13662306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
13762306a36Sopenharmony_ciDescription:	These files show the system reset cause, as following:
13862306a36Sopenharmony_ci		COMEX thermal shutdown; wathchdog power off or reset was derived
13962306a36Sopenharmony_ci		by one of the next components: COMEX, switch board or by Small Form
14062306a36Sopenharmony_ci		Factor mezzanine, reset requested from ASIC, reset caused by BIOS
14162306a36Sopenharmony_ci		reload. Value 1 in file means this is reset cause, 0 - otherwise.
14262306a36Sopenharmony_ci		Only one of the above causes could be 1 at the same time, representing
14362306a36Sopenharmony_ci		only last reset cause.
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ci		The files are read only.
14662306a36Sopenharmony_ci
14762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config1
14862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config2
14962306a36Sopenharmony_ciDate:		January 2020
15062306a36Sopenharmony_ciKernelVersion:	5.6
15162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
15262306a36Sopenharmony_ciDescription:	These files show system static topology identification
15362306a36Sopenharmony_ci		like system's static I2C topology, number and type of FPGA
15462306a36Sopenharmony_ci		devices within the system and so on.
15562306a36Sopenharmony_ci
15662306a36Sopenharmony_ci		The files are read only.
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_pwr_fail
15962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_platform
16062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_soc
16162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_pwr_off
16262306a36Sopenharmony_ciDate:		January 2020
16362306a36Sopenharmony_ciKernelVersion:	5.6
16462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
16562306a36Sopenharmony_ciDescription:	These files show the system reset causes, as following: reset
16662306a36Sopenharmony_ci		due to AC power failure, reset invoked from software by
16762306a36Sopenharmony_ci		assertion reset signal through CPLD. reset caused by signal
16862306a36Sopenharmony_ci		asserted by SOC through ACPI register, reset invoked from
16962306a36Sopenharmony_ci		software by assertion power off signal through CPLD.
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ci		The files are read only.
17262306a36Sopenharmony_ci
17362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pcie_asic_reset_dis
17462306a36Sopenharmony_ciDate:		January 2020
17562306a36Sopenharmony_ciKernelVersion:	5.6
17662306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
17762306a36Sopenharmony_ciDescription:	This file allows to retain ASIC up during PCIe root complex
17862306a36Sopenharmony_ci		reset, when attribute is set 1.
17962306a36Sopenharmony_ci
18062306a36Sopenharmony_ci		The file is read/write.
18162306a36Sopenharmony_ci
18262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/vpd_wp
18362306a36Sopenharmony_ciDate:		January 2020
18462306a36Sopenharmony_ciKernelVersion:	5.6
18562306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
18662306a36Sopenharmony_ciDescription:	This file allows to overwrite system VPD hardware write
18762306a36Sopenharmony_ci		protection when attribute is set 1.
18862306a36Sopenharmony_ci
18962306a36Sopenharmony_ci		The file is read/write.
19062306a36Sopenharmony_ci
19162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/voltreg_update_status
19262306a36Sopenharmony_ciDate:		January 2020
19362306a36Sopenharmony_ciKernelVersion:	5.6
19462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
19562306a36Sopenharmony_ciDescription:	This file exposes the configuration update status of burnable
19662306a36Sopenharmony_ci		voltage regulator devices. The status values are as following:
19762306a36Sopenharmony_ci		0 - OK; 1 - CRC failure; 2 = I2C failure; 3 - in progress.
19862306a36Sopenharmony_ci
19962306a36Sopenharmony_ci		The file is read only.
20062306a36Sopenharmony_ci
20162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ufm_version
20262306a36Sopenharmony_ciDate:		January 2020
20362306a36Sopenharmony_ciKernelVersion:	5.6
20462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
20562306a36Sopenharmony_ciDescription:	This file exposes the firmware version of burnable voltage
20662306a36Sopenharmony_ci		regulator devices.
20762306a36Sopenharmony_ci
20862306a36Sopenharmony_ci		The file is read only.
20962306a36Sopenharmony_ci
21062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_pn
21162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_pn
21262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_pn
21362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_pn
21462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version_min
21562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version_min
21662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version_min
21762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version_min
21862306a36Sopenharmony_ciDate:		July 2020
21962306a36Sopenharmony_ciKernelVersion:	5.9
22062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
22162306a36Sopenharmony_ciDescription:	These files show with which CPLD part numbers and minor
22262306a36Sopenharmony_ci		versions have been burned CPLD devices equipped on a
22362306a36Sopenharmony_ci		system.
22462306a36Sopenharmony_ci
22562306a36Sopenharmony_ci		The files are read only.
22662306a36Sopenharmony_ci
22762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/bios_active_image
22862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/bios_auth_fail
22962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/bios_upgrade_fail
23062306a36Sopenharmony_ciDate:		October 2021
23162306a36Sopenharmony_ciKernelVersion:	5.16
23262306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
23362306a36Sopenharmony_ciDescription:	The files represent BIOS statuses:
23462306a36Sopenharmony_ci
23562306a36Sopenharmony_ci		bios_active_image: location of current active BIOS image:
23662306a36Sopenharmony_ci		0: Top, 1: Bottom.
23762306a36Sopenharmony_ci		The reported value should correspond to value expected by OS
23862306a36Sopenharmony_ci		in case of BIOS safe mode is 0. This bit is related to Intel
23962306a36Sopenharmony_ci		top-swap feature of DualBios on the same flash.
24062306a36Sopenharmony_ci
24162306a36Sopenharmony_ci		bios_auth_fail: BIOS upgrade is failed because provided BIOS
24262306a36Sopenharmony_ci		image is not signed correctly.
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci		bios_upgrade_fail: BIOS upgrade is failed by some other
24562306a36Sopenharmony_ci		reason not because authentication. For example due to
24662306a36Sopenharmony_ci		physical SPI flash problem.
24762306a36Sopenharmony_ci
24862306a36Sopenharmony_ci		The files are read only.
24962306a36Sopenharmony_ci
25062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc1_enable
25162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc2_enable
25262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc3_enable
25362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc4_enable
25462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc5_enable
25562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc6_enable
25662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc7_enable
25762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc8_enable
25862306a36Sopenharmony_ciDate:		October 2021
25962306a36Sopenharmony_ciKernelVersion:	5.16
26062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
26162306a36Sopenharmony_ciDescription:	These files allow line cards enable state control.
26262306a36Sopenharmony_ci		Expected behavior:
26362306a36Sopenharmony_ci		When  lc{n}_enable is written 1, related line card is released
26462306a36Sopenharmony_ci		from the reset state, when 0 - is hold in reset state.
26562306a36Sopenharmony_ci
26662306a36Sopenharmony_ci		The files are read/write.
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc1_pwr
26962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc2_pwr
27062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc3_pwr
27162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc4_pwr
27262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc5_pwr
27362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc6_pwr
27462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc7_pwr
27562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc8_pwr
27662306a36Sopenharmony_ciDate:		October 2021
27762306a36Sopenharmony_ciKernelVersion:	5.16
27862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
27962306a36Sopenharmony_ciDescription:	These files switching line cards power on and off.
28062306a36Sopenharmony_ci		Expected behavior:
28162306a36Sopenharmony_ci		When  lc{n}_pwr is written 1, related line card is powered
28262306a36Sopenharmony_ci		on, when written 0 - powered off.
28362306a36Sopenharmony_ci
28462306a36Sopenharmony_ci		The files are read/write.
28562306a36Sopenharmony_ci
28662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc1_rst_mask
28762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc2_rst_mask
28862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc3_rst_mask
28962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc4_rst_mask
29062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc5_rst_mask
29162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc6_rst_mask
29262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc7_rst_mask
29362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lc8_rst_mask
29462306a36Sopenharmony_ciDate:		October 2021
29562306a36Sopenharmony_ciKernelVersion:	5.16
29662306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
29762306a36Sopenharmony_ciDescription:	These files clear line card reset bit enforced by ASIC, when it
29862306a36Sopenharmony_ci		sets it due to some abnormal ASIC behavior.
29962306a36Sopenharmony_ci		Expected behavior:
30062306a36Sopenharmony_ci		When lc{n}_rst_mask is written 1, related line card reset bit
30162306a36Sopenharmony_ci		is cleared, when written 0 - no effect.
30262306a36Sopenharmony_ci
30362306a36Sopenharmony_ci		The files are write only.
30462306a36Sopenharmony_ci
30562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/os_started
30662306a36Sopenharmony_ciDate:		October 2021
30762306a36Sopenharmony_ciKernelVersion:	5.16
30862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
30962306a36Sopenharmony_ciDescription:	This file, when written 1, indicates to programmable devices
31062306a36Sopenharmony_ci		that OS is taking control over it.
31162306a36Sopenharmony_ci
31262306a36Sopenharmony_ci		The file is read/write.
31362306a36Sopenharmony_ci
31462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pm_mgmt_en
31562306a36Sopenharmony_ciDate:		October 2021
31662306a36Sopenharmony_ciKernelVersion:	5.16
31762306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
31862306a36Sopenharmony_ciDescription:	This file assigns power management control ownership.
31962306a36Sopenharmony_ci		When power management control is provided by hardware, hardware
32062306a36Sopenharmony_ci		will automatically power off one or more line previously
32162306a36Sopenharmony_ci		powered line cards in case system power budget is getting
32262306a36Sopenharmony_ci		insufficient. It could be in case when some of power units lost
32362306a36Sopenharmony_ci		power good state.
32462306a36Sopenharmony_ci		When pm_mgmt_en is written 1, power management control by
32562306a36Sopenharmony_ci		software is enabled, 0 - power management control by hardware.
32662306a36Sopenharmony_ci		Note that for any setting of pm_mgmt_en attribute hardware will
32762306a36Sopenharmony_ci		not allow to power on any new line card in case system power
32862306a36Sopenharmony_ci		budget is insufficient.
32962306a36Sopenharmony_ci		Same in case software will try to power on several line cards
33062306a36Sopenharmony_ci		at once - hardware will power line cards while system has
33162306a36Sopenharmony_ci		enough power budget.
33262306a36Sopenharmony_ci		Default is 0.
33362306a36Sopenharmony_ci
33462306a36Sopenharmony_ci		The file is read/write.
33562306a36Sopenharmony_ci
33662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu3_on
33762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu4_on
33862306a36Sopenharmony_ciDate:		October 2021
33962306a36Sopenharmony_ciKernelVersion:	5.16
34062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
34162306a36Sopenharmony_ciDescription:	These files switching power supply units on and off.
34262306a36Sopenharmony_ci		Expected behavior:
34362306a36Sopenharmony_ci		When  psu3_on or psu4_on is written 1, related unit will be
34462306a36Sopenharmony_ci		disconnected from the power source, when written 0 - connected.
34562306a36Sopenharmony_ci
34662306a36Sopenharmony_ci		The files are write only.
34762306a36Sopenharmony_ci
34862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/shutdown_unlock
34962306a36Sopenharmony_ciDate:		October 2021
35062306a36Sopenharmony_ciKernelVersion:	5.16
35162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
35262306a36Sopenharmony_ciDescription:	This file allows to unlock ASIC after thermal shutdown event.
35362306a36Sopenharmony_ci		When system thermal shutdown is enforced by ASIC, ASIC is
35462306a36Sopenharmony_ci		getting locked and after system boot it will not be available.
35562306a36Sopenharmony_ci		Software can decide to unlock it by setting this attribute to
35662306a36Sopenharmony_ci		1 and then perform system power cycle by setting pwr_cycle
35762306a36Sopenharmony_ci		attribute to 1 (power cycle of main power domain).
35862306a36Sopenharmony_ci		Before setting shutdown_unlock to 1 it is recommended to
35962306a36Sopenharmony_ci		validate that system reboot cause is reset_asic_thermal or
36062306a36Sopenharmony_ci		reset_thermal_spc_or_pciesw.
36162306a36Sopenharmony_ci		In case shutdown_unlock is not set 1, the only way to release
36262306a36Sopenharmony_ci		ASIC from locking - is full system power cycle through the
36362306a36Sopenharmony_ci		external power distribution unit.
36462306a36Sopenharmony_ci		Default is 1.
36562306a36Sopenharmony_ci
36662306a36Sopenharmony_ci		The file is read/write.
36762306a36Sopenharmony_ci
36862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_pn
36962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_version
37062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_version_min
37162306a36Sopenharmony_ciDate:		October 2021
37262306a36Sopenharmony_ciKernelVersion:	5.16
37362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
37462306a36Sopenharmony_ciDescription:	These files show with which CPLD major and minor versions
37562306a36Sopenharmony_ci		and part number has been burned CPLD device on line card.
37662306a36Sopenharmony_ci
37762306a36Sopenharmony_ci		The files are read only.
37862306a36Sopenharmony_ci
37962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_pn
38062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_version
38162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_version_min
38262306a36Sopenharmony_ciDate:		October 2021
38362306a36Sopenharmony_ciKernelVersion:	5.16
38462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
38562306a36Sopenharmony_ciDescription:	These files show with which FPGA major and minor versions
38662306a36Sopenharmony_ci		and part number has been burned FPGA device on line card.
38762306a36Sopenharmony_ci
38862306a36Sopenharmony_ci		The files are read only.
38962306a36Sopenharmony_ci
39062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/vpd_wp
39162306a36Sopenharmony_ciDate:		October 2021
39262306a36Sopenharmony_ciKernelVersion:	5.16
39362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
39462306a36Sopenharmony_ciDescription:	This file allow to overwrite line card VPD hardware write
39562306a36Sopenharmony_ci		protection mode. When attribute is set 1 - write protection is
39662306a36Sopenharmony_ci		disabled, when 0 - enabled.
39762306a36Sopenharmony_ci		Default is 0.
39862306a36Sopenharmony_ci		If the system is in locked-down mode writing this file will not
39962306a36Sopenharmony_ci		be allowed.
40062306a36Sopenharmony_ci		The purpose if this file is to allow line card VPD burning
40162306a36Sopenharmony_ci		during production flow.
40262306a36Sopenharmony_ci
40362306a36Sopenharmony_ci		The file is read/write.
40462306a36Sopenharmony_ci
40562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_aux_pwr_or_ref
40662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_dc_dc_pwr_fail
40762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_fpga_not_done
40862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_from_chassis
40962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_line_card
41062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_pwr_off_from_chassis
41162306a36Sopenharmony_ciDate:		October 2021
41262306a36Sopenharmony_ciKernelVersion:	5.16
41362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
41462306a36Sopenharmony_ciDescription:	These files show the line reset cause, as following: power
41562306a36Sopenharmony_ci		auxiliary outage or power refresh, DC-to-DC power failure, FPGA reset
41662306a36Sopenharmony_ci		failed, line card reset failed, power off from chassis.
41762306a36Sopenharmony_ci		Value 1 in file means this is reset cause, 0 - otherwise. Only one of
41862306a36Sopenharmony_ci		the above causes could be 1 at the same time, representing only last
41962306a36Sopenharmony_ci		reset cause.
42062306a36Sopenharmony_ci
42162306a36Sopenharmony_ci		The files are read only.
42262306a36Sopenharmony_ci
42362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld_upgrade_en
42462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga_upgrade_en
42562306a36Sopenharmony_ciDate:		October 2021
42662306a36Sopenharmony_ciKernelVersion:	5.16
42762306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
42862306a36Sopenharmony_ciDescription:	These files allow CPLD and FPGA burning. Value 1 in file means burning
42962306a36Sopenharmony_ci		is enabled, 0 - otherwise.
43062306a36Sopenharmony_ci		If the system is in locked-down mode writing these files will
43162306a36Sopenharmony_ci		not be allowed.
43262306a36Sopenharmony_ci		The purpose of these files to allow line card CPLD and FPGA
43362306a36Sopenharmony_ci		upgrade through the JTAG daisy-chain.
43462306a36Sopenharmony_ci
43562306a36Sopenharmony_ci		The files are read/write.
43662306a36Sopenharmony_ci
43762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/qsfp_pwr_en
43862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/pwr_en
43962306a36Sopenharmony_ciDate:		October 2021
44062306a36Sopenharmony_ciKernelVersion:	5.16
44162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
44262306a36Sopenharmony_ciDescription:	These files allow to power on/off all QSFP ports and whole line card.
44362306a36Sopenharmony_ci		The attributes are set 1 for power on, 0 - for power off.
44462306a36Sopenharmony_ci
44562306a36Sopenharmony_ci		The files are read/write.
44662306a36Sopenharmony_ci
44762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/agb_spi_burn_en
44862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga_spi_burn_en
44962306a36Sopenharmony_ciDate:		October 2021
45062306a36Sopenharmony_ciKernelVersion:	5.16
45162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
45262306a36Sopenharmony_ciDescription:	These files allow gearboxes and FPGA SPI flash burning.
45362306a36Sopenharmony_ci		The attributes are set 1 to enable burning, 0 - to disable.
45462306a36Sopenharmony_ci		If the system is in locked-down mode writing these files will
45562306a36Sopenharmony_ci		not be allowed.
45662306a36Sopenharmony_ci		The purpose of these files to allow line card Gearboxes and FPGA
45762306a36Sopenharmony_ci		burning during production flow.
45862306a36Sopenharmony_ci
45962306a36Sopenharmony_ci		The file is read/write.
46062306a36Sopenharmony_ci
46162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/max_power
46262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/config
46362306a36Sopenharmony_ciDate:		October 2021
46462306a36Sopenharmony_ciKernelVersion:	5.16
46562306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
46662306a36Sopenharmony_ciDescription:	These files provide the maximum powered required for line card
46762306a36Sopenharmony_ci		feeding and line card configuration Id.
46862306a36Sopenharmony_ci
46962306a36Sopenharmony_ci		The files are read only.
47062306a36Sopenharmony_ci
47162306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/phy_reset
47262306a36Sopenharmony_ciDate:		May 2022
47362306a36Sopenharmony_ciKernelVersion:	5.19
47462306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
47562306a36Sopenharmony_ciDescription:	This file allows to reset PHY 88E1548 when attribute is set 0
47662306a36Sopenharmony_ci		due to some abnormal PHY behavior.
47762306a36Sopenharmony_ci		Expected behavior:
47862306a36Sopenharmony_ci		When phy_reset is written 1, all PHY 88E1548 are released
47962306a36Sopenharmony_ci		from the reset state, when 0 - are hold in reset state.
48062306a36Sopenharmony_ci
48162306a36Sopenharmony_ci		The files are read/write.
48262306a36Sopenharmony_ci
48362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/mac_reset
48462306a36Sopenharmony_ciDate:		May 2022
48562306a36Sopenharmony_ciKernelVersion:	5.19
48662306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
48762306a36Sopenharmony_ciDescription:	This file allows to reset ASIC MT52132 when attribute is set 0
48862306a36Sopenharmony_ci		due to some abnormal ASIC behavior.
48962306a36Sopenharmony_ci		Expected behavior:
49062306a36Sopenharmony_ci		When mac_reset is written 1, the ASIC MT52132 is released
49162306a36Sopenharmony_ci		from the reset state, when 0 - is hold in reset state.
49262306a36Sopenharmony_ci
49362306a36Sopenharmony_ci		The files are read/write.
49462306a36Sopenharmony_ci
49562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/qsfp_pwr_good
49662306a36Sopenharmony_ciDate:		May 2022
49762306a36Sopenharmony_ciKernelVersion:	5.19
49862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
49962306a36Sopenharmony_ciDescription:	This file shows QSFP ports power status. The value is set to 0
50062306a36Sopenharmony_ci		when one of any QSFP ports is plugged. The value is set to 1 when
50162306a36Sopenharmony_ci		there are no any QSFP ports are plugged.
50262306a36Sopenharmony_ci		The possible values are:
50362306a36Sopenharmony_ci		0 - Power good, 1 - Not power good.
50462306a36Sopenharmony_ci
50562306a36Sopenharmony_ci		The files are read only.
50662306a36Sopenharmony_ci
50762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic2_health
50862306a36Sopenharmony_ciDate:		July 2022
50962306a36Sopenharmony_ciKernelVersion:	5.20
51062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
51162306a36Sopenharmony_ciDescription:	This file shows 2-nd ASIC health status. The possible values are:
51262306a36Sopenharmony_ci		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
51362306a36Sopenharmony_ci
51462306a36Sopenharmony_ci		The file is read only.
51562306a36Sopenharmony_ci
51662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_reset
51762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic2_reset
51862306a36Sopenharmony_ciDate:		July 2022
51962306a36Sopenharmony_ciKernelVersion:	5.20
52062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
52162306a36Sopenharmony_ciDescription:	These files allow to each of ASICs by writing 1.
52262306a36Sopenharmony_ci
52362306a36Sopenharmony_ci		The files are write only.
52462306a36Sopenharmony_ci
52562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/comm_chnl_ready
52662306a36Sopenharmony_ciDate:		July 2022
52762306a36Sopenharmony_ciKernelVersion:	5.20
52862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
52962306a36Sopenharmony_ciDescription:	This file is used to indicate remote end (for example BMC) that system
53062306a36Sopenharmony_ci	        host CPU is ready for sending telemetry data to remote end.
53162306a36Sopenharmony_ci		For indication the file should be written 1.
53262306a36Sopenharmony_ci
53362306a36Sopenharmony_ci		The file is write only.
53462306a36Sopenharmony_ci
53562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config3
53662306a36Sopenharmony_ciDate:		January 2020
53762306a36Sopenharmony_ciKernelVersion:	5.6
53862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
53962306a36Sopenharmony_ciDescription:	The file indicates COME module hardware configuration.
54062306a36Sopenharmony_ci		The value is pushed by hardware through GPIO pins.
54162306a36Sopenharmony_ci		The purpose is to expose some minor BOM changes for the same system SKU.
54262306a36Sopenharmony_ci
54362306a36Sopenharmony_ci		The file is read only.
54462306a36Sopenharmony_ci
54562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_pwr_converter_fail
54662306a36Sopenharmony_ciDate:		February 2023
54762306a36Sopenharmony_ciKernelVersion:	6.3
54862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
54962306a36Sopenharmony_ciDescription:	This file shows the system reset cause due to power converter
55062306a36Sopenharmony_ci		devices failure.
55162306a36Sopenharmony_ci		Value 1 in file means this is reset cause, 0 - otherwise.
55262306a36Sopenharmony_ci
55362306a36Sopenharmony_ci		The file is read only.
55462306a36Sopenharmony_ci
55562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_ap_reset
55662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_ap_reset
55762306a36Sopenharmony_ciDate:		February 2023
55862306a36Sopenharmony_ciKernelVersion:	6.3
55962306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
56062306a36Sopenharmony_ciDescription:	These files aim to monitor the status of the External Root of Trust (EROT)
56162306a36Sopenharmony_ci		processor's RESET output to the Application Processor (AP).
56262306a36Sopenharmony_ci		By reading this file, could be determined if the EROT has invalidated or
56362306a36Sopenharmony_ci		revoked AP Firmware, at which point it will hold the AP in RESET until a
56462306a36Sopenharmony_ci		valid firmware is loaded. This protects the AP from running an
56562306a36Sopenharmony_ci		unauthorized firmware. In the normal flow, the AP reset should be released
56662306a36Sopenharmony_ci		after the EROT validates the integrity of the FW, and it should be done so
56762306a36Sopenharmony_ci		as quickly as possible so that the AP boots before the CPU starts to
56862306a36Sopenharmony_ci		communicate to each ASIC.
56962306a36Sopenharmony_ci
57062306a36Sopenharmony_ci		The files are read only.
57162306a36Sopenharmony_ci
57262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_recovery
57362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_recovery
57462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_reset
57562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_reset
57662306a36Sopenharmony_ciDate:		February 2023
57762306a36Sopenharmony_ciKernelVersion:	6.3
57862306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
57962306a36Sopenharmony_ciDescription:	These files aim to perform External Root of Trust (EROT) recovery
58062306a36Sopenharmony_ci		sequence after EROT device failure.
58162306a36Sopenharmony_ci		These EROT devices protect ASICs from unauthorized access and in normal
58262306a36Sopenharmony_ci		flow their reset should be released with system power – earliest power
58362306a36Sopenharmony_ci		up stage, so that EROTs can begin boot and authentication process before
58462306a36Sopenharmony_ci		CPU starts to communicate to ASICs.
58562306a36Sopenharmony_ci		Issuing a reset to the EROT while asserting the recovery signal will cause
58662306a36Sopenharmony_ci		the EROT Application Processor to enter recovery mode so that the EROT FW
58762306a36Sopenharmony_ci		can be updated/recovered.
58862306a36Sopenharmony_ci		For reset/recovery the related file should be toggled by 1/0.
58962306a36Sopenharmony_ci
59062306a36Sopenharmony_ci		The files are read/write.
59162306a36Sopenharmony_ci
59262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_wp
59362306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_wp
59462306a36Sopenharmony_ciDate:		February 2023
59562306a36Sopenharmony_ciKernelVersion:	6.3
59662306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
59762306a36Sopenharmony_ciDescription:	These files allow access to External Root of Trust (EROT) for reset
59862306a36Sopenharmony_ci		and recovery sequence after EROT device failure.
59962306a36Sopenharmony_ci		Default is 0 (programming disabled).
60062306a36Sopenharmony_ci		If the system is in locked-down mode writing this file will not be allowed.
60162306a36Sopenharmony_ci
60262306a36Sopenharmony_ci		The files are read/write.
60362306a36Sopenharmony_ci
60462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/spi_chnl_select
60562306a36Sopenharmony_ciDate:		February 2023
60662306a36Sopenharmony_ciKernelVersion:	6.3
60762306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
60862306a36Sopenharmony_ciDescription:	This file allows SPI chip selection for External Root of Trust (EROT)
60962306a36Sopenharmony_ci		device Out-of-Band recovery.
61062306a36Sopenharmony_ci		File can be written with 0 or with 1. It selects which EROT can be accessed
61162306a36Sopenharmony_ci		through SPI device.
61262306a36Sopenharmony_ci
61362306a36Sopenharmony_ci		The file is read/write.
61462306a36Sopenharmony_ci
61562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_pg_fail
61662306a36Sopenharmony_ciDate:		February 2023
61762306a36Sopenharmony_ciKernelVersion:	6.3
61862306a36Sopenharmony_ciContact:	Vadim Pasternak vadimp@nvidia.com
61962306a36Sopenharmony_ciDescription:	This file shows ASIC Power Good status.
62062306a36Sopenharmony_ci		Value 1 in file means ASIC Power Good failed, 0 - otherwise.
62162306a36Sopenharmony_ci
62262306a36Sopenharmony_ci		The file is read only.
62362306a36Sopenharmony_ci
62462306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd1_boot_fail
62562306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd2_boot_fail
62662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd_fail
62762306a36Sopenharmony_ciDate:		February 2023
62862306a36Sopenharmony_ciKernelVersion:	6.3
62962306a36Sopenharmony_ciContact:	Vadim Pasternak vadimp@nvidia.com
63062306a36Sopenharmony_ciDescription:	These files are related to clock boards status in system.
63162306a36Sopenharmony_ci		- clk_brd1_boot_fail: warning about 1-st clock board failed to boot from CI.
63262306a36Sopenharmony_ci		- clk_brd2_boot_fail: warning about 2-nd clock board failed to boot from CI.
63362306a36Sopenharmony_ci		- clk_brd_fail: error about common clock board boot failure.
63462306a36Sopenharmony_ci
63562306a36Sopenharmony_ci		The files are read only.
63662306a36Sopenharmony_ci
63762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd_prog_en
63862306a36Sopenharmony_ciDate:		February 2023
63962306a36Sopenharmony_ciKernelVersion:	6.3
64062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
64162306a36Sopenharmony_ciDescription:	This file enables programming of clock boards.
64262306a36Sopenharmony_ci		Default is 0 (programming disabled).
64362306a36Sopenharmony_ci		If the system is in locked-down mode writing this file will not be allowed.
64462306a36Sopenharmony_ci
64562306a36Sopenharmony_ci		The file is read/write.
64662306a36Sopenharmony_ci
64762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_converter_prog_en
64862306a36Sopenharmony_ciDate:		February 2023
64962306a36Sopenharmony_ciKernelVersion:	6.3
65062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
65162306a36Sopenharmony_ciDescription:	This file enables programming of power converters.
65262306a36Sopenharmony_ci		Default is 0 (programming disabled).
65362306a36Sopenharmony_ci		If the system is in locked-down mode writing this file will not be allowed.
65462306a36Sopenharmony_ci
65562306a36Sopenharmony_ci		The file is read/write.
65662306a36Sopenharmony_ci
65762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_ok_fail
65862306a36Sopenharmony_ciDate:		February 2023
65962306a36Sopenharmony_ciKernelVersion:	6.3
66062306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
66162306a36Sopenharmony_ciDescription:	This file shows the system reset cause due to AC power failure.
66262306a36Sopenharmony_ci		Value 1 in file means this is reset cause, 0 - otherwise.
66362306a36Sopenharmony_ci
66462306a36Sopenharmony_ci		The file is read only.
66562306a36Sopenharmony_ci
66662306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_pn
66762306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version
66862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version_min
66962306a36Sopenharmony_ciDate:		August 2023
67062306a36Sopenharmony_ciKernelVersion:	6.6
67162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
67262306a36Sopenharmony_ciDescription:	These files show with which CPLD part numbers, version and minor
67362306a36Sopenharmony_ci		versions have been burned the 5-th CPLD device equipped on a
67462306a36Sopenharmony_ci		system.
67562306a36Sopenharmony_ci
67662306a36Sopenharmony_ci		The files are read only.
67762306a36Sopenharmony_ci
67862306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_cap
67962306a36Sopenharmony_ciDate:		August 2023
68062306a36Sopenharmony_ciKernelVersion:	6.6
68162306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
68262306a36Sopenharmony_ciDescription:	This file indicates the available method of CPLD/FPGA devices
68362306a36Sopenharmony_ci		field update through the JTAG chain:
68462306a36Sopenharmony_ci
68562306a36Sopenharmony_ci		b00 - field update through LPC bus register memory space.
68662306a36Sopenharmony_ci		b01 - Reserved.
68762306a36Sopenharmony_ci		b10 - Reserved.
68862306a36Sopenharmony_ci		b11 - field update through CPU GPIOs bit-banging.
68962306a36Sopenharmony_ci
69062306a36Sopenharmony_ci		The file is read only.
69162306a36Sopenharmony_ci
69262306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lid_open
69362306a36Sopenharmony_ciDate:		August 2023
69462306a36Sopenharmony_ciKernelVersion:	6.6
69562306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
69662306a36Sopenharmony_ciDescription:	1 - indicates that system lid is opened, otherwise 0.
69762306a36Sopenharmony_ci
69862306a36Sopenharmony_ci		The file is read only.
69962306a36Sopenharmony_ci
70062306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pwr_pb
70162306a36Sopenharmony_ciDate:		August 2023
70262306a36Sopenharmony_ciKernelVersion:	6.6
70362306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
70462306a36Sopenharmony_ciDescription:	This file if set 1 indicates that system has been reset by
70562306a36Sopenharmony_ci		long press of power button.
70662306a36Sopenharmony_ci
70762306a36Sopenharmony_ci		The file is read only.
70862306a36Sopenharmony_ci
70962306a36Sopenharmony_ciWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_dc_dc_pwr_fail
71062306a36Sopenharmony_ciDate:		August 2023
71162306a36Sopenharmony_ciKernelVersion:	6.6
71262306a36Sopenharmony_ciContact:	Vadim Pasternak <vadimp@nvidia.com>
71362306a36Sopenharmony_ciDescription:	This file shows 1 in case the system reset happened due to the
71462306a36Sopenharmony_ci		failure of any DC-DC power converter devices equipped on the
71562306a36Sopenharmony_ci		switch board.
71662306a36Sopenharmony_ci
71762306a36Sopenharmony_ci		The file is read only.
718