From: Peng Fan <peng.fan@oss.nxp.com>
To: Duje Mihanovi?? <duje@dujemihanovic.xyz>
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
David Wronek <david@mainlining.org>,
Karel Balej <balejk@matfyz.cz>,
phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v3 3/4] clk: mmp: pxa1908: Instantiate power driver through auxiliary bus
Date: Mon, 15 Sep 2025 16:41:24 +0800 [thread overview]
Message-ID: <20250915084124.GG8224@nxa18884-linux.ap.freescale.net> (raw)
In-Reply-To: <20250829-pxa1908-genpd-v3-3-2aacaaaca271@dujemihanovic.xyz>
On Fri, Aug 29, 2025 at 06:21:06PM +0200, Duje Mihanovi?? wrote:
>The power domain driver shares the APMU clock controller's registers.
>Instantiate the power domain driver through the APMU clock driver using
>the auxiliary bus.
>
>Also create a separate Kconfig entry for the PXA1908 clock driver to
>allow (de)selecting the driver at will and selecting
>CONFIG_AUXILIARY_BUS.
>
>Signed-off-by: Duje Mihanovi?? <duje@dujemihanovic.xyz>
>---
>v3:
>- Move driver back to pmdomain subsystem, use auxiliary bus to
> instantiate the driver
>
>v2:
>- Move to clk subsystem, instantiate the driver from the APMU clock
> driver
>- Drop clock handling
>- Squash MAINTAINERS patch
>---
> MAINTAINERS | 2 ++
> drivers/clk/Kconfig | 1 +
> drivers/clk/mmp/Kconfig | 10 ++++++++++
> drivers/clk/mmp/Makefile | 5 ++++-
> drivers/clk/mmp/clk-pxa1908-apmu.c | 20 ++++++++++++++++++++
> 5 files changed, 37 insertions(+), 1 deletion(-)
>
>diff --git a/MAINTAINERS b/MAINTAINERS
>index 34e5e218e83e0ed9882b111f5251601dd6549d4e..88c0df09d7b354f95864f5a48daea3be14a90dc4 100644
>--- a/MAINTAINERS
>+++ b/MAINTAINERS
>@@ -2869,7 +2869,9 @@ ARM/Marvell PXA1908 SOC support
> M: Duje Mihanovi?? <duje@dujemihanovic.xyz>
> L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> S: Maintained
>+F: Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml
> F: arch/arm64/boot/dts/marvell/mmp/
>+F: drivers/clk/mmp/Kconfig
> F: drivers/clk/mmp/clk-pxa1908*.c
> F: drivers/pmdomain/marvell/
> F: include/dt-bindings/clock/marvell,pxa1908.h
>diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
>index 4d56475f94fc1e28823fe6aee626a96847d4e6d5..68a9641fc649a23013b2d8a9e9f5ecb31d623abb 100644
>--- a/drivers/clk/Kconfig
>+++ b/drivers/clk/Kconfig
>@@ -511,6 +511,7 @@ source "drivers/clk/imx/Kconfig"
> source "drivers/clk/ingenic/Kconfig"
> source "drivers/clk/keystone/Kconfig"
> source "drivers/clk/mediatek/Kconfig"
>+source "drivers/clk/mmp/Kconfig"
> source "drivers/clk/meson/Kconfig"
> source "drivers/clk/mstar/Kconfig"
> source "drivers/clk/microchip/Kconfig"
>diff --git a/drivers/clk/mmp/Kconfig b/drivers/clk/mmp/Kconfig
>new file mode 100644
>index 0000000000000000000000000000000000000000..b0d2fea3cda5de1284916ab75d3af0412edcf57f
>--- /dev/null
>+++ b/drivers/clk/mmp/Kconfig
>@@ -0,0 +1,10 @@
>+# SPDX-License-Identifier: GPL-2.0-only
>+
>+config COMMON_CLK_PXA1908
>+ bool "Clock driver for Marvell PXA1908"
tristate for module built.
Regards
Peng
next prev parent reply other threads:[~2025-09-15 7:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-29 16:21 [PATCH v3 0/4] Marvell PXA1908 power domains Duje Mihanović
2025-08-29 16:21 ` [PATCH v3 1/4] dt-bindings: clock: marvell,pxa1908: Add syscon compatible to apmu Duje Mihanović
2025-08-29 16:21 ` [PATCH v3 2/4] pmdomain: marvell: Add PXA1908 power domains Duje Mihanović
2025-09-11 14:31 ` Ulf Hansson
2025-08-29 16:21 ` [PATCH v3 3/4] clk: mmp: pxa1908: Instantiate power driver through auxiliary bus Duje Mihanović
2025-09-11 14:35 ` Ulf Hansson
2025-09-15 8:41 ` Peng Fan [this message]
2025-08-29 16:21 ` [PATCH v3 4/4] arm64: dts: marvell: pxa1908: Add power domains Duje Mihanović
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250915084124.GG8224@nxa18884-linux.ap.freescale.net \
--to=peng.fan@oss.nxp.com \
--cc=balejk@matfyz.cz \
--cc=conor+dt@kernel.org \
--cc=david@mainlining.org \
--cc=devicetree@vger.kernel.org \
--cc=duje@dujemihanovic.xyz \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®