sysfs-driver-mlxreg-io 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
  2. Date: June 2018
  3. KernelVersion: 4.19
  4. Contact: Vadim Pasternak <vadimpmellanox.com>
  5. Description: This file shows ASIC health status. The possible values are:
  6. 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
  7. The files are read only.
  8. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
  9. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
  10. Date: June 2018
  11. KernelVersion: 4.19
  12. Contact: Vadim Pasternak <vadimpmellanox.com>
  13. Description: These files show with which CPLD versions have been burned
  14. on carrier and switch boards.
  15. The files are read only.
  16. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
  17. Date: December 2018
  18. KernelVersion: 5.0
  19. Contact: Vadim Pasternak <vadimpmellanox.com>
  20. Description: This file shows the system fans direction:
  21. forward direction - relevant bit is set 0;
  22. reversed direction - relevant bit is set 1.
  23. The files are read only.
  24. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
  25. Date: November 2018
  26. KernelVersion: 5.0
  27. Contact: Vadim Pasternak <vadimpmellanox.com>
  28. Description: These files show with which CPLD versions have been burned
  29. on LED or Gearbox board.
  30. The files are read only.
  31. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
  32. Date: November 2018
  33. KernelVersion: 5.0
  34. Contact: Vadim Pasternak <vadimpmellanox.com>
  35. Description: These files enable and disable the access to the JTAG domain.
  36. By default access to the JTAG domain is disabled.
  37. The file is read/write.
  38. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
  39. Date: June 2018
  40. KernelVersion: 4.19
  41. Contact: Vadim Pasternak <vadimpmellanox.com>
  42. Description: This file allows iio devices selection.
  43. Attribute select_iio can be written with 0 or with 1. It
  44. selects which one of iio devices can be accessed.
  45. The file is read/write.
  46. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
  47. /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
  48. /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
  49. /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
  50. Date: June 2018
  51. KernelVersion: 4.19
  52. Contact: Vadim Pasternak <vadimpmellanox.com>
  53. Description: These files allow asserting system power cycling, switching
  54. power supply units on and off and system's main power domain
  55. shutdown.
  56. Expected behavior:
  57. When pwr_cycle is written 1: auxiliary power domain will go
  58. down and after short period (about 1 second) up.
  59. When psu1_on or psu2_on is written 1, related unit will be
  60. disconnected from the power source, when written 0 - connected.
  61. If both are written 1 - power supplies main power domain will
  62. go down.
  63. When pwr_down is written 1, system's main power domain will go
  64. down.
  65. The files are write only.
  66. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
  67. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
  68. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
  69. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
  70. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
  71. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
  72. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
  73. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
  74. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
  75. Date: June 2018
  76. KernelVersion: 4.19
  77. Contact: Vadim Pasternak <vadimpmellanox.com>
  78. Description: These files show the system reset cause, as following: power
  79. auxiliary outage or power refresh, ASIC thermal shutdown, halt,
  80. hotswap, watchdog, firmware reset, long press power button,
  81. short press power button, software reset. Value 1 in file means
  82. this is reset cause, 0 - otherwise. Only one of the above
  83. causes could be 1 at the same time, representing only last
  84. reset cause.
  85. The files are read only.
  86. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
  87. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
  88. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
  89. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
  90. Date: November 2018
  91. KernelVersion: 5.0
  92. Contact: Vadim Pasternak <vadimpmellanox.com>
  93. Description: These files show the system reset cause, as following: ComEx
  94. power fail, reset from ComEx, system platform reset, reset
  95. due to voltage monitor devices upgrade failure,
  96. Value 1 in file means this is reset cause, 0 - otherwise.
  97. Only one bit could be 1 at the same time, representing only
  98. the last reset cause.
  99. The files are read only.
  100. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
  101. Date: November 2018
  102. KernelVersion: 5.0
  103. Contact: Vadim Pasternak <vadimpmellanox.com>
  104. Description: These files show with which CPLD versions have been burned
  105. on LED board.
  106. The files are read only.
  107. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
  108. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
  109. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
  110. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
  111. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
  112. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
  113. Date: June 2019
  114. KernelVersion: 5.3
  115. Contact: Vadim Pasternak <vadimpmellanox.com>
  116. Description: These files show the system reset cause, as following:
  117. COMEX thermal shutdown; wathchdog power off or reset was derived
  118. by one of the next components: COMEX, switch board or by Small Form
  119. Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
  120. reload. Value 1 in file means this is reset cause, 0 - otherwise.
  121. Only one of the above causes could be 1 at the same time, representing
  122. only last reset cause.
  123. The files are read only.
  124. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config1
  125. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/config2
  126. Date: January 2020
  127. KernelVersion: 5.6
  128. Contact: Vadim Pasternak <vadimpmellanox.com>
  129. Description: These files show system static topology identification
  130. like system's static I2C topology, number and type of FPGA
  131. devices within the system and so on.
  132. The files are read only.
  133. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_pwr_fail
  134. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_platform
  135. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_soc
  136. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_pwr_off
  137. Date: January 2020
  138. KernelVersion: 5.6
  139. Contact: Vadim Pasternak <vadimpmellanox.com>
  140. Description: These files show the system reset causes, as following: reset
  141. due to AC power failure, reset invoked from software by
  142. assertion reset signal through CPLD. reset caused by signal
  143. asserted by SOC through ACPI register, reset invoked from
  144. software by assertion power off signal through CPLD.
  145. The files are read only.
  146. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pcie_asic_reset_dis
  147. Date: January 2020
  148. KernelVersion: 5.6
  149. Contact: Vadim Pasternak <vadimpmellanox.com>
  150. Description: This file allows to retain ASIC up during PCIe root complex
  151. reset, when attribute is set 1.
  152. The file is read/write.
  153. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/vpd_wp
  154. Date: January 2020
  155. KernelVersion: 5.6
  156. Contact: Vadim Pasternak <vadimpmellanox.com>
  157. Description: This file allows to overwrite system VPD hardware wrtie
  158. protection when attribute is set 1.
  159. The file is read/write.
  160. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/voltreg_update_status
  161. Date: January 2020
  162. KernelVersion: 5.6
  163. Contact: Vadim Pasternak <vadimpmellanox.com>
  164. Description: This file exposes the configuration update status of burnable
  165. voltage regulator devices. The status values are as following:
  166. 0 - OK; 1 - CRC failure; 2 = I2C failure; 3 - in progress.
  167. The file is read only.
  168. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ufm_version
  169. Date: January 2020
  170. KernelVersion: 5.6
  171. Contact: Vadim Pasternak <vadimpmellanox.com>
  172. Description: This file exposes the firmware version of burnable voltage
  173. regulator devices.
  174. The file is read only.
  175. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_pn
  176. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_pn
  177. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_pn
  178. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_pn
  179. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version_min
  180. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version_min
  181. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version_min
  182. What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version_min
  183. Date: July 2020
  184. KernelVersion: 5.9
  185. Contact: Vadim Pasternak <vadimpmellanox.com>
  186. Description: These files show with which CPLD part numbers and minor
  187. versions have been burned CPLD devices equipped on a
  188. system.
  189. The files are read only.