From patchwork Tue Jul 11 14:21:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13308852 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 997A5EB64DC for ; Tue, 11 Jul 2023 14:22:25 +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=u9ph+9ux2d1O8oEuSWEsXWZ4FqMCP1uvWyS6MdZmxwc=; b=LD8ofnY9kvXzCQ dkrOzt6qXsvcGGQPECbDFt5X/aGMV5GrQTFpYUky39RJ0Fg2wNMq5dyBMH39yN+lmYw/+P2+gQDbG QjgQCq+Lex/FRYKuhm2SrFnPhxEKxpjS0QhRSC38BSeF85kz9IMIggQh9l1cZaC1ZaSXDx8y64l3u RpOV0oC1k8dsfMDv8YgYDmT8X1wmp//M0zVe9mpKL6CULTb1n2sKCWXoC3zr6me71NWM1hK9opBtF a99MEs0Y+J+qYWD9+FxC72RUO+mC6kr7FmwVhAtZukHW8pe2lAZPJ9V+Sdbt/KkHXlh0sIsVS6ndz V00y4FtDjJP4GKYo9iyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJEFX-00F6vC-2T; Tue, 11 Jul 2023 14:21:55 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJEFV-00F6t9-02 for linux-arm-kernel@lists.infradead.org; Tue, 11 Jul 2023 14:21:54 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b71ae5fa2fso40460581fa.0 for ; Tue, 11 Jul 2023 07:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689085311; x=1691677311; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VFrOQnDAjQXhegqY3n085GeOtwznqIRmWRPa23xaqYk=; b=IlGgStRsBKeMLAFHJdbUiGKJo1bir5icXwayDj/ChqrfXnHbSeTLx0r3b2Wr+ISbHx RF5U3VQWKBXdklcE/6WDZ/pT1xzdbtMH1/DrDDJ5blYp1I1VPHE8PjO7jbk4W/LTTbUl RY5rh1I5jxerBO3uyO7GPAR8Oa08hyLKzz2B7H3f/x4hn3RnlMRv782Yvid6ZBsnk6XV Hq6nX5/2k6QRlnfA1cT3wXCccQkvYCsE3xuHh6g6wXv2BSH7U/RYLjUmgfsXqA0d/CAy 2DYgxcoK8cqrjydXdo7Http9VSQD7GmHi7d738p4hMnuwqxUyAwqAUxLlhL7w8IY9z83 Ddww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689085311; x=1691677311; 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=VFrOQnDAjQXhegqY3n085GeOtwznqIRmWRPa23xaqYk=; b=Xe/Psrvsr87JTZ4Ih/Ubv9X9U3bLuwM8mUq/rC/AibQPGDMdkITRWqrmGYX/Ye16SO pM9RnPFcMAmGwQw2vga18b0eBQocpl45fo+JYZlIMZkO4Ojou6uA/WH/own6UO9P1n8V IkZHyzgFtk3q9/rtpZzSPv0iuXdMm+qJ8XEFH7JXCm2kBNDJ80+C4EuqBd7amUVpCBf2 zo6EcTgMau80AXqTWOp5hqZufbxDr7rESL/dUQdgGrHUs2Kr4nGNdMtcS+lIv2rXHQ3j PlCLGSaDXRY6T6Yo1/JcvG6AEAgDNddDjcxJomPIvp85tG5G44aw2HPpwJbcBY9HPILO zuzA== X-Gm-Message-State: ABy/qLanpJvLs/95/PDnUp2Vvk4W/I6yAGuZi7dAJlkXLUPsdZi4HOgD nLB9vnITKedTyMammqts0NSl5g== X-Google-Smtp-Source: APBJJlFpJIzG7c3KWaB6WeDaqp42L69JcYpEqVOIElZ7HYwlvZNeiW0m5Dae5iPiRFppI4th8bQ+5A== X-Received: by 2002:a2e:9208:0:b0:2b6:e124:4d96 with SMTP id k8-20020a2e9208000000b002b6e1244d96mr12317412ljg.26.1689085311515; Tue, 11 Jul 2023 07:21:51 -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 j17-20020a2e6e11000000b002b6ee75648fsm483080ljc.12.2023.07.11.07.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:21:51 -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, Krzysztof Kozlowski , Alim Akhtar , linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 11/18] soc: samsung: Move power-domain driver to the genpd dir Date: Tue, 11 Jul 2023 16:21:48 +0200 Message-Id: <20230711142148.751712-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_072153_079672_A7436C06 X-CRM114-Status: GOOD ( 14.06 ) 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 samsung power-domain driver to the new genpd directory. Going forward, patches are intended to be managed through a separate git tree, according to MAINTAINERS. Cc: Krzysztof Kozlowski Cc: Alim Akhtar Cc: Reviewed-by: Krzysztof Kozlowski Signed-off-by: Ulf Hansson Acked-by: Marek Szyprowski --- drivers/genpd/Makefile | 1 + drivers/genpd/samsung/Makefile | 2 ++ .../samsung/pm_domains.c => genpd/samsung/exynos-pm-domains.c} | 0 drivers/soc/samsung/Makefile | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 drivers/genpd/samsung/Makefile rename drivers/{soc/samsung/pm_domains.c => genpd/samsung/exynos-pm-domains.c} (100%) diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile index c178421e0cbc..1cf0ff26a44f 100644 --- a/drivers/genpd/Makefile +++ b/drivers/genpd/Makefile @@ -7,3 +7,4 @@ obj-y += mediatek/ obj-y += qcom/ obj-y += renesas/ obj-y += rockchip/ +obj-y += samsung/ diff --git a/drivers/genpd/samsung/Makefile b/drivers/genpd/samsung/Makefile new file mode 100644 index 000000000000..397aa5908c1d --- /dev/null +++ b/drivers/genpd/samsung/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_EXYNOS_PM_DOMAINS) += exynos-pm-domains.o diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/genpd/samsung/exynos-pm-domains.c similarity index 100% rename from drivers/soc/samsung/pm_domains.c rename to drivers/genpd/samsung/exynos-pm-domains.c diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile index d35270fc6b2b..248a33d7754a 100644 --- a/drivers/soc/samsung/Makefile +++ b/drivers/soc/samsung/Makefile @@ -10,7 +10,6 @@ obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o obj-$(CONFIG_EXYNOS_PMU_ARM_DRIVERS) += exynos3250-pmu.o exynos4-pmu.o \ exynos5250-pmu.o exynos5420-pmu.o -obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o obj-$(CONFIG_SAMSUNG_PM_CHECK) += s3c-pm-check.o