From patchwork Thu Jul 18 07:11:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huisong Li X-Patchwork-Id: 13736104 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3258BC3DA62 for ; Thu, 18 Jul 2024 07:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=yK/zPpTyQs/JdaqNE8w3fl9c6KQPpHJ/7qZrXRgcgqc=; b=xN4BV4eFkW4sCuCrgsFffSLcid WL21M/cnLZgdJWTjadPq6PYbEXFAhsP3L7UT2MBqHKU6dJrkD5OAWbgP28A0avSvR4HECf8V+DLBL 6oWPliiQPQ7yNaI1QEmBjw/YNPgl3hdmegkDAj4cxkJrsmF3Sn721dX5QZCXxG1O38h6S0zUZBeHs IYu4xU2jO7UMYcaZlWK2i5eK8sleewP2rCP9No+vyKS30K8XPuScEHxbiihdJdDpTZ2A+dFPgaRzi ENFhmEoe9iRUHqQ6mTD6Am2PNYAcadmhCrashQ4i3/RhNZj/cYj5wW28EGemuUUEHhW1LtOBpt+Nh 4/lSbqig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sULSH-0000000G9gy-23eq; Thu, 18 Jul 2024 07:21:33 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sULRc-0000000G9Oz-1I7g for linux-arm-kernel@lists.infradead.org; Thu, 18 Jul 2024 07:20:54 +0000 Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4WPkfr1BZBz1HFLl; Thu, 18 Jul 2024 15:18:12 +0800 (CST) Received: from kwepemm600004.china.huawei.com (unknown [7.193.23.242]) by mail.maildlp.com (Postfix) with ESMTPS id 900471A0188; Thu, 18 Jul 2024 15:20:46 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 18 Jul 2024 15:20:46 +0800 From: Huisong Li To: CC: , , , , , Subject: [PATCH 0/5] Add some features and bugfix for kunpeng_hccs Date: Thu, 18 Jul 2024 15:11:29 +0800 Message-ID: <20240718071134.31155-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600004.china.huawei.com (7.193.23.242) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_002052_533296_063E4291 X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series are intended to support the low power feature for specified HCCS and add used HCCS type sysfs. In addition, fix a PCC typo and add the verification for die and port number. Huisong Li (5): 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 used HCCS type sysfs on platform soc: hisilicon: kunpeng_hccs: support low power feature for specified HCCS doc: soc: hisilicon: kunpeng_hccs: add low power interface description for HCCS .../sysfs-devices-platform-kunpeng_hccs | 26 + drivers/soc/hisilicon/Kconfig | 7 +- drivers/soc/hisilicon/kunpeng_hccs.c | 489 +++++++++++++++++- drivers/soc/hisilicon/kunpeng_hccs.h | 29 ++ 4 files changed, 545 insertions(+), 6 deletions(-)