|
|
Subscribe / Log in / New account

soc: hisilicon: Support HCCS driver on Kunpeng SoC

From:  Huisong Li <lihuisong-AT-huawei.com>
To:  <andersson-AT-kernel.org>, <matthias.bgg-AT-gmail.com>, <angelogioacchino.delregno-AT-collabora.com>, <shawnguo-AT-kernel.org>, <arnd-AT-arndb.de>, <krzk-AT-kernel.org>, <sudeep.holla-AT-arm.com>
Subject:  [PATCH v3 0/2] soc: hisilicon: Support HCCS driver on Kunpeng SoC
Date:  Tue, 30 May 2023 19:27:44 +0800
Message-ID:  <20230530112746.2767-1-lihuisong@huawei.com>
Cc:  <linux-kernel-AT-vger.kernel.org>, <soc-AT-kernel.org>, <wanghuiqiang-AT-huawei.com>, <tanxiaofei-AT-huawei.com>, <liuyonglong-AT-huawei.com>, <lihuisong-AT-huawei.com>
Archive-link:  Article

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.

---
 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 (2):
  soc: hisilicon: Support HCCS driver on Kunpeng SoC
  doc: soc: hisilicon: Add Kunpeng HCCS driver documentation

 .../sysfs-devices-platform-kunpeng_hccs       |   76 +
 MAINTAINERS                                   |    7 +
 drivers/soc/Kconfig                           |    1 +
 drivers/soc/Makefile                          |    1 +
 drivers/soc/hisilicon/Kconfig                 |   19 +
 drivers/soc/hisilicon/Makefile                |    2 +
 drivers/soc/hisilicon/kunpeng_hccs.c          | 1288 +++++++++++++++++
 drivers/soc/hisilicon/kunpeng_hccs.h          |  196 +++
 8 files changed, 1590 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



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds