Skip to content
/ linux Public

Commit b1a9c69

Browse files
mshychjwrdegoede
authored andcommitted
Documentation/ABI: Add new attributes for mlxreg-io sysfs interfaces
Add documentation for the new attributes: - "phy_reset" - Reset PHY. - "mac_reset" - Reset MAC. - "qsfp_pwr_good" - The power status of QSFP ports. Signed-off-by: Michael Shych <michaelsh@nvidia.com> Reviewed-by: Vadim Pasternak <vadimp@nvidia.com> Link: https://lore.kernel.org/r/20220430115809.54565-4-michaelsh@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 662f248 commit b1a9c69

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,3 +467,39 @@ Description: These files provide the maximum powered required for line card
467467
feeding and line card configuration Id.
468468

469469
The files are read only.
470+
471+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/phy_reset
472+
Date: May 2022
473+
KernelVersion: 5.19
474+
Contact: Vadim Pasternak <vadimpmellanox.com>
475+
Description: This file allows to reset PHY 88E1548 when attribute is set 0
476+
due to some abnormal PHY behavior.
477+
Expected behavior:
478+
When phy_reset is written 1, all PHY 88E1548 are released
479+
from the reset state, when 0 - are hold in reset state.
480+
481+
The files are read/write.
482+
483+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/mac_reset
484+
Date: May 2022
485+
KernelVersion: 5.19
486+
Contact: Vadim Pasternak <vadimpmellanox.com>
487+
Description: This file allows to reset ASIC MT52132 when attribute is set 0
488+
due to some abnormal ASIC behavior.
489+
Expected behavior:
490+
When mac_reset is written 1, the ASIC MT52132 is released
491+
from the reset state, when 0 - is hold in reset state.
492+
493+
The files are read/write.
494+
495+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/qsfp_pwr_good
496+
Date: May 2022
497+
KernelVersion: 5.19
498+
Contact: Vadim Pasternak <vadimpmellanox.com>
499+
Description: This file shows QSFP ports power status. The value is set to 0
500+
when one of any QSFP ports is plugged. The value is set to 1 when
501+
there are no any QSFP ports are plugged.
502+
The possible values are:
503+
0 - Power good, 1 - Not power good.
504+
505+
The files are read only.

0 commit comments

Comments
 (0)