diff mbox series

[v2,11/18] soc: samsung: Move power-domain driver to the genpd dir

Message ID 20230711142148.751712-1-ulf.hansson@linaro.org (mailing list archive)
State Accepted
Commit 4419644bfc7f2ef86708758060d263500af9f88a
Headers show
Series None | expand

Commit Message

Ulf Hansson July 11, 2023, 2:21 p.m. UTC
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 <krzysztof.kozlowski@linaro.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: <linux-samsung-soc@vger.kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 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%)

Comments

Marek Szyprowski July 11, 2023, 3:10 p.m. UTC | #1
On 11.07.2023 16:21, Ulf Hansson wrote:
> 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 <krzysztof.kozlowski@linaro.org>
> Cc: Alim Akhtar <alim.akhtar@samsung.com>
> Cc: <linux-samsung-soc@vger.kernel.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>


> ---
>   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

Best regards
diff mbox series

Patch

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