diff options
author | Huisong Li <lihuisong@huawei.com> | 2024-08-28 18:49:55 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2024-10-14 08:54:50 +0000 |
commit | 23fe8112a23106e7dfc2b73fc52a60ea3eb64c20 (patch) | |
tree | 23f6515c35059f5c90baf7260bb7d70355ec486a /Documentation/ABI | |
parent | b51878373a81bda3a790fd936507fd0643ef98b3 (diff) | |
download | linux-23fe8112a23106e7dfc2b73fc52a60ea3eb64c20.tar.gz linux-23fe8112a23106e7dfc2b73fc52a60ea3eb64c20.tar.bz2 linux-23fe8112a23106e7dfc2b73fc52a60ea3eb64c20.zip |
soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs
Kunpeng_hccs driver supports multiple HCCS types used on one platform at
the same time. In this case, to find which HCCS types are used on the
platform the user needs to scan the type attribute of all ports, which is
unfriendly to the user. In addition, the aggregated information is also
useful for global control like the low power feature.
So add the sysfs to show all HCCS types used on the platform.
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs index 1666340820f7..d4c355e0e0bb 100644 --- a/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs +++ b/Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs @@ -79,3 +79,11 @@ Description: indicates a lane. crc_err_cnt: (RO) CRC err count on this port. ============= ==== ============================================= + +What: /sys/devices/platform/HISI04Bx:00/used_types +Date: August 2024 +KernelVersion: 6.12 +Contact: Huisong Li <lihuisong@huawei.com> +Description: + This interface is used to show all HCCS types used on the + platform, like, HCCS-v1, HCCS-v2 and so on. |