Merge tag 'meminit-v5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[sfrench/cifs-2.6.git] / Documentation / ABI / stable / sysfs-driver-mlxreg-io
1 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
2
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
9                 The files are read only.
10
11 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
12 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
13 Date:           June 2018
14 KernelVersion:  4.19
15 Contact:        Vadim Pasternak <vadimpmellanox.com>
16 Description:    These files show with which CPLD versions have been burned
17                 on carrier and switch boards.
18
19                 The files are read only.
20
21 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
22
23 Date:           December 2018
24 KernelVersion:  5.0
25 Contact:        Vadim Pasternak <vadimpmellanox.com>
26 Description:    This file shows the system fans direction:
27                 forward direction - relevant bit is set 0;
28                 reversed direction - relevant bit is set 1.
29
30                 The files are read only.
31
32 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
33
34 Date:           November 2018
35 KernelVersion:  5.0
36 Contact:        Vadim Pasternak <vadimpmellanox.com>
37 Description:    These files show with which CPLD versions have been burned
38                 on LED board.
39
40                 The files are read only.
41
42 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
43
44 Date:           November 2018
45 KernelVersion:  5.0
46 Contact:        Vadim Pasternak <vadimpmellanox.com>
47 Description:    These files enable and disable the access to the JTAG domain.
48                 By default access to the JTAG domain is disabled.
49
50                 The file is read/write.
51
52 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
53 Date:           June 2018
54 KernelVersion:  4.19
55 Contact:        Vadim Pasternak <vadimpmellanox.com>
56 Description:    This file allows iio devices selection.
57
58                 Attribute select_iio can be written with 0 or with 1. It
59                 selects which one of iio devices can be accessed.
60
61                 The file is read/write.
62
63 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
64                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
65                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
66                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
67 Date:           June 2018
68 KernelVersion:  4.19
69 Contact:        Vadim Pasternak <vadimpmellanox.com>
70 Description:    These files allow asserting system power cycling, switching
71                 power supply units on and off and system's main power domain
72                 shutdown.
73                 Expected behavior:
74                 When pwr_cycle is written 1: auxiliary power domain will go
75                 down and after short period (about 1 second) up.
76                 When  psu1_on or psu2_on is written 1, related unit will be
77                 disconnected from the power source, when written 0 - connected.
78                 If both are written 1 - power supplies main power domain will
79                 go down.
80                 When pwr_down is written 1, system's main power domain will go
81                 down.
82
83                 The files are write only.
84
85 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
86 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
87 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
88 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
89 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
90 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
91 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
92 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
93 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
94 Date:           June 2018
95 KernelVersion:  4.19
96 Contact:        Vadim Pasternak <vadimpmellanox.com>
97 Description:    These files show the system reset cause, as following: power
98                 auxiliary outage or power refresh, ASIC thermal shutdown, halt,
99                 hotswap, watchdog, firmware reset, long press power button,
100                 short press power button, software reset. Value 1 in file means
101                 this is reset cause, 0 - otherwise. Only one of the above
102                 causes could be 1 at the same time, representing only last
103                 reset cause.
104
105                 The files are read only.
106
107 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
108 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
109 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
110 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
111
112 Date:           November 2018
113 KernelVersion:  5.0
114 Contact:        Vadim Pasternak <vadimpmellanox.com>
115 Description:    These files show the system reset cause, as following: ComEx
116                 power fail, reset from ComEx, system platform reset, reset
117                 due to voltage monitor devices upgrade failure,
118                 Value 1 in file means this is reset cause, 0 - otherwise.
119                 Only one bit could be 1 at the same time, representing only
120                 the last reset cause.
121
122                 The files are read only.
123
124 Date:           June 2019
125 KernelVersion:  5.3
126 Contact:        Vadim Pasternak <vadimpmellanox.com>
127 Description:    These files show the system reset cause, as following:
128                 COMEX thermal shutdown; wathchdog power off or reset was derived
129                 by one of the next components: COMEX, switch board or by Small Form
130                 Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
131                 reload. Value 1 in file means this is reset cause, 0 - otherwise.
132                 Only one of the above causes could be 1 at the same time, representing
133                 only last reset cause.
134
135                 The files are read only.
136
137 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
138 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
139 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
140 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
141 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
142 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd