From: Yixun Lan <dlan@gentoo.org>
To: Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: Alex Elder <elder@riscstar.com>,
Guodong Xu <guodong@riscstar.com>,
Inochi Amaoto <inochiama@gmail.com>,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: [PATCH 2/2] reset: spacemit: fix auxiliary device id
Date: Thu, 25 Dec 2025 15:47:44 +0800 [thread overview]
Message-ID: <20251225074744-GYA2000703@gentoo.org> (raw)
In-Reply-To: <20251220-06-k1-clk-common-v1-2-df28a0a91621@gentoo.org>
Hi All,
On 09:11 Sat 20 Dec , Yixun Lan wrote:
> Due to the auxiliary register procedure moved to ccu common module,
> the auxiliary device id need to be adjusted, otherwise reset driver
> will fail to probe.
>
> Signed-off-by: Yixun Lan <dlan@gentoo.org>
> ---
> drivers/reset/reset-spacemit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/reset/reset-spacemit.c b/drivers/reset/reset-spacemit.c
> index e1272aff28f7..0bfd90567011 100644
> --- a/drivers/reset/reset-spacemit.c
> +++ b/drivers/reset/reset-spacemit.c
> @@ -278,7 +278,7 @@ static int spacemit_reset_probe(struct auxiliary_device *adev,
>
> #define K1_AUX_DEV_ID(_unit) \
> { \
> - .name = "spacemit_ccu_k1." #_unit "-reset", \
> + .name = "spacemit_ccu." #_unit "-reset", \
To distinguish support from K3 SoC, the k1 namespace still need to be
kept, I will update this in next version
--
Yixun Lan (dlan)
WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <dlan@gentoo.org>
To: Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: Alex Elder <elder@riscstar.com>,
Guodong Xu <guodong@riscstar.com>,
Inochi Amaoto <inochiama@gmail.com>,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: [PATCH 2/2] reset: spacemit: fix auxiliary device id
Date: Thu, 25 Dec 2025 15:47:44 +0800 [thread overview]
Message-ID: <20251225074744-GYA2000703@gentoo.org> (raw)
In-Reply-To: <20251220-06-k1-clk-common-v1-2-df28a0a91621@gentoo.org>
Hi All,
On 09:11 Sat 20 Dec , Yixun Lan wrote:
> Due to the auxiliary register procedure moved to ccu common module,
> the auxiliary device id need to be adjusted, otherwise reset driver
> will fail to probe.
>
> Signed-off-by: Yixun Lan <dlan@gentoo.org>
> ---
> drivers/reset/reset-spacemit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/reset/reset-spacemit.c b/drivers/reset/reset-spacemit.c
> index e1272aff28f7..0bfd90567011 100644
> --- a/drivers/reset/reset-spacemit.c
> +++ b/drivers/reset/reset-spacemit.c
> @@ -278,7 +278,7 @@ static int spacemit_reset_probe(struct auxiliary_device *adev,
>
> #define K1_AUX_DEV_ID(_unit) \
> { \
> - .name = "spacemit_ccu_k1." #_unit "-reset", \
> + .name = "spacemit_ccu." #_unit "-reset", \
To distinguish support from K3 SoC, the k1 namespace still need to be
kept, I will update this in next version
--
Yixun Lan (dlan)
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2025-12-25 7:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-20 1:11 [PATCH 0/2] clk: spacemit: refactor common ccu driver Yixun Lan
2025-12-20 1:11 ` Yixun Lan
2025-12-20 1:11 ` [PATCH 1/2] clk: spacemit: extract common ccu functions Yixun Lan
2025-12-20 1:11 ` Yixun Lan
2025-12-20 1:11 ` [PATCH 2/2] reset: spacemit: fix auxiliary device id Yixun Lan
2025-12-20 1:11 ` Yixun Lan
2025-12-20 2:40 ` Yao Zi
2025-12-20 2:40 ` Yao Zi
2025-12-20 2:59 ` Yixun Lan
2025-12-20 2:59 ` Yixun Lan
2025-12-24 11:48 ` Yixun Lan
2025-12-24 11:48 ` Yixun Lan
2026-01-03 22:00 ` Yixun Lan
2026-01-03 22:00 ` Yixun Lan
2026-01-08 11:07 ` Philipp Zabel
2026-01-08 11:07 ` Philipp Zabel
2025-12-25 7:47 ` Yixun Lan [this message]
2025-12-25 7:47 ` Yixun Lan
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=20251225074744-GYA2000703@gentoo.org \
--to=dlan@gentoo.org \
--cc=elder@riscstar.com \
--cc=guodong@riscstar.com \
--cc=inochiama@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=spacemit@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.