linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 01/18] genpd: Create a new subsystem directory to host genpd providers
@ 2023-07-11 14:19 Ulf Hansson
  2023-07-16  7:39 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2023-07-11 14:19 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson
  Cc: Linus Walleij, Michal Simek, Nishanth Menon, Santosh Shilimkar,
	Tero Kristo, Tony Lindgren, Thierry Reding, Jonathan Hunter,
	Mikko Perttunen, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Walker Chen, Conor Dooley, Krzysztof Kozlowski, Alim Akhtar,
	Heiko Stuebner, Geert Uytterhoeven, Magnus Damm, Bjorn Andersson,
	Konrad Dybcio, Andy Gross, Matthias Brugger,
	AngeloGioacchino Del Regno, Shawn Guo, Sascha Hauer,
	Fabio Estevam, Florian Fainelli, Ray Jui, Scott Branden,
	Hector Martin, Sven Peter, Alyssa Rosenzweig, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, Andreas Farber,
	Manivannan Sadhasivam, Ulf Hansson, linux-pm, linux-arm-kernel,
	linux-kernel

There are currently ~60 users of the genpd provider interface, which
implementations are sprinkled across various subsystems. To simplify with
maintenance let's create a new subsystem (drivers/genpd) and start moving
the providers in there.

My intention is also to host a git tree to collect and to get the patches
tested/integrated through the linux-next tree. Ideally this should release
some of the burden on the soc maintainers.

Note that, I will of course require acks/reviews from the current platform
maintainers, hence the MAINTAINERS file needs to be updated accordingly for
each genpd provider that is moved into the new genpd subsystem.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 MAINTAINERS            | 7 +++++++
 drivers/Makefile       | 1 +
 drivers/genpd/Makefile | 1 +
 3 files changed, 9 insertions(+)
 create mode 100644 drivers/genpd/Makefile

diff --git a/MAINTAINERS b/MAINTAINERS
index 3be1bdfe8ecc..38eebcc97aa2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8665,6 +8665,13 @@ F:	Documentation/devicetree/bindings/power/power?domain*
 F:	drivers/base/power/domain*.c
 F:	include/linux/pm_domain.h
 
+GENERIC PM DOMAIN PROVIDERS
+M:	Ulf Hansson <ulf.hansson@linaro.org>
+L:	linux-pm@vger.kernel.org
+S:	Supported
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
+F:	drivers/genpd/
+
 GENERIC RESISTIVE TOUCHSCREEN ADC DRIVER
 M:	Eugen Hristev <eugen.hristev@microchip.com>
 L:	linux-input@vger.kernel.org
diff --git a/drivers/Makefile b/drivers/Makefile
index 7241d80a7b29..cffac5b8c092 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -45,6 +45,7 @@ obj-$(CONFIG_DMADEVICES)	+= dma/
 
 # SOC specific infrastructure drivers.
 obj-y				+= soc/
+obj-$(CONFIG_PM_GENERIC_DOMAINS)	+= genpd/
 
 obj-y				+= virtio/
 obj-$(CONFIG_VDPA)		+= vdpa/
diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile
new file mode 100644
index 000000000000..a4e40e534e6a
--- /dev/null
+++ b/drivers/genpd/Makefile
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0-only
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 01/18] genpd: Create a new subsystem directory to host genpd providers
  2023-07-11 14:19 [PATCH v2 01/18] genpd: Create a new subsystem directory to host genpd providers Ulf Hansson
@ 2023-07-16  7:39 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2023-07-16  7:39 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Arnd Bergmann, Olof Johansson, Michal Simek, Nishanth Menon,
	Santosh Shilimkar, Tero Kristo, Tony Lindgren, Thierry Reding,
	Jonathan Hunter, Mikko Perttunen, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Walker Chen, Conor Dooley, Krzysztof Kozlowski,
	Alim Akhtar, Heiko Stuebner, Geert Uytterhoeven, Magnus Damm,
	Bjorn Andersson, Konrad Dybcio, Andy Gross, Matthias Brugger,
	AngeloGioacchino Del Regno, Shawn Guo, Sascha Hauer,
	Fabio Estevam, Florian Fainelli, Ray Jui, Scott Branden,
	Hector Martin, Sven Peter, Alyssa Rosenzweig, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, Andreas Farber,
	Manivannan Sadhasivam, linux-pm, linux-arm-kernel, linux-kernel

On Tue, Jul 11, 2023 at 4:20 PM Ulf Hansson <ulf.hansson@linaro.org> wrote:

> +GENERIC PM DOMAIN PROVIDERS

Maybe not everyone will understand the acronym?
"GENERIC POWER MANAGEMENT DOMAIN PROVIDERS"?

Either way:

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-16  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 14:19 [PATCH v2 01/18] genpd: Create a new subsystem directory to host genpd providers Ulf Hansson
2023-07-16  7:39 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).