From: Xukai Wang <kingxukai@zohomail.com>
To: Stephen Boyd <sboyd@kernel.org>,
Albert Ou <aou@eecs.berkeley.edu>,
Conor Dooley <conor+dt@kernel.org>,
Conor Dooley <conor@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Rob Herring <robh@kernel.org>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
Samuel Holland <samuel.holland@sifive.com>,
Troy Mitchell <TroyMitchell988@gmail.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: Re: [PATCH v4 1/3] dt-bindings: clock: Add bindings for Canaan K230 clock controller
Date: Wed, 19 Feb 2025 20:28:02 +0800 [thread overview]
Message-ID: <41b3863a-0b2a-4cb1-8d83-8397822ed788@zohomail.com> (raw)
In-Reply-To: <c68c14422c7d27278f6fc75f285db7c7.sboyd@kernel.org>
On 2025/2/19 05:51, Stephen Boyd wrote:
> Quoting Xukai Wang (2025-02-17 06:45:16)
>> +$id: http://devicetree.org/schemas/clock/canaan,k230-clk.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Canaan Kendryte K230 Clock
>> +
>> +maintainers:
>> + - Xukai Wang <kingxukai@zohomail.com>
> Is this missing a description of the device?
Alright. Here's the added description:
The K230 clock controller manages the PLLs and system clocks (sysclk),
generating clocks for different domains. The internal PLLs are derived
from the external osc24M, and all sysclk signals use either the PLLs'
dividers or directly the osc24M source.
Not all macros defined in include/dt-bindings/clock/canaan,k230-clk.h
are available for use in clock consumer nodes yet.
Does this looks appropriate?
>> + reg = <0x91102000 0x1000>,
> Is there a reason why the PLL range comes first?
As I thought that the PLL is the base for other system clocks (sysclk),
so I placed it first.
> What's at 0x91101000? More clk hardware?
Regarding 0x91101000, there is no clk hardware at that address; it is
related to the Reset Management Unit (RMU).
You can refer to the K230 Technical Reference Manual [1] on page 11 for
its Address Space mapping.
Thanks for your time.
Link:
https://kendryte-download.canaan-creative.com/developer/k230/HDK/K230%E7%A1%AC%E4%BB%B6%E6%96%87%E6%A1%A3/K230_Technical_Reference_Manual_V0.3.1_20241118.pdf
[1]
>> + <0x91100000 0x1000>;
next prev parent reply other threads:[~2025-02-19 12:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 14:45 [PATCH v4 0/3] riscv: canaan: Add support for K230-Canmv clock Xukai Wang
2025-02-17 14:45 ` [PATCH v4 1/3] dt-bindings: clock: Add bindings for Canaan K230 clock controller Xukai Wang
2025-02-18 21:51 ` Stephen Boyd
2025-02-19 12:28 ` Xukai Wang [this message]
2025-02-17 14:45 ` [PATCH v4 2/3] clk: canaan: Add clock driver for Canaan K230 Xukai Wang
2025-02-18 21:48 ` Stephen Boyd
2025-02-20 15:07 ` Xukai Wang
2025-02-20 15:18 ` Xukai Wang
2025-02-17 14:45 ` [PATCH v4 3/3] riscv: dts: canaan: Add clock initial support for K230 Xukai Wang
2025-02-18 17:00 ` Conor Dooley
2025-02-18 17:36 ` Xukai Wang
2025-02-18 17:02 ` [PATCH v4 0/3] riscv: canaan: Add support for K230-Canmv clock Conor Dooley
2025-02-18 21:51 ` Stephen Boyd
2025-02-19 17:07 ` Conor Dooley
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=41b3863a-0b2a-4cb1-8d83-8397822ed788@zohomail.com \
--to=kingxukai@zohomail.com \
--cc=TroyMitchell988@gmail.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.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=samuel.holland@sifive.com \
--cc=sboyd@kernel.org \
/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®