Skip to content

Commit 42bab8e

Browse files
vadimp-nvidiajwrdegoede
authored andcommitted
Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces
Add documentation for the new attributes: - CPLD versioning: "cpld5_pn", "cpld5_version", "cpld5_version_min". - JTAG capability: "jtag_cap", indicating the available method of CPLD/FPGA devices field update. - System lid status: "lid_open". - Reset caused by long press of power button: "reset_long_pwr_pb". - Reset caused by switch board DC-DC converter device failure: "reset_swb_dc_dc_pwr_fail". Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Michael Shych <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent e2aabb7 commit 42bab8e

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

Documentation/ABI/stable/sysfs-driver-mlxreg-io

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,3 +662,56 @@ Description: This file shows the system reset cause due to AC power failure.
662662
Value 1 in file means this is reset cause, 0 - otherwise.
663663

664664
The file is read only.
665+
666+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_pn
667+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version
668+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version_min
669+
Date: August 2023
670+
KernelVersion: 6.6
671+
Contact: Vadim Pasternak <[email protected]>
672+
Description: These files show with which CPLD part numbers, version and minor
673+
versions have been burned the 5-th CPLD device equipped on a
674+
system.
675+
676+
The files are read only.
677+
678+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_cap
679+
Date: August 2023
680+
KernelVersion: 6.6
681+
Contact: Vadim Pasternak <[email protected]>
682+
Description: This file indicates the available method of CPLD/FPGA devices
683+
field update through the JTAG chain:
684+
685+
b00 - field update through LPC bus register memory space.
686+
b01 - Reserved.
687+
b10 - Reserved.
688+
b11 - field update through CPU GPIOs bit-banging.
689+
690+
The file is read only.
691+
692+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lid_open
693+
Date: August 2023
694+
KernelVersion: 6.6
695+
Contact: Vadim Pasternak <[email protected]>
696+
Description: 1 - indicates that system lid is opened, otherwise 0.
697+
698+
The file is read only.
699+
700+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pwr_pb
701+
Date: August 2023
702+
KernelVersion: 6.6
703+
Contact: Vadim Pasternak <[email protected]>
704+
Description: This file if set 1 indicates that system has been reset by
705+
long press of power button.
706+
707+
The file is read only.
708+
709+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_dc_dc_pwr_fail
710+
Date: August 2023
711+
KernelVersion: 6.6
712+
Contact: Vadim Pasternak <[email protected]>
713+
Description: This file shows 1 in case the system reset happened due to the
714+
failure of any DC-DC power converter devices equipped on the
715+
switch board.
716+
717+
The file is read only.

0 commit comments

Comments
 (0)