From: Haylen Chu <heylenay@4d2.org>
To: Alex Elder <elder@riscstar.com>,
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>,
Haylen Chu <heylenay@outlook.com>, Yixun Lan <dlan@gentoo.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>
Cc: linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
spacemit@lists.linux.dev, Inochi Amaoto <inochiama@outlook.com>,
Chen Wang <unicornxdotw@foxmail.com>,
Jisheng Zhang <jszhang@kernel.org>,
Meng Zhang <zhangmeng.kevin@linux.spacemit.com>
Subject: Re: [PATCH v6 6/6] riscv: defconfig: enable clock controller unit support for SpacemiT K1
Date: Thu, 10 Apr 2025 04:12:17 +0000 [thread overview]
Message-ID: <Z_dFIavJT9_KwT1O@ketchup> (raw)
In-Reply-To: <e2c5c2c2-61a8-458d-8e95-521c5ea752f9@riscstar.com>
On Tue, Apr 08, 2025 at 02:37:35PM -0500, Alex Elder wrote:
> On 4/1/25 12:24 PM, Haylen Chu wrote:
> > Clock controller unit, or CCU, generates various clocks frequency for
> > peripherals integrated in SpacemiT K1 SoC and is essential for normal
> > operation. Let's enable it in defconfig.
> >
> > Signed-off-by: Haylen Chu <heylenay@4d2.org>
> > ---
> > arch/riscv/configs/defconfig | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> > index 0f7dcbe3c45b..011788d16d93 100644
> > --- a/arch/riscv/configs/defconfig
> > +++ b/arch/riscv/configs/defconfig
> > @@ -252,6 +252,8 @@ CONFIG_CLK_SOPHGO_CV1800=y
> > CONFIG_CLK_SOPHGO_SG2042_PLL=y
> > CONFIG_CLK_SOPHGO_SG2042_CLKGEN=y
> > CONFIG_CLK_SOPHGO_SG2042_RPGATE=y
> > +CONFIG_SPACEMIT_CCU=y
> > +CONFIG_SPACEMIT_K1_CCU=y
>
> Maybe these could be specified with default values that
> are based on the value of CONFIG_ARCH_SPACEMIT instead of
> forcing them to be defined here?
As mentioned by Inochi earlier[1], putting defaults configuration in
defconfig instead through a "default" kconfig property is the preference
of clk subsystem, so I'd like to follow.
> -Alex
>
> > CONFIG_SUN8I_DE2_CCU=m
> > CONFIG_SUN50I_IOMMU=y
> > CONFIG_RPMSG_CHAR=y
>
Regards,
Haylen Chu
[1] https://lore.kernel.org/all/xwo2jjqy634z4rimgyrbjmxlgzxzauxmqzl57qr5oasph74qwj@7we45fnhwfzh/
next prev parent reply other threads:[~2025-04-10 4:12 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 17:24 [PATCH v6 0/6] Add clock controller support for SpacemiT K1 Haylen Chu
2025-04-01 17:24 ` [PATCH v6 1/6] dt-bindings: soc: spacemit: Add spacemit,k1-syscon Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-01 17:24 ` [PATCH v6 2/6] dt-bindings: clock: spacemit: Add spacemit,k1-pll Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-01 17:24 ` [PATCH v6 3/6] clk: spacemit: Add clock support for SpacemiT K1 SoC Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-10 0:37 ` Yixun Lan
2025-04-10 0:54 ` Inochi Amaoto
2025-04-10 0:57 ` Inochi Amaoto
2025-04-10 1:10 ` Alex Elder
2025-04-10 1:20 ` Inochi Amaoto
2025-04-10 1:55 ` Yixun Lan
2025-04-10 3:47 ` Inochi Amaoto
2025-04-10 12:30 ` Alex Elder
2025-04-10 12:32 ` Alex Elder
2025-04-10 4:07 ` Haylen Chu
2025-04-11 17:14 ` Goko Son
2025-04-10 1:16 ` Yixun Lan
2025-04-10 1:35 ` Inochi Amaoto
2025-04-10 6:54 ` Haylen Chu
2025-04-10 0:55 ` Yixun Lan
2025-04-10 3:55 ` Haylen Chu
2025-04-01 17:24 ` [PATCH v6 4/6] clk: spacemit: k1: Add TWSI8 bus and function clocks Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-10 4:09 ` Haylen Chu
2025-04-01 17:24 ` [PATCH v6 5/6] riscv: dts: spacemit: Add clock tree for SpacemiT K1 Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-01 17:24 ` [PATCH v6 6/6] riscv: defconfig: enable clock controller unit support " Haylen Chu
2025-04-08 19:37 ` Alex Elder
2025-04-10 4:12 ` Haylen Chu [this message]
2025-04-08 19:37 ` [PATCH v6 0/6] Add clock controller " Alex Elder
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=Z_dFIavJT9_KwT1O@ketchup \
--to=heylenay@4d2.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=elder@riscstar.com \
--cc=heylenay@outlook.com \
--cc=inochiama@outlook.com \
--cc=jszhang@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=unicornxdotw@foxmail.com \
--cc=zhangmeng.kevin@linux.spacemit.com \
/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