Merge drm/drm-next into drm-misc-next
[platform/kernel/linux-rpi.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                                                         fan_dir
25
26 Date:           December 2018
27 KernelVersion:  5.0
28 Contact:        Vadim Pasternak <vadimpmellanox.com>
29 Description:    This file shows the system fans direction:
30                 forward direction - relevant bit is set 0;
31                 reversed direction - relevant bit is set 1.
32
33                 The files are read only.
34
35 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
36                                                         jtag_enable
37
38 Date:           November 2018
39 KernelVersion:  5.0
40 Contact:        Vadim Pasternak <vadimpmellanox.com>
41 Description:    These files show with which CPLD versions have been burned
42                 on LED board.
43
44                 The files are read only.
45
46 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
47                                                         jtag_enable
48
49 Date:           November 2018
50 KernelVersion:  5.0
51 Contact:        Vadim Pasternak <vadimpmellanox.com>
52 Description:    These files enable and disable the access to the JTAG domain.
53                 By default access to the JTAG domain is disabled.
54
55                 The file is read/write.
56
57 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
58 Date:           June 2018
59 KernelVersion:  4.19
60 Contact:        Vadim Pasternak <vadimpmellanox.com>
61 Description:    This file allows iio devices selection.
62
63                 Attribute select_iio can be written with 0 or with 1. It
64                 selects which one of iio devices can be accessed.
65
66                 The file is read/write.
67
68 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
69                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
70                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
71                 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
72 Date:           June 2018
73 KernelVersion:  4.19
74 Contact:        Vadim Pasternak <vadimpmellanox.com>
75 Description:    These files allow asserting system power cycling, switching
76                 power supply units on and off and system's main power domain
77                 shutdown.
78                 Expected behavior:
79                 When pwr_cycle is written 1: auxiliary power domain will go
80                 down and after short period (about 1 second) up.
81                 When  psu1_on or psu2_on is written 1, related unit will be
82                 disconnected from the power source, when written 0 - connected.
83                 If both are written 1 - power supplies main power domain will
84                 go down.
85                 When pwr_down is written 1, system's main power domain will go
86                 down.
87
88                 The files are write only.
89
90 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
91                                                         reset_aux_pwr_or_ref
92                                                         reset_asic_thermal
93                                                         reset_hotswap_or_halt
94                                                         reset_hotswap_or_wd
95                                                         reset_fw_reset
96                                                         reset_long_pb
97                                                         reset_main_pwr_fail
98                                                         reset_short_pb
99                                                         reset_sw_reset
100 Date:           June 2018
101 KernelVersion:  4.19
102 Contact:        Vadim Pasternak <vadimpmellanox.com>
103 Description:    These files show the system reset cause, as following: power
104                 auxiliary outage or power refresh, ASIC thermal shutdown, halt,
105                 hotswap, watchdog, firmware reset, long press power button,
106                 short press power button, software reset. Value 1 in file means
107                 this is reset cause, 0 - otherwise. Only one of the above
108                 causes could be 1 at the same time, representing only last
109                 reset cause.
110
111                 The files are read only.
112
113 What:           /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
114                                                 reset_comex_pwr_fail
115                                                 reset_from_comex
116                                                 reset_system
117                                                 reset_voltmon_upgrade_fail
118
119 Date:           November 2018
120 KernelVersion:  5.0
121 Contact:        Vadim Pasternak <vadimpmellanox.com>
122 Description:    These files show the system reset cause, as following: ComEx
123                 power fail, reset from ComEx, system platform reset, reset
124                 due to voltage monitor devices upgrade failure,
125                 Value 1 in file means this is reset cause, 0 - otherwise.
126                 Only one bit could be 1 at the same time, representing only
127                 the last reset cause.
128
129                 The files are read only.