Home
last modified time | relevance | path

Searched hist:"23 fe8112a23106e7dfc2b73fc52a60ea3eb64c20" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/soc/hisilicon/
H A Dkunpeng_hccs.hdiff 23fe8112a23106e7dfc2b73fc52a60ea3eb64c20 Wed Aug 28 12:49:55 CEST 2024 Huisong Li <lihuisong@huawei.com> 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>
H A Dkunpeng_hccs.cdiff 23fe8112a23106e7dfc2b73fc52a60ea3eb64c20 Wed Aug 28 12:49:55 CEST 2024 Huisong Li <lihuisong@huawei.com> 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>