Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32033745rwd; Fri, 7 Jul 2023 07:50:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlEU/IsufThiq3YydRCL2sYfm6GTXQ2wYgtFpdLTzjCfuJDAOEsxOUJjffIRCMi8x2OJVMVV X-Received: by 2002:a17:906:b088:b0:987:fac5:9fb9 with SMTP id x8-20020a170906b08800b00987fac59fb9mr3044332ejy.35.1688741437551; Fri, 07 Jul 2023 07:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688741437; cv=none; d=google.com; s=arc-20160816; b=Rvl88IXGuMAh8j+zy9G8t8wSsGDEVdEWloDH3ei3PzRLg/1Mk+wL6Iva7MPJe5kIgi 0vgXqll0bLLVqQDEKOMuKjBTvaNZwg6p23xvcwplBD81y2jqgZmSo6/6UFIH1WUJLq8p Z+g0bLw/ZWbe0j2POUMGyCiFMmrny4HT3p6dRhW1UWglVNEkybT7a/xSS3p7k2XoMEYB 9TElPX9dJbGM8fvI7zSNbS5Itc0J501BDF0a1XvCuisy50fhfDzPlpbyBNZy160xBsyC HkTgJW4k01RSG51jo0z10vGP/iuZayHe3P9ucICyflOjk4JuSYeP0+y4V1qHxADkYPR4 zNgQ== 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 :dkim-signature; bh=AF5D6DQXm7HmIRP9eyngZlJuQfQ9Itx50jvuqv/ykMM=; fh=hgl18hW/UkX36/pA2S1TdnFDQhjYy52lFF//6sdMCPs=; b=lyr7PYyu1uFDJg4RnRxp/VYWnjk3RIk6C1kL95EvKSMY62UzLwNjwx4SUdWFIj3v1X Ag7VmEmOxCbSFZ+ODnVycCjTksD0cBFBAfdYzxyiVOaclFxNEMmCmZdTvSG7wOEdi9Y1 KjfzpZmGT/0JuFFebMyk3mR7hfm9uYoUauclkOdH10Dzb9FMPmMgc773LSZt4oeHNTQk YvDJ7Y9TxvcI4jj1SraGiqmeLqIXMtc4uZpB5TYHLATFc9B1XEm4+Z5tFiS82+4RoLBG cP1W0pXbsoNpFQ6j4iMMoj5/iU1lUhBhs7cmq9AVBe8ZbD9xWTn+oAEk7SwqUR1Sn8Px WL6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JMbAWi+f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk12-20020a170907766c00b0098871664f55si2199547ejc.800.2023.07.07.07.50.13; Fri, 07 Jul 2023 07:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JMbAWi+f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232884AbjGGOFL (ORCPT + 99 others); Fri, 7 Jul 2023 10:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbjGGOEx (ORCPT ); Fri, 7 Jul 2023 10:04:53 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A78E170F for ; Fri, 7 Jul 2023 07:04:51 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b701e1ca63so29308441fa.1 for ; Fri, 07 Jul 2023 07:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688738689; x=1691330689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AF5D6DQXm7HmIRP9eyngZlJuQfQ9Itx50jvuqv/ykMM=; b=JMbAWi+fqDg/Evsupl0EVzPs2UcPCdo38/GO8Pg20qBSNf/atPExZKLCAnwBkE8A15 0eN5RsPtrjRsWt9jqtT9+0zbq3+x1SsOFYNYBgGsKW22XOWNjlKkRYC0Z0WSqhX1W6fG pVfjMo8zwvUcXvuhgk/5JWv2MCECN/O7LDICkaUoSijBElVdNPn8ZVPhJ7WSq5x59blX nYWDzpiX5iL/vDFWnSUxkiNFefEV4tcfqRFaXWoDDMIOxdXLGcUXqKmw96tTxlDlsjPY CmRpQdqqF++ZP1c0suy3JdKSG+OU/x1BQnUBiFpDLlex8QP4Av3aKtbnUfJbKMKLiKsA ALTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688738689; x=1691330689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AF5D6DQXm7HmIRP9eyngZlJuQfQ9Itx50jvuqv/ykMM=; b=hQqNUncsI1WMuR8REjcyKedzT3VGkx2oVaO5JfMmS5oU1N6N18uPRMfEQ5fle2a+3Q NGz8VJqZi7MjPxOt9ByqNA8QDB6+3CRZu1ELRspBeZPtK2b8CbmDRn6j6oE0ZKWq4VH5 iHnivKqQBmW0HgCeF7RPj46WbuILqucTVMi1AANf6ACdq9elCkrWEfojHFObnUH0vG0E RBhuKCMTF41JOdjpoP/52xeY9YCl/d6e+aMYo6RcmCHTG+A2Q7m10rF4XAne46vsC7Zn AWkoafLUca6zhJxCY57hc1DtAzq+j1W5T3kHcc1OP12/fiBd6cIlm7oWzc/9ipNO0HF5 PquQ== X-Gm-Message-State: ABy/qLaoR/agZY72oUYojvOVza9CF6U+oeYT9+8xVwR+yHRdWrC5EXNE QWZVm2VtyxuEfwmaulJqZB739A== X-Received: by 2002:a2e:b0c6:0:b0:2b6:fa3f:9230 with SMTP id g6-20020a2eb0c6000000b002b6fa3f9230mr3630259ljl.46.1688738689714; Fri, 07 Jul 2023 07:04:49 -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 u21-20020a2e8555000000b002b6cb25e3f1sm760341ljj.108.2023.07.07.07.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 07:04:49 -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, Shawn Guo , Sascha Hauer , Fabio Estevam , kernel@pengutronix.de, linux-imx@nxp.com Subject: [PATCH 06/18] soc: imx: Move power-domain drivers to the genpd dir Date: Fri, 7 Jul 2023 16:04:22 +0200 Message-Id: <20230707140434.723349-7-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230707140434.723349-1-ulf.hansson@linaro.org> References: <20230707140434.723349-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Cc: Cc: Signed-off-by: Ulf Hansson --- drivers/genpd/imx/Makefile | 7 +++++++ drivers/{soc => genpd}/imx/gpc.c | 0 drivers/{soc => genpd}/imx/gpcv2.c | 0 drivers/{soc => genpd}/imx/imx8m-blk-ctrl.c | 0 drivers/{soc => genpd}/imx/imx8mp-blk-ctrl.c | 0 drivers/{soc => genpd}/imx/imx93-blk-ctrl.c | 0 drivers/{soc => genpd}/imx/imx93-pd.c | 0 drivers/soc/imx/Makefile | 7 +------ 8 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 drivers/genpd/imx/Makefile rename drivers/{soc => genpd}/imx/gpc.c (100%) rename drivers/{soc => genpd}/imx/gpcv2.c (100%) rename drivers/{soc => genpd}/imx/imx8m-blk-ctrl.c (100%) rename drivers/{soc => genpd}/imx/imx8mp-blk-ctrl.c (100%) rename drivers/{soc => genpd}/imx/imx93-blk-ctrl.c (100%) rename drivers/{soc => genpd}/imx/imx93-pd.c (100%) diff --git a/drivers/genpd/imx/Makefile b/drivers/genpd/imx/Makefile new file mode 100644 index 000000000000..5f012717a666 --- /dev/null +++ b/drivers/genpd/imx/Makefile @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o +obj-$(CONFIG_IMX_GPCV2_PM_DOMAINS) += gpcv2.o +obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8m-blk-ctrl.o +obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8mp-blk-ctrl.o +obj-$(CONFIG_SOC_IMX9) += imx93-pd.o +obj-$(CONFIG_IMX9_BLK_CTRL) += imx93-blk-ctrl.o diff --git a/drivers/soc/imx/gpc.c b/drivers/genpd/imx/gpc.c similarity index 100% rename from drivers/soc/imx/gpc.c rename to drivers/genpd/imx/gpc.c diff --git a/drivers/soc/imx/gpcv2.c b/drivers/genpd/imx/gpcv2.c similarity index 100% rename from drivers/soc/imx/gpcv2.c rename to drivers/genpd/imx/gpcv2.c diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/genpd/imx/imx8m-blk-ctrl.c similarity index 100% rename from drivers/soc/imx/imx8m-blk-ctrl.c rename to drivers/genpd/imx/imx8m-blk-ctrl.c diff --git a/drivers/soc/imx/imx8mp-blk-ctrl.c b/drivers/genpd/imx/imx8mp-blk-ctrl.c similarity index 100% rename from drivers/soc/imx/imx8mp-blk-ctrl.c rename to drivers/genpd/imx/imx8mp-blk-ctrl.c diff --git a/drivers/soc/imx/imx93-blk-ctrl.c b/drivers/genpd/imx/imx93-blk-ctrl.c similarity index 100% rename from drivers/soc/imx/imx93-blk-ctrl.c rename to drivers/genpd/imx/imx93-blk-ctrl.c diff --git a/drivers/soc/imx/imx93-pd.c b/drivers/genpd/imx/imx93-pd.c similarity index 100% rename from drivers/soc/imx/imx93-pd.c rename to drivers/genpd/imx/imx93-pd.c diff --git a/drivers/soc/imx/Makefile b/drivers/soc/imx/Makefile index a28c44a1f16a..3ad321ca608a 100644 --- a/drivers/soc/imx/Makefile +++ b/drivers/soc/imx/Makefile @@ -2,10 +2,5 @@ ifeq ($(CONFIG_ARM),y) obj-$(CONFIG_ARCH_MXC) += soc-imx.o endif -obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o -obj-$(CONFIG_IMX_GPCV2_PM_DOMAINS) += gpcv2.o obj-$(CONFIG_SOC_IMX8M) += soc-imx8m.o -obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8m-blk-ctrl.o -obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8mp-blk-ctrl.o -obj-$(CONFIG_SOC_IMX9) += imx93-src.o imx93-pd.o -obj-$(CONFIG_IMX9_BLK_CTRL) += imx93-blk-ctrl.o +obj-$(CONFIG_SOC_IMX9) += imx93-src.o -- 2.34.1