Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2331588rdb; Thu, 21 Sep 2023 15:49:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYDG+YN51/jo714Y8TdMSku1SJGYhCblDYJ/xysBZjTHVBKItWd9OqfFYIDEQzxQu90SY+ X-Received: by 2002:a05:6358:41a3:b0:142:fb84:92e6 with SMTP id w35-20020a05635841a300b00142fb8492e6mr6583069rwc.9.1695336593216; Thu, 21 Sep 2023 15:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695336593; cv=none; d=google.com; s=arc-20160816; b=tMQc3MsNhkTx43L1sjQgZNyJJtcWBn6yzh6Gl4GZRlbAYQ9LdalCoC4EpFvOvtlXaR AQv2W7EjG5u9AsC/bUX4t4+04N04bROA2905VK3TBY2IU5kfGjWgtT53pBHj4SMGqsw+ Eg9eD1Y8zv/ZEKOTTJK5paX85GcIkBb1f5M96fIirFaH4O2vTe6AfiwhjzCdKzCVx3pZ ndWn2qsh9yDd+Knv2H1eqXNev8mY/yVV5C/UyDI09UExaHOo4El5M4z0ndCJRa8Qow+c u6RXnKJyFltzUxEuLciUUr3w79n3P++DzPDRZ2wHvUhCxQjlTZ5Oivls/YNYE3n6Zfmt +SDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3xvu3DUy3KYslo/TYlFBPdjJhi09qgGiAX+SosVivX8=; fh=dco89frhM2nANjowgH0mQuS6BZ30XEZyuC6Yi2TC46o=; b=lpbQDf5PiRv7neUKjlsapMs6VIlouBANmRXN6tmKkkSK7GCl7XElYz6wqoS/EdirlP Oaln9oxRoHzUCFZx9LIGDdkxmhSybYoQzLgUv/RClJx3BSeze9QBI1bNLg6Uyxg/nFa9 WtMaLIZK4rKM3CJj0mI0BnFUULiZHPcw646uKNcaReQH2r2g0GF3Q9AKiFJaWghJ2wip 0c8oYW8iOU+gC0b8ji8E/y8WBnGgo4Z2I47TumvHLF2+bk+N+cVLeyFl8a2LPLDWOmEz +lQHyQa1YIfborkTAVThJEbXGMDCKqgg+MAntFEUk+wdBI9MdBRh6ZLQD6ibHmtdWpUx oTKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x23-20020a631717000000b00570a4303746si2365067pgl.560.2023.09.21.15.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:49:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0A4FF80CFD7F; Thu, 21 Sep 2023 14:01:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbjIUVBA (ORCPT + 99 others); Thu, 21 Sep 2023 17:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232269AbjIUVAS (ORCPT ); Thu, 21 Sep 2023 17:00:18 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8F3BFAF96E; Thu, 21 Sep 2023 11:07:37 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:01:02 -0700 (PDT) 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 --- 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 -- 2.42.0