From patchwork Tue Jul 11 14:21:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13308834 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 16AD4EB64DC for ; Tue, 11 Jul 2023 14:21:52 +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: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=XUGMPvTQQcULujfA1CbSkLxoFL+Hc21hHIr8wEQ4F/g=; b=r5WUG48h8PamGW 9HUnlRwEZH38mrJHnNZp7ufaXXrOleQROg48uG0XcHnS9ICeGuMPEc1lu7R8juXrHMb9PxmGUUNMZ PdJWM4yy6lt64fakyfy7JPobgZLL8NW81wpp2wDM0wV/jkJaDKvkzrlY7V+2qNCcmfVwErfDG7olh cDCXqI3yq8Sg9KSzqzki6ya/Tck4D4q+1/aP7olK6qPn0AyaC/R0D6wUWEuYK+CANc1v7BNif6L+K bqf1dT4vMhnrydC0dMswCibHjZ1ma+b6qPsGoOJBNjIvgXGNF8H4TjnQg17Lrs7PHFS9RbzvXKhFS ee661jbY+Xyw7dThkokg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJEF0-00F6ed-1u; Tue, 11 Jul 2023 14:21:22 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJEEy-00F6cI-0c for linux-arm-kernel@lists.infradead.org; Tue, 11 Jul 2023 14:21:21 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fba03becc6so8580294e87.0 for ; Tue, 11 Jul 2023 07:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689085277; x=1691677277; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vHN7ug9Ao7x7+1HgDfpamR8MTCtlAVz1z00Xw4truvc=; b=pmG3kvdq6Vc57gAiyWxPiStsAnk15BmtQpGuSGEnwf1AkEyZ6KeBp/K+dL/LqkqGBh L+DrzByAjWN1mLEfOza54IoOjJKFhLXIjWvt9FQWZjN46h20TTqWucA3PVOFbd+/BWnn yonPUqEOAR9AaYQpQdTB12cIDBDDyCUfu3YhNhUXODYgXZpt0dTlMQbjli95/6ukVSnN u7JCgEU5QEl3vrtyFhVkSBAHVpv1PomuIrODfxE92EqINacO6AqzwGsUlyJxyeewOHdL GuA7DTweK0NJagkFB8/bPT9+LjiqSD7wZ1083zRBMczAzyhUziAZQ5Qug7zqtDYdvsHE QfPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689085277; x=1691677277; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vHN7ug9Ao7x7+1HgDfpamR8MTCtlAVz1z00Xw4truvc=; b=V8p0TV4U1cOT0hRTxNllqwpICvClJr6dvV+RaE0gC+7mR2QfKUAPl8+WMpOihvOpa1 42aLjNMJtzOd8HdbjRD9ZjaPoljUt8YTE/61V7OlhCfwq4aax+GE3jYQdWZqpWShRLKb yZpt5pxBXzvjcBoB0W2+LfkWx8SYjsibGhV/f76Ik24GXbnJvElA3TfVFy78cSuB1mow +IGXeGhdaqmuZdauJM/WKDbndWyiopMy/0n0DxDVMI/u9VzaBerqn/5aysTVdu3OtI+G gGFyN7h+uogGrdW1NAtyxo5uZIpNRe3sOzbSJ69qyPXW+INVwkOoq3GVNwA13KVrlole 1zEQ== X-Gm-Message-State: ABy/qLYPQ4WbaxZzUIv6kzlnWZAcupCqNln4eGHqGWJyUP73k2A/QMN4 CLLgTuJNDG0uU2UfY9WDVEVnK98Q5WIYlymaihM= X-Google-Smtp-Source: APBJJlGYSBKKsdG06w+GRMIvM7rSjoOIl+KaJPWq8gRKjWkorAUqN+nzTUm99cSoxgUhcYatXqLidw== X-Received: by 2002:a05:6512:3c92:b0:4fb:7d09:ec75 with SMTP id h18-20020a0565123c9200b004fb7d09ec75mr7362048lfv.4.1689085277269; Tue, 11 Jul 2023 07:21:17 -0700 (PDT) Received: from uffe-tuxpro14.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id b17-20020a056512025100b004f8592a5180sm339779lfo.17.2023.07.11.07.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:21:16 -0700 (PDT) From: Ulf Hansson To: Arnd Bergmann , Olof Johansson Cc: Ulf Hansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Matthias Brugger , AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org Subject: [PATCH v2 07/18] soc: mediatek: Move power-domain drivers to the genpd dir Date: Tue, 11 Jul 2023 16:21:14 +0200 Message-Id: <20230711142114.751632-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230711_072120_230201_199C1F9E X-CRM114-Status: GOOD ( 14.01 ) 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 mediatek power-domain drivers to the new genpd directory. Going forward, patches are intended to be managed through a separate git tree, according to MAINTAINERS. Cc: Matthias Brugger Cc: AngeloGioacchino Del Regno Cc: Signed-off-by: Ulf Hansson --- drivers/genpd/Makefile | 1 + drivers/genpd/mediatek/Makefile | 3 +++ drivers/{soc => genpd}/mediatek/mt6795-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8167-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8173-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8183-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8186-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8188-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8192-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mt8195-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mtk-pm-domains.c | 0 drivers/{soc => genpd}/mediatek/mtk-pm-domains.h | 0 drivers/{soc => genpd}/mediatek/mtk-scpsys.c | 0 drivers/soc/mediatek/Makefile | 2 -- 14 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 drivers/genpd/mediatek/Makefile rename drivers/{soc => genpd}/mediatek/mt6795-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8167-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8173-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8183-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8186-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8188-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8192-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mt8195-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mtk-pm-domains.c (100%) rename drivers/{soc => genpd}/mediatek/mtk-pm-domains.h (100%) rename drivers/{soc => genpd}/mediatek/mtk-scpsys.c (100%) diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile index 6b9e9fe907f3..1a0a56925756 100644 --- a/drivers/genpd/Makefile +++ b/drivers/genpd/Makefile @@ -3,3 +3,4 @@ obj-y += actions/ obj-y += amlogic/ obj-y += apple/ obj-y += bcm/ +obj-y += mediatek/ diff --git a/drivers/genpd/mediatek/Makefile b/drivers/genpd/mediatek/Makefile new file mode 100644 index 000000000000..8cde09e654b3 --- /dev/null +++ b/drivers/genpd/mediatek/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o +obj-$(CONFIG_MTK_SCPSYS_PM_DOMAINS) += mtk-pm-domains.o diff --git a/drivers/soc/mediatek/mt6795-pm-domains.h b/drivers/genpd/mediatek/mt6795-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt6795-pm-domains.h rename to drivers/genpd/mediatek/mt6795-pm-domains.h diff --git a/drivers/soc/mediatek/mt8167-pm-domains.h b/drivers/genpd/mediatek/mt8167-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8167-pm-domains.h rename to drivers/genpd/mediatek/mt8167-pm-domains.h diff --git a/drivers/soc/mediatek/mt8173-pm-domains.h b/drivers/genpd/mediatek/mt8173-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8173-pm-domains.h rename to drivers/genpd/mediatek/mt8173-pm-domains.h diff --git a/drivers/soc/mediatek/mt8183-pm-domains.h b/drivers/genpd/mediatek/mt8183-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8183-pm-domains.h rename to drivers/genpd/mediatek/mt8183-pm-domains.h diff --git a/drivers/soc/mediatek/mt8186-pm-domains.h b/drivers/genpd/mediatek/mt8186-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8186-pm-domains.h rename to drivers/genpd/mediatek/mt8186-pm-domains.h diff --git a/drivers/soc/mediatek/mt8188-pm-domains.h b/drivers/genpd/mediatek/mt8188-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8188-pm-domains.h rename to drivers/genpd/mediatek/mt8188-pm-domains.h diff --git a/drivers/soc/mediatek/mt8192-pm-domains.h b/drivers/genpd/mediatek/mt8192-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8192-pm-domains.h rename to drivers/genpd/mediatek/mt8192-pm-domains.h diff --git a/drivers/soc/mediatek/mt8195-pm-domains.h b/drivers/genpd/mediatek/mt8195-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mt8195-pm-domains.h rename to drivers/genpd/mediatek/mt8195-pm-domains.h diff --git a/drivers/soc/mediatek/mtk-pm-domains.c b/drivers/genpd/mediatek/mtk-pm-domains.c similarity index 100% rename from drivers/soc/mediatek/mtk-pm-domains.c rename to drivers/genpd/mediatek/mtk-pm-domains.c diff --git a/drivers/soc/mediatek/mtk-pm-domains.h b/drivers/genpd/mediatek/mtk-pm-domains.h similarity index 100% rename from drivers/soc/mediatek/mtk-pm-domains.h rename to drivers/genpd/mediatek/mtk-pm-domains.h diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/genpd/mediatek/mtk-scpsys.c similarity index 100% rename from drivers/soc/mediatek/mtk-scpsys.c rename to drivers/genpd/mediatek/mtk-scpsys.c diff --git a/drivers/soc/mediatek/Makefile b/drivers/soc/mediatek/Makefile index 8c0ddacbcde8..9d3ce7878c5c 100644 --- a/drivers/soc/mediatek/Makefile +++ b/drivers/soc/mediatek/Makefile @@ -4,8 +4,6 @@ obj-$(CONFIG_MTK_DEVAPC) += mtk-devapc.o obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o obj-$(CONFIG_MTK_REGULATOR_COUPLER) += mtk-regulator-coupler.o -obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o -obj-$(CONFIG_MTK_SCPSYS_PM_DOMAINS) += mtk-pm-domains.o obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o obj-$(CONFIG_MTK_MMSYS) += mtk-mutex.o obj-$(CONFIG_MTK_SVS) += mtk-svs.o