From patchwork Thu Sep 21 11:33:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 13393865 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 11DB9E70717 for ; Thu, 21 Sep 2023 11:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=rhJdffB8YIfXrcMvQ8fm7tljk802tFulvNfOXAF5WP4=; b=NP1O1sYneLnZ0n wfGKVI2KM5fhPYqwVyaSkkO+3OSnEq1H9GY1JCeLZixGmKxFVDluc9IolekdGeD98rsEgO/RBO3Hi DiPFe3eNTY9tQ9ozZIV6sgxXIu45vhMrKhEJj62+UcvIkZu0nX0iKt8w04qXvSvmY0qOHhUEN2kis jIZmve4wmJ2PBzlFV7YJ2gWZNzK/iEaFMBzIxWU/S2cbimUA/EdeRbDZRhrYviaI55aNKkqyMXAZr baMRX2WzNi00mR3NXkW3DfPg8PUC85K7BV/RFBx6IYhUw1q7Aaac/rwuKZs01VZD/8I3BPUaNpH/n pfcn5eiaiB2IA6kXYCiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qjHwA-005vIM-1p; Thu, 21 Sep 2023 11:33:38 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qjHw7-005vI4-24 for linux-arm-kernel@lists.infradead.org; Thu, 21 Sep 2023 11:33:37 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3CF091655; Thu, 21 Sep 2023 04:34:09 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 33C4C3F5A1; Thu, 21 Sep 2023 04:33:31 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Ulf Hansson , Cristian Marussi Subject: [PATCH] firmware: arm_scmi: Move power-domain driver to the pmdomain dir Date: Thu, 21 Sep 2023 12:33:28 +0100 Message-ID: <20230921113328.3208651-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230919121605.7304-1-ulf.hansson@linaro.org> References: <20230919121605.7304-1-ulf.hansson@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230921_043335_752238_44EFA078 X-CRM114-Status: UNSURE ( 9.01 ) 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 To simplify with maintenance let's move the Arm SCMI power-domain driver to the new pmdomain directory. Cc: Ulf Hansson Cc: Cristian Marussi Signed-off-by: Sudeep Holla Reviewed-by: Ulf Hansson --- Hi Ulf, If you are happy with this, please cck. I would like to take this along with your scmi_perf_domain change as part of you series. Regards, Sudeep drivers/firmware/arm_scmi/Makefile | 1 - drivers/pmdomain/arm/Makefile | 1 + drivers/{firmware/arm_scmi => pmdomain/arm}/scmi_pm_domain.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename drivers/{firmware/arm_scmi => pmdomain/arm}/scmi_pm_domain.c (100%) diff --git a/drivers/firmware/arm_scmi/Makefile b/drivers/firmware/arm_scmi/Makefile index b31d78fa66cc..a7bc4796519c 100644 --- a/drivers/firmware/arm_scmi/Makefile +++ b/drivers/firmware/arm_scmi/Makefile @@ -16,7 +16,6 @@ scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y) obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-core.o obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o -obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o obj-$(CONFIG_ARM_SCMI_POWER_CONTROL) += scmi_power_control.o ifeq ($(CONFIG_THUMB2_KERNEL)$(CONFIG_CC_IS_CLANG),yy) diff --git a/drivers/pmdomain/arm/Makefile b/drivers/pmdomain/arm/Makefile index 7128db96deac..cfcb1f6cdd90 100644 --- a/drivers/pmdomain/arm/Makefile +++ b/drivers/pmdomain/arm/Makefile @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_ARM_SCMI_PERF_DOMAIN) += scmi_perf_domain.o +obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o diff --git a/drivers/firmware/arm_scmi/scmi_pm_domain.c b/drivers/pmdomain/arm/scmi_pm_domain.c similarity index 100% rename from drivers/firmware/arm_scmi/scmi_pm_domain.c rename to drivers/pmdomain/arm/scmi_pm_domain.c