linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 14/18] soc: tegra: Move powergate-bpmp driver to the genpd dir
       [not found] <20230707140434.723349-1-ulf.hansson@linaro.org>
@ 2023-07-07 14:04 ` Ulf Hansson
  2023-07-10 13:08   ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2023-07-07 14:04 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson
  Cc: Ulf Hansson, linux-pm, linux-arm-kernel, linux-kernel,
	Thierry Reding, Jonathan Hunter, Mikko Perttunen, linux-tegra

Let's moves the powergate-bpmp driver, while we leave the pmc driver in the
soc directory. To move the latter, we first need to split it up in a few
pieces so the genpd parts can be moved alone.

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: Mikko Perttunen <mperttunen@nvidia.com>
Cc: <linux-tegra@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 drivers/genpd/Makefile                        | 1 +
 drivers/genpd/tegra/Makefile                  | 2 ++
 drivers/{soc => genpd}/tegra/powergate-bpmp.c | 0
 drivers/soc/tegra/Makefile                    | 1 -
 4 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 drivers/genpd/tegra/Makefile
 rename drivers/{soc => genpd}/tegra/powergate-bpmp.c (100%)

diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
index 76f2a411e6bc..e6f34d82e6a8 100644
--- a/drivers/genpd/Makefile
+++ b/drivers/genpd/Makefile
@@ -10,3 +10,4 @@ obj-y					+= rockchip/
 obj-y					+= samsung/
 obj-y					+= starfive/
 obj-y					+= sunxi/
+obj-y					+= tegra/
diff --git a/drivers/genpd/tegra/Makefile b/drivers/genpd/tegra/Makefile
new file mode 100644
index 000000000000..ec8acfd2c77c
--- /dev/null
+++ b/drivers/genpd/tegra/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_SOC_TEGRA_POWERGATE_BPMP)	+= powergate-bpmp.o
diff --git a/drivers/soc/tegra/powergate-bpmp.c b/drivers/genpd/tegra/powergate-bpmp.c
similarity index 100%
rename from drivers/soc/tegra/powergate-bpmp.c
rename to drivers/genpd/tegra/powergate-bpmp.c
diff --git a/drivers/soc/tegra/Makefile b/drivers/soc/tegra/Makefile
index d722f512dc9d..01059619e764 100644
--- a/drivers/soc/tegra/Makefile
+++ b/drivers/soc/tegra/Makefile
@@ -5,7 +5,6 @@ obj-y += cbb/
 obj-y += common.o
 obj-$(CONFIG_SOC_TEGRA_FLOWCTRL) += flowctrl.o
 obj-$(CONFIG_SOC_TEGRA_PMC) += pmc.o
-obj-$(CONFIG_SOC_TEGRA_POWERGATE_BPMP) += powergate-bpmp.o
 obj-$(CONFIG_SOC_TEGRA20_VOLTAGE_COUPLER) += regulators-tegra20.o
 obj-$(CONFIG_SOC_TEGRA30_VOLTAGE_COUPLER) += regulators-tegra30.o
 obj-$(CONFIG_ARCH_TEGRA_186_SOC) += ari-tegra186.o
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 14/18] soc: tegra: Move powergate-bpmp driver to the genpd dir
  2023-07-07 14:04 ` [PATCH 14/18] soc: tegra: Move powergate-bpmp driver to the genpd dir Ulf Hansson
@ 2023-07-10 13:08   ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2023-07-10 13:08 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Arnd Bergmann, Olof Johansson, linux-pm, linux-arm-kernel,
	linux-kernel, Jonathan Hunter, Mikko Perttunen, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

On Fri, Jul 07, 2023 at 04:04:30PM +0200, Ulf Hansson wrote:
> Let's moves the powergate-bpmp driver, while we leave the pmc driver in the
> soc directory. To move the latter, we first need to split it up in a few
> pieces so the genpd parts can be moved alone.
> 
> Cc: Thierry Reding <thierry.reding@gmail.com>
> Cc: Jonathan Hunter <jonathanh@nvidia.com>
> Cc: Mikko Perttunen <mperttunen@nvidia.com>
> Cc: <linux-tegra@vger.kernel.org>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
>  drivers/genpd/Makefile                        | 1 +
>  drivers/genpd/tegra/Makefile                  | 2 ++
>  drivers/{soc => genpd}/tegra/powergate-bpmp.c | 0
>  drivers/soc/tegra/Makefile                    | 1 -
>  4 files changed, 3 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/genpd/tegra/Makefile
>  rename drivers/{soc => genpd}/tegra/powergate-bpmp.c (100%)

Fine with me:

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-10 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230707140434.723349-1-ulf.hansson@linaro.org>
2023-07-07 14:04 ` [PATCH 14/18] soc: tegra: Move powergate-bpmp driver to the genpd dir Ulf Hansson
2023-07-10 13:08   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).