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