]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
soc: apple: Move power-domain driver to the genpd dir
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 4 Jul 2023 22:06:27 +0000 (00:06 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 11 Jul 2023 13:30:09 +0000 (15:30 +0200)
To simplify with maintenance let's move the apple 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: Hector Martin <marcan@marcan.st>
Cc: Sven Peter <sven@svenpeter.dev>
Cc: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: <asahi@lists.linux.dev>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MAINTAINERS
drivers/genpd/Makefile
drivers/genpd/apple/Makefile [new file with mode: 0644]
drivers/genpd/apple/pmgr-pwrstate.c [moved from drivers/soc/apple/apple-pmgr-pwrstate.c with 100% similarity]
drivers/soc/apple/Makefile

index ab583b8c5b97fe0f56585b2c92b8e7b8c1adac7c..caa221fd0c11f24c9954cd9fdf04b1fc7f175820 100644 (file)
@@ -1904,6 +1904,7 @@ F:        drivers/bluetooth/hci_bcm4377.c
 F:     drivers/clk/clk-apple-nco.c
 F:     drivers/cpufreq/apple-soc-cpufreq.c
 F:     drivers/dma/apple-admac.c
+F:     drivers/genpd/apple/
 F:     drivers/i2c/busses/i2c-pasemi-core.c
 F:     drivers/i2c/busses/i2c-pasemi-platform.c
 F:     drivers/iommu/apple-dart.c
index cdba3b9f0c753d879713b7d108ec0247131fdf9b..91d4a3808981dec4a8fa7b7a5ac9ac4e5a85aeb9 100644 (file)
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-y                                  += actions/
 obj-y                                  += amlogic/
+obj-y                                  += apple/
diff --git a/drivers/genpd/apple/Makefile b/drivers/genpd/apple/Makefile
new file mode 100644 (file)
index 0000000..53665af
--- /dev/null
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_APPLE_PMGR_PWRSTATE)      += pmgr-pwrstate.o
index e293770cf66d73d7a27717cea2b6c79ad8b3031d..b241e6a65e5b3e47f1837973a031bfb6b0f99404 100644 (file)
@@ -1,6 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_APPLE_PMGR_PWRSTATE)      += apple-pmgr-pwrstate.o
-
 obj-$(CONFIG_APPLE_RTKIT) += apple-rtkit.o
 apple-rtkit-y = rtkit.o rtkit-crashlog.o