soc: xilinx: Move power-domain driver to the genpd dir
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 5 Jul 2023 23:09:38 +0000 (01:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 14 Jul 2023 08:41:59 +0000 (10:41 +0200)
To simplify with maintenance let's move the xilinx 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: Michal Simek <michal.simek@amd.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/genpd/Makefile
drivers/genpd/xilinx/Makefile [new file with mode: 0644]
drivers/genpd/xilinx/zynqmp-pm-domains.c [moved from drivers/soc/xilinx/zynqmp_pm_domains.c with 100% similarity]
drivers/soc/xilinx/Makefile

index 1938921..efd955f 100644 (file)
@@ -12,3 +12,4 @@ obj-y                                 += starfive/
 obj-y                                  += sunxi/
 obj-y                                  += tegra/
 obj-y                                  += ti/
+obj-y                                  += xilinx/
diff --git a/drivers/genpd/xilinx/Makefile b/drivers/genpd/xilinx/Makefile
new file mode 100644 (file)
index 0000000..a706ab6
--- /dev/null
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_ZYNQMP_PM_DOMAINS)                += zynqmp-pm-domains.o
index 41e585b..33d9439 100644 (file)
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_ZYNQMP_POWER)     += zynqmp_power.o
-obj-$(CONFIG_ZYNQMP_PM_DOMAINS) += zynqmp_pm_domains.o
 obj-$(CONFIG_XLNX_EVENT_MANAGER)       += xlnx_event_manager.o