diff mbox series

[5/5] doc: soc: hisilicon: kunpeng_hccs: add low power interface description for HCCS

Message ID 20240718071134.31155-6-lihuisong@huawei.com (mailing list archive)
State New, archived
Headers show
Series Add some features and bugfix for kunpeng_hccs | expand

Commit Message

Huisong Li July 18, 2024, 7:11 a.m. UTC
This patch add low power interface description for HCCS.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
---
 .../sysfs-devices-platform-kunpeng_hccs       | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
index 1666340820f7..28bffb79e742 100644
--- a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
+++ b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
@@ -79,3 +79,29 @@  Description:
 			           indicates a lane.
 		crc_err_cnt:  (RO) CRC err count on this port.
 		============= ==== =============================================
+
+What:		/sys/devices/platform/HISI04Bx:00/used_typs
+Date:		July 2024
+KernelVersion:	6.11
+Contact:	Huisong Li <lihuisong@huawei.com>
+Description:
+		This interface is used to show all HCCS type used on current
+		platform, like, HCCS-v1, HCCS-v2 and so on.
+
+What:		/sys/devices/platform/HISI04Bx:00/support_pm_types
+What:		/sys/devices/platform/HISI04Bx:00/dec_lane
+What:		/sys/devices/platform/HISI04Bx:00/inc_lane
+Date:		July 2024
+KernelVersion:	6.11
+Contact:	Huisong Li <lihuisong@huawei.com>
+Description:
+		This series interface under /sys/devices/platform/HISI04Bx/
+		directory is used to support low power of some HCCS type
+		by operating their lane number. The 'inc_lane' and 'dec_lane'
+		are just exposed with root privilege and write-onely attributes
+		when there is the HCCS type supported low power operation.
+		The 'support_pm_types' with read-only attributes is used to
+		expose the HCCS type supported PM. The available input of
+		'inc_lane' and 'dec_lane' is from 'support_pm_types'.
+		Note: allow to decrease lane only when all specified HCCS ports
+		are not busy.