Messages in this thread | | | From | Huisong Li <> | Subject | [PATCH v7 0/3] soc: hisilicon: Support HCCS driver on Kunpeng SoC | Date | Tue, 8 Aug 2023 10:36:37 +0800 |
| |
This series add HCCS driver to query the health status and port information of HCCS on Kunpeng SoC as well as document all sysfs entries provided by this driver.
--- v7: - split patch 1/2 to make it easier to review. - fix a wrong command code in hccs_get_die_all_link_status(). - remove unused code and fix a log description in error branch.
v6: - fix the new entry in MAINTAINERS file to keep alphabetical order
v5: - fix document format to eliminate warning of making htmldocs.
v4: - remove useless header and reorder linux header. - use __ATTR_RO to replace __ATTR for port attributes. - add MODULE_DEVICE_TABLE to autoload the driver. - update the date to "November 2023". - fix some comments about HCCS description.
v3: - replace "using_status" with "enable" attribute. - fix some comments in codes.
v2: - Document all sysfs entries provided by driver. - drop 'pcc_type' and 'intr_mode' in struct hccs_dev. - using _CRS with PCC GAS to get channel ID instead of _DSD. - replace readw_relaxed_poll_timeout with readw_poll_timeout. - use sysfs_emit() instead of sprintf(). - drop ACPI_PTR in hccs_driver. - drop useless log during the probe phase.
Huisong Li (3): soc: hisilicon: Support HCCS driver on Kunpeng SoC soc: hisilicon: add sysfs entry to query information of HCCS doc: soc: hisilicon: Add Kunpeng HCCS driver documentation
.../sysfs-devices-platform-kunpeng_hccs | 81 ++ MAINTAINERS | 7 + drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/hisilicon/Kconfig | 20 + drivers/soc/hisilicon/Makefile | 2 + drivers/soc/hisilicon/kunpeng_hccs.c | 1275 +++++++++++++++++ drivers/soc/hisilicon/kunpeng_hccs.h | 191 +++ 8 files changed, 1578 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs create mode 100644 drivers/soc/hisilicon/Kconfig create mode 100644 drivers/soc/hisilicon/Makefile create mode 100644 drivers/soc/hisilicon/kunpeng_hccs.c create mode 100644 drivers/soc/hisilicon/kunpeng_hccs.h
-- 2.33.0
| |