1f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
2f193f798SVadim Pasternak							asic_health
3f193f798SVadim Pasternak
4f193f798SVadim PasternakDate:		June 2018
5f193f798SVadim PasternakKernelVersion:	4.19
6f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
7f193f798SVadim PasternakDescription:	This file shows ASIC health status. The possible values are:
8f193f798SVadim Pasternak		0 - health failed, 2 - health OK, 3 - ASIC in booting state.
9f193f798SVadim Pasternak
10f193f798SVadim Pasternak		The files are read only.
11f193f798SVadim Pasternak
12f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
13f193f798SVadim Pasternak							cpld1_version
14f193f798SVadim Pasternak							cpld2_version
15f193f798SVadim Pasternak
16f193f798SVadim PasternakDate:		June 2018
17f193f798SVadim PasternakKernelVersion:	4.19
18f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
19f193f798SVadim PasternakDescription:	These files show with which CPLD versions have been burned
20f193f798SVadim Pasternak		on carrier and switch boards.
21f193f798SVadim Pasternak
22f193f798SVadim Pasternak		The files are read only.
23f193f798SVadim Pasternak
24f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
25f193f798SVadim PasternakDate:		June 2018
26f193f798SVadim PasternakKernelVersion:	4.19
27f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
28f193f798SVadim PasternakDescription:	This file allows iio devices selection.
29f193f798SVadim Pasternak
30f193f798SVadim Pasternak		Attribute select_iio can be written with 0 or with 1. It
31f193f798SVadim Pasternak		selects which one of iio devices can be accessed.
32f193f798SVadim Pasternak
33f193f798SVadim Pasternak		The file is read/write.
34f193f798SVadim Pasternak
35f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
36f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
37f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
38f193f798SVadim Pasternak		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
39f193f798SVadim PasternakDate:		June 2018
40f193f798SVadim PasternakKernelVersion:	4.19
41f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
42f193f798SVadim PasternakDescription:	These files allow asserting system power cycling, switching
43f193f798SVadim Pasternak		power supply units on and off and system's main power domain
44f193f798SVadim Pasternak		shutdown.
45f193f798SVadim Pasternak		Expected behavior:
46f193f798SVadim Pasternak		When pwr_cycle is written 1: auxiliary power domain will go
47f193f798SVadim Pasternak		down and after short period (about 1 second) up.
48f193f798SVadim Pasternak		When  psu1_on or psu2_on is written 1, related unit will be
49f193f798SVadim Pasternak		disconnected from the power source, when written 0 - connected.
50f193f798SVadim Pasternak		If both are written 1 - power supplies main power domain will
51f193f798SVadim Pasternak		go down.
52f193f798SVadim Pasternak		When pwr_down is written 1, system's main power domain will go
53f193f798SVadim Pasternak		down.
54f193f798SVadim Pasternak
55f193f798SVadim Pasternak		The files are write only.
56f193f798SVadim Pasternak
57f193f798SVadim PasternakWhat:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
58f193f798SVadim Pasternak							reset_aux_pwr_or_ref
59f193f798SVadim Pasternak							reset_asic_thermal
60a34e1343SVadim Pasternak							reset_hotswap_or_halt
61f193f798SVadim Pasternak							reset_hotswap_or_wd
62f193f798SVadim Pasternak							reset_fw_reset
63f193f798SVadim Pasternak							reset_long_pb
64f193f798SVadim Pasternak							reset_main_pwr_fail
65f193f798SVadim Pasternak							reset_short_pb
66f193f798SVadim Pasternak							reset_sw_reset
67f193f798SVadim PasternakDate:		June 2018
68f193f798SVadim PasternakKernelVersion:	4.19
69f193f798SVadim PasternakContact:	Vadim Pasternak <vadimpmellanox.com>
70f193f798SVadim PasternakDescription:	These files show the system reset cause, as following: power
71a34e1343SVadim Pasternak		auxiliary outage or power refresh, ASIC thermal shutdown, halt,
72a34e1343SVadim Pasternak		hotswap, watchdog, firmware reset, long press power button,
73f193f798SVadim Pasternak		short press power button, software reset. Value 1 in file means
74f193f798SVadim Pasternak		this is reset cause, 0 - otherwise. Only one of the above
75f193f798SVadim Pasternak		causes could be 1 at the same time, representing only last
76f193f798SVadim Pasternak		reset cause.
77f193f798SVadim Pasternak
78f193f798SVadim Pasternak		The files are read only.
79