sysfs-driver-mlxreg-io 2.7 KB

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