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 15 16Date: June 2018 17KernelVersion: 4.19 18Contact: Vadim Pasternak <vadimpmellanox.com> 19Description: These files show with which CPLD versions have been burned 20 on carrier and switch boards. 21 22 The files are read only. 23 24What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio 25Date: June 2018 26KernelVersion: 4.19 27Contact: Vadim Pasternak <vadimpmellanox.com> 28Description: 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 35What: /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 39Date: June 2018 40KernelVersion: 4.19 41Contact: Vadim Pasternak <vadimpmellanox.com> 42Description: 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 57What: /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 67Date: June 2018 68KernelVersion: 4.19 69Contact: Vadim Pasternak <vadimpmellanox.com> 70Description: 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. 79