diff mbox series

[10/18] soc: rockchip: Mover power-domain driver to the genpd dir

Message ID 20230707140434.723349-11-ulf.hansson@linaro.org
State Superseded
Headers show
Series genpd: Create a genpd directory to host genpd providers | expand

Commit Message

Ulf Hansson July 7, 2023, 2:04 p.m. UTC
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: <linux-rockchip@lists.infradead.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 drivers/genpd/Makefile                                          | 1 +
 drivers/genpd/rockchip/Makefile                                 | 2 ++
 .../{soc/rockchip/pm_domains.c => genpd/rockchip/pm-domains.c}  | 0
 drivers/soc/rockchip/Makefile                                   | 1 -
 4 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 drivers/genpd/rockchip/Makefile
 rename drivers/{soc/rockchip/pm_domains.c => genpd/rockchip/pm-domains.c} (100%)

Comments

Heiko Stübner July 7, 2023, 2:13 p.m. UTC | #1
Am Freitag, 7. Juli 2023, 16:04:26 CEST schrieb Ulf Hansson:
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: <linux-rockchip@lists.infradead.org>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

I guess this is part of a bigger series moving these things around, so
Acked-by: Heiko Stuebner <heiko@sntech.de>

> ---
>  drivers/genpd/Makefile                                          | 1 +
>  drivers/genpd/rockchip/Makefile                                 | 2 ++
>  .../{soc/rockchip/pm_domains.c => genpd/rockchip/pm-domains.c}  | 0
>  drivers/soc/rockchip/Makefile                                   | 1 -
>  4 files changed, 3 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/genpd/rockchip/Makefile
>  rename drivers/{soc/rockchip/pm_domains.c => genpd/rockchip/pm-domains.c} (100%)
> 
> diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
> index 286598ce7620..c178421e0cbc 100644
> --- a/drivers/genpd/Makefile
> +++ b/drivers/genpd/Makefile
> @@ -6,3 +6,4 @@ obj-y					+= bcm/
>  obj-y					+= mediatek/
>  obj-y					+= qcom/
>  obj-y					+= renesas/
> +obj-y					+= rockchip/
> diff --git a/drivers/genpd/rockchip/Makefile b/drivers/genpd/rockchip/Makefile
> new file mode 100644
> index 000000000000..8fb9d88a3492
> --- /dev/null
> +++ b/drivers/genpd/rockchip/Makefile
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +obj-$(CONFIG_ROCKCHIP_PM_DOMAINS)	+= pm-domains.o
> diff --git a/drivers/soc/rockchip/pm_domains.c b/drivers/genpd/rockchip/pm-domains.c
> similarity index 100%
> rename from drivers/soc/rockchip/pm_domains.c
> rename to drivers/genpd/rockchip/pm-domains.c
> diff --git a/drivers/soc/rockchip/Makefile b/drivers/soc/rockchip/Makefile
> index 05f31a4e743c..23d414433c8c 100644
> --- a/drivers/soc/rockchip/Makefile
> +++ b/drivers/soc/rockchip/Makefile
> @@ -4,5 +4,4 @@
>  #
>  obj-$(CONFIG_ROCKCHIP_GRF) += grf.o
>  obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o
> -obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o
>  obj-$(CONFIG_ROCKCHIP_DTPM) += dtpm.o
>
diff mbox series

Patch

diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
index 286598ce7620..c178421e0cbc 100644
--- a/drivers/genpd/Makefile
+++ b/drivers/genpd/Makefile
@@ -6,3 +6,4 @@  obj-y					+= bcm/
 obj-y					+= mediatek/
 obj-y					+= qcom/
 obj-y					+= renesas/
+obj-y					+= rockchip/
diff --git a/drivers/genpd/rockchip/Makefile b/drivers/genpd/rockchip/Makefile
new file mode 100644
index 000000000000..8fb9d88a3492
--- /dev/null
+++ b/drivers/genpd/rockchip/Makefile
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_ROCKCHIP_PM_DOMAINS)	+= pm-domains.o
diff --git a/drivers/soc/rockchip/pm_domains.c b/drivers/genpd/rockchip/pm-domains.c
similarity index 100%
rename from drivers/soc/rockchip/pm_domains.c
rename to drivers/genpd/rockchip/pm-domains.c
diff --git a/drivers/soc/rockchip/Makefile b/drivers/soc/rockchip/Makefile
index 05f31a4e743c..23d414433c8c 100644
--- a/drivers/soc/rockchip/Makefile
+++ b/drivers/soc/rockchip/Makefile
@@ -4,5 +4,4 @@ 
 #
 obj-$(CONFIG_ROCKCHIP_GRF) += grf.o
 obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o
-obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o
 obj-$(CONFIG_ROCKCHIP_DTPM) += dtpm.o