Merge tag 'nfs-for-4.21-1' of git://git.linux-nfs.org/projects/anna/linux-nfs
[sfrench/cifs-2.6.git] / Documentation / ABI / stable / sysfs-driver-mlxreg-io
1 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
2                                                         asic_health
3
4 Date:           June 2018
5 KernelVersion:  4.19
6 Contact:        Vadim Pasternak <vadimpmellanox.com>
7 Description:    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
12 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
13                                                         cpld1_version
14                                                         cpld2_version
15 Date:           June 2018
16 KernelVersion:  4.19
17 Contact:        Vadim Pasternak <vadimpmellanox.com>
18 Description:    These files show with which CPLD versions have been burned
19                 on carrier and switch boards.
20
21                 The files are read only.
22
23 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
24                                                         cpld3_version
25
26 Date:           November 2018
27 KernelVersion:  4.21
28 Contact:        Vadim Pasternak <vadimpmellanox.com>
29 Description:    These files show with which CPLD versions have been burned
30                 on LED board.
31
32                 The files are read only.
33
34 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
35                                                         jtag_enable
36
37 Date:           November 2018
38 KernelVersion:  4.21
39 Contact:        Vadim Pasternak <vadimpmellanox.com>
40 Description:    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
45 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
46 Date:           June 2018
47 KernelVersion:  4.19
48 Contact:        Vadim Pasternak <vadimpmellanox.com>
49 Description:    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
56 What:           /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
60 Date:           June 2018
61 KernelVersion:  4.19
62 Contact:        Vadim Pasternak <vadimpmellanox.com>
63 Description:    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
78 What:           /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
88 Date:           June 2018
89 KernelVersion:  4.19
90 Contact:        Vadim Pasternak <vadimpmellanox.com>
91 Description:    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
101 What:           /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
107 Date:           November 2018
108 KernelVersion:  4.21
109 Contact:        Vadim Pasternak <vadimpmellanox.com>
110 Description:    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.