[PATCH v2 0/6] Add some features and bugfix for kunpeng_hccs

Huisong Li
2024-08-23T03:21:01Z

This series are intended to support the low power feature for specified
HCCS and add used HCCS types sysfs. In addition, fix some bugfix and
enhance some codes.

---
v2:
- remove "this patch" words in commit log suggested by Krzyszto.
- use for_each_set_bit to replace the cycle scanning all HCCS IP.
- add a patch to rename the 'lane_mode' to 'max_lane_num' to make it
easy to see.
- add doc description into the code patch.
- rename the name of the low power interface.
- adjust the increasing and decreasing lane interface description.
- do not create available_inc_dec_lane_types when no HCCS type support
low power.
---

Huisong Li (6):
soc: hisilicon: kunpeng_hccs: Fix a PCC typo
soc: hisilicon: kunpeng_hccs: Return failure on having not die or port
information
soc: hisilicon: kunpeng_hccs: Add the check for base address and size
of shared memory
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port
info structure to 'max_lane_num'
soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs
soc: hisilicon: kunpeng_hccs: Support low power feature for the
specified HCCS type

.../sysfs-devices-platform-kunpeng_hccs | 45 ++
drivers/soc/hisilicon/Kconfig | 7 +-
drivers/soc/hisilicon/kunpeng_hccs.c | 516 +++++++++++++++++-
drivers/soc/hisilicon/kunpeng_hccs.h | 33 +-
4 files changed, 582 insertions(+), 19 deletions(-)

--
2.22.0