14056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
2f193f798SVadim Pasternak
3f193f798SVadim PasternakDate:		June 2018
4f193f798SVadim PasternakKernelVersion:	4.19
5f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
6f193f798SVadim PasternakDescription:	This file shows ASIC health status. The possible values are:
7f193f798SVadim Pasternak		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
8f193f798SVadim Pasternak
9f193f798SVadim Pasternak		The files are read only.
10f193f798SVadim Pasternak
114056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
124056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
13f193f798SVadim PasternakDate:		June 2018
14f193f798SVadim PasternakKernelVersion:	4.19
15f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
16f193f798SVadim PasternakDescription:	These files show with which CPLD versions have been burned
17f193f798SVadim Pasternak		on carrier and switch boards.
18f193f798SVadim Pasternak
19f193f798SVadim Pasternak		The files are read only.
20f193f798SVadim Pasternak
214056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
222752e344SVadim Pasternak
232752e344SVadim PasternakDate:		December 2018
242752e344SVadim PasternakKernelVersion:	5.0
252752e344SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
262752e344SVadim PasternakDescription:	This file shows the system fans direction:
272752e344SVadim Pasternak		forward direction - relevant bit is set 0;
282752e344SVadim Pasternak		reversed direction - relevant bit is set 1.
292752e344SVadim Pasternak
302752e344SVadim Pasternak		The files are read only.
312752e344SVadim Pasternak
324056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
3352675da1SVadim Pasternak
3452675da1SVadim PasternakDate:		November 2018
35522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
3652675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
3752675da1SVadim PasternakDescription:	These files show with which CPLD versions have been burned
3852675da1SVadim Pasternak		on LED board.
3952675da1SVadim Pasternak
4052675da1SVadim Pasternak		The files are read only.
4152675da1SVadim Pasternak
424056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
4352675da1SVadim Pasternak
4452675da1SVadim PasternakDate:		November 2018
45522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
4652675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
4752675da1SVadim PasternakDescription:	These files enable and disable the access to the JTAG domain.
4852675da1SVadim Pasternak		By default access to the JTAG domain is disabled.
4952675da1SVadim Pasternak
5052675da1SVadim Pasternak		The file is read/write.
5152675da1SVadim Pasternak
52f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
53f193f798SVadim PasternakDate:		June 2018
54f193f798SVadim PasternakKernelVersion:	4.19
55f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
56f193f798SVadim PasternakDescription:	This file allows iio devices selection.
57f193f798SVadim Pasternak
58f193f798SVadim Pasternak		Attribute select_iio can be written with 0 or with 1. It
59f193f798SVadim Pasternak		selects which one of iio devices can be accessed.
60f193f798SVadim Pasternak
61f193f798SVadim Pasternak		The file is read/write.
62f193f798SVadim Pasternak
63f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
64f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
65f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
66f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
67f193f798SVadim PasternakDate:		June 2018
68f193f798SVadim PasternakKernelVersion:	4.19
69f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
70f193f798SVadim PasternakDescription:	These files allow asserting system power cycling, switching
71f193f798SVadim Pasternak		power supply units on and off and system's main power domain
72f193f798SVadim Pasternak		shutdown.
73f193f798SVadim Pasternak		Expected behavior:
74f193f798SVadim Pasternak		When pwr_cycle is written 1: auxiliary power domain will go
75f193f798SVadim Pasternak		down and after short period (about 1 second) up.
76f193f798SVadim Pasternak		When  psu1_on or psu2_on is written 1, related unit will be
77f193f798SVadim Pasternak		disconnected from the power source, when written 0 - connected.
78f193f798SVadim Pasternak		If both are written 1 - power supplies main power domain will
79f193f798SVadim Pasternak		go down.
80f193f798SVadim Pasternak		When pwr_down is written 1, system's main power domain will go
81f193f798SVadim Pasternak		down.
82f193f798SVadim Pasternak
83f193f798SVadim Pasternak		The files are write only.
84f193f798SVadim Pasternak
854056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
864056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
874056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
884056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
894056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
904056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
914056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
924056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
934056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
94f193f798SVadim PasternakDate:		June 2018
95f193f798SVadim PasternakKernelVersion:	4.19
96f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
97f193f798SVadim PasternakDescription:	These files show the system reset cause, as following: power
98a34e1343SVadim Pasternak		auxiliary outage or power refresh, ASIC thermal shutdown, halt,
99a34e1343SVadim Pasternak		hotswap, watchdog, firmware reset, long press power button,
100f193f798SVadim Pasternak		short press power button, software reset. Value 1 in file means
101f193f798SVadim Pasternak		this is reset cause, 0 - otherwise. Only one of the above
102f193f798SVadim Pasternak		causes could be 1 at the same time, representing only last
103f193f798SVadim Pasternak		reset cause.
104f193f798SVadim Pasternak
105f193f798SVadim Pasternak		The files are read only.
10652675da1SVadim Pasternak
1074056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
1084056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
1094056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
1104056e79fSMauro Carvalho ChehabWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
11152675da1SVadim Pasternak
11252675da1SVadim PasternakDate:		November 2018
113522e4ee6SDarren Hart (VMware)KernelVersion:	5.0
11452675da1SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
11552675da1SVadim PasternakDescription:	These files show the system reset cause, as following: ComEx
11652675da1SVadim Pasternak		power fail, reset from ComEx, system platform reset, reset
11752675da1SVadim Pasternak		due to voltage monitor devices upgrade failure,
11852675da1SVadim Pasternak		Value 1 in file means this is reset cause, 0 - otherwise.
11952675da1SVadim Pasternak		Only one bit could be 1 at the same time, representing only
12052675da1SVadim Pasternak		the last reset cause.
12152675da1SVadim Pasternak
12252675da1SVadim Pasternak		The files are read only.
123