2023-07-07 14:12:10

by Ulf Hansson

[permalink] [raw]
Subject: [PATCH 02/18] soc: actions: Move power-domain driver to the genpd dir

Cc: "Andreas Färber" <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
---
drivers/genpd/Makefile | 1 +
drivers/genpd/actions/Makefile | 2 ++
drivers/{soc => genpd}/actions/owl-sps.c | 0
drivers/soc/actions/Makefile | 1 -
4 files changed, 3 insertions(+), 1 deletion(-)
create mode 100644 drivers/genpd/actions/Makefile
rename drivers/{soc => genpd}/actions/owl-sps.c (100%)

diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
index a4e40e534e6a..a2d5b2095915 100644
--- a/drivers/genpd/Makefile
+++ b/drivers/genpd/Makefile
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += actions/
diff --git a/drivers/genpd/actions/Makefile b/drivers/genpd/actions/Makefile
new file mode 100644
index 000000000000..e78c420a2454
--- /dev/null
+++ b/drivers/genpd/actions/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0+
+obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
diff --git a/drivers/soc/actions/owl-sps.c b/drivers/genpd/actions/owl-sps.c
similarity index 100%
rename from drivers/soc/actions/owl-sps.c
rename to drivers/genpd/actions/owl-sps.c
diff --git a/drivers/soc/actions/Makefile b/drivers/soc/actions/Makefile
index 4db9e7b050e5..4ac88fec2050 100644
--- a/drivers/soc/actions/Makefile
+++ b/drivers/soc/actions/Makefile
@@ -1,4 +1,3 @@
# SPDX-License-Identifier: GPL-2.0+

obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
-obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
--
2.34.1



2023-07-07 16:51:45

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH 02/18] soc: actions: Move power-domain driver to the genpd dir

On Fri, Jul 07, 2023 at 04:04:18PM +0200, Ulf Hansson wrote:
> Cc: "Andreas Färber" <[email protected]>
> Cc: Manivannan Sadhasivam <[email protected]>
> Cc: <[email protected]>
> Signed-off-by: Ulf Hansson <[email protected]>

Acked-by: Manivannan Sadhasivam <[email protected]>

I hope Arnd will take this patch directly.

- Mani

> ---
> drivers/genpd/Makefile | 1 +
> drivers/genpd/actions/Makefile | 2 ++
> drivers/{soc => genpd}/actions/owl-sps.c | 0
> drivers/soc/actions/Makefile | 1 -
> 4 files changed, 3 insertions(+), 1 deletion(-)
> create mode 100644 drivers/genpd/actions/Makefile
> rename drivers/{soc => genpd}/actions/owl-sps.c (100%)
>
> diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
> index a4e40e534e6a..a2d5b2095915 100644
> --- a/drivers/genpd/Makefile
> +++ b/drivers/genpd/Makefile
> @@ -1 +1,2 @@
> # SPDX-License-Identifier: GPL-2.0-only
> +obj-y += actions/
> diff --git a/drivers/genpd/actions/Makefile b/drivers/genpd/actions/Makefile
> new file mode 100644
> index 000000000000..e78c420a2454
> --- /dev/null
> +++ b/drivers/genpd/actions/Makefile
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0+
> +obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
> diff --git a/drivers/soc/actions/owl-sps.c b/drivers/genpd/actions/owl-sps.c
> similarity index 100%
> rename from drivers/soc/actions/owl-sps.c
> rename to drivers/genpd/actions/owl-sps.c
> diff --git a/drivers/soc/actions/Makefile b/drivers/soc/actions/Makefile
> index 4db9e7b050e5..4ac88fec2050 100644
> --- a/drivers/soc/actions/Makefile
> +++ b/drivers/soc/actions/Makefile
> @@ -1,4 +1,3 @@
> # SPDX-License-Identifier: GPL-2.0+
>
> obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
> -obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
> --
> 2.34.1
>

--
மணிவண்ணன் சதாசிவம்