diff mbox series

[01/17] pmdomain: Prepare to move Kconfig files into the pmdomain subsystem

Message ID 20230914111554.586438-1-ulf.hansson@linaro.org (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series pmdomain: Move Kconfig options/files to the pmdomain subsystem | expand

Commit Message

Ulf Hansson Sept. 14, 2023, 11:15 a.m. UTC
Rather than having the various Kconfig files for the genpd providers
sprinkled across subsystems, let's prepare to move them into the pmdomain
subsystem along with the implementations.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 drivers/Kconfig          | 2 ++
 drivers/pmdomain/Kconfig | 4 ++++
 2 files changed, 6 insertions(+)
 create mode 100644 drivers/pmdomain/Kconfig

Comments

Geert Uytterhoeven Sept. 14, 2023, 11:59 a.m. UTC | #1
Hi Ulf,

On Thu, Sep 14, 2023 at 1:17 PM Ulf Hansson <ulf.hansson@linaro.org> wrote:
> Rather than having the various Kconfig files for the genpd providers
> sprinkled across subsystems, let's prepare to move them into the pmdomain
> subsystem along with the implementations.
>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

Thanks for your patch!

> --- a/drivers/Kconfig
> +++ b/drivers/Kconfig
> @@ -175,6 +175,8 @@ source "drivers/soundwire/Kconfig"
>
>  source "drivers/soc/Kconfig"
>
> +source "drivers/genpd/Kconfig"

drivers/pmdomain/Kconfig

> +
>  source "drivers/devfreq/Kconfig"
>
>  source "drivers/extcon/Kconfig"
> diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
> new file mode 100644
> index 000000000000..c32a76b51840
> --- /dev/null
> +++ b/drivers/pmdomain/Kconfig
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +menu "Power Domains Support"

PM Domains

> +
> +endmenu

"b4 am" cannot download the full series at once.
It looks like you didn't send it as a series, but as individual patches?

Gr{oetje,eeting}s,

                        Geert
Ulf Hansson Sept. 14, 2023, 10:35 p.m. UTC | #2
On Thu, 14 Sept 2023 at 13:59, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Ulf,
>
> On Thu, Sep 14, 2023 at 1:17 PM Ulf Hansson <ulf.hansson@linaro.org> wrote:
> > Rather than having the various Kconfig files for the genpd providers
> > sprinkled across subsystems, let's prepare to move them into the pmdomain
> > subsystem along with the implementations.
> >
> > Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
>
> Thanks for your patch!
>
> > --- a/drivers/Kconfig
> > +++ b/drivers/Kconfig
> > @@ -175,6 +175,8 @@ source "drivers/soundwire/Kconfig"
> >
> >  source "drivers/soc/Kconfig"
> >
> > +source "drivers/genpd/Kconfig"
>
> drivers/pmdomain/Kconfig

Ohh, thanks for spotting this! I certainly failed in my internal re-base. :-(

>
> > +
> >  source "drivers/devfreq/Kconfig"
> >
> >  source "drivers/extcon/Kconfig"
> > diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
> > new file mode 100644
> > index 000000000000..c32a76b51840
> > --- /dev/null
> > +++ b/drivers/pmdomain/Kconfig
> > @@ -0,0 +1,4 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
> > +menu "Power Domains Support"
>
> PM Domains

Yep, that is better as it has a wider meaning (it can incorporate
clock-domains and performance-domains, for example). Let me change
that, thanks!

I will follow this pattern for each of the submenus too.

>
> > +
> > +endmenu
>
> "b4 am" cannot download the full series at once.
> It looks like you didn't send it as a series, but as individual patches?

I screwed up when sending. Sorry. I will submit a new version!

Thanks for reviewing!

Kind regards
Uffe
diff mbox series

Patch

diff --git a/drivers/Kconfig b/drivers/Kconfig
index efb66e25fa2d..045c469cb438 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -175,6 +175,8 @@  source "drivers/soundwire/Kconfig"
 
 source "drivers/soc/Kconfig"
 
+source "drivers/genpd/Kconfig"
+
 source "drivers/devfreq/Kconfig"
 
 source "drivers/extcon/Kconfig"
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
new file mode 100644
index 000000000000..c32a76b51840
--- /dev/null
+++ b/drivers/pmdomain/Kconfig
@@ -0,0 +1,4 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+menu "Power Domains Support"
+
+endmenu