1What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 2 asic_health 3 4Date: June 2018 5KernelVersion: 4.19 6Contact: Vadim Pasternak <vadimpmellanox.com> 7Description: 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 12What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 13 cpld1_version 14 cpld2_version 15Date: June 2018 16KernelVersion: 4.19 17Contact: Vadim Pasternak <vadimpmellanox.com> 18Description: These files show with which CPLD versions have been burned 19 on carrier and switch boards. 20 21 The files are read only. 22 23What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 24 cpld3_version 25 26Date: November 2018 27KernelVersion: 4.21 28Contact: Vadim Pasternak <vadimpmellanox.com> 29Description: These files show with which CPLD versions have been burned 30 on LED board. 31 32 The files are read only. 33 34What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 35 jtag_enable 36 37Date: November 2018 38KernelVersion: 4.21 39Contact: Vadim Pasternak <vadimpmellanox.com> 40Description: These files enable and disable the access to the JTAG domain. 41 By default access to the JTAG domain is disabled. 42 43 The file is read/write. 44 45What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio 46Date: June 2018 47KernelVersion: 4.19 48Contact: Vadim Pasternak <vadimpmellanox.com> 49Description: This file allows iio devices selection. 50 51 Attribute select_iio can be written with 0 or with 1. It 52 selects which one of iio devices can be accessed. 53 54 The file is read/write. 55 56What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on 57 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on 58 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle 59 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down 60Date: June 2018 61KernelVersion: 4.19 62Contact: Vadim Pasternak <vadimpmellanox.com> 63Description: These files allow asserting system power cycling, switching 64 power supply units on and off and system's main power domain 65 shutdown. 66 Expected behavior: 67 When pwr_cycle is written 1: auxiliary power domain will go 68 down and after short period (about 1 second) up. 69 When psu1_on or psu2_on is written 1, related unit will be 70 disconnected from the power source, when written 0 - connected. 71 If both are written 1 - power supplies main power domain will 72 go down. 73 When pwr_down is written 1, system's main power domain will go 74 down. 75 76 The files are write only. 77 78What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 79 reset_aux_pwr_or_ref 80 reset_asic_thermal 81 reset_hotswap_or_halt 82 reset_hotswap_or_wd 83 reset_fw_reset 84 reset_long_pb 85 reset_main_pwr_fail 86 reset_short_pb 87 reset_sw_reset 88Date: June 2018 89KernelVersion: 4.19 90Contact: Vadim Pasternak <vadimpmellanox.com> 91Description: These files show the system reset cause, as following: power 92 auxiliary outage or power refresh, ASIC thermal shutdown, halt, 93 hotswap, watchdog, firmware reset, long press power button, 94 short press power button, software reset. Value 1 in file means 95 this is reset cause, 0 - otherwise. Only one of the above 96 causes could be 1 at the same time, representing only last 97 reset cause. 98 99 The files are read only. 100 101What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ 102 reset_comex_pwr_fail 103 reset_from_comex 104 reset_system 105 reset_voltmon_upgrade_fail 106 107Date: November 2018 108KernelVersion: 4.21 109Contact: Vadim Pasternak <vadimpmellanox.com> 110Description: These files show the system reset cause, as following: ComEx 111 power fail, reset from ComEx, system platform reset, reset 112 due to voltage monitor devices upgrade failure, 113 Value 1 in file means this is reset cause, 0 - otherwise. 114 Only one bit could be 1 at the same time, representing only 115 the last reset cause. 116 117 The files are read only. 118