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