From: Ivaylo Ivanov Ivanov <ivo.ivanov.ivanov1@gmail.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Alim Akhtar <alim.akhtar@samsung.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: clock: add exynos8890 SoC
Date: Mon, 19 Jan 2026 12:43:50 +0200 [thread overview]
Message-ID: <ce6d0f29-6ce0-4c31-af9a-522335b0979b@gmail.com> (raw)
In-Reply-To: <20251022-affable-arrogant-coucal-3f7fbc@kuoka>
On 22.10.25 10:44, Krzysztof Kozlowski wrote:
> On Fri, Oct 17, 2025 at 07:13:29PM +0300, Ivaylo Ivanov wrote:
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: samsung,exynos8890-cmu-aud
>> +
>> + then:
>> + properties:
>> + clocks:
>> + items:
>> + - description: External reference clock (76.8 MHz)
>> + - description: CMU_AUD PLL clock (from CMU_TOP)
>> +
>> + clock-names:
>> + items:
>> + - const: oscclk
>> + - const: pll
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: samsung,exynos8890-cmu-bus0
>> +
>> + then:
>> + properties:
>> + clocks:
>> + items:
>> + - description: External reference clock (76.8 MHz)
>> + - description: CMU_BUS0 ACLK 528MHz clock (from CMU_TOP)
>> + - description: CMU_BUS0 ACLK 200MHz clock (from CMU_TOP)
>> + - description: CMU_BUS0 PCLK 132MHz clock (from CMU_TOP)
>> +
>> + clock-names:
>> + items:
>> + - const: oscclk
>> + - const: "528"
>> + - const: "200"
>> + - const: "132"
>
> We do not want the frequency here, for sure not frequency alone. There
> is no such code/syntax. Really. Please do not invent your own style.
> That's just pclk. You describe here the logical name of this clock
> input.
>
> ACLK is AXI bus clock, so if this block receives only one ACLK, then
> this is just "axi" or "bus". Recently we were calling this "bus".
>
> Same in other places. If two AXI bus clocks come in, they could be named
> bus0 and bus1, or in this case - because these are sources for
> generating further ACLKs - bus_528 and bus_200, to indicate that one
> will be for AXI bus clocked 528 MHz and other for 200 MHz.
>
> Please wait for some other opinions, because same rule I would like to
> apply to ExynosAuto, Artpec and Google GS.
>
> @Raghav Sharma, @Alim Akhtar, @Sam Protsenko, @Peter Griffin, @André
> Draszik - share your thoughs please?
>
> And to clarify in simple terms for others or for the future:
> 1. HCLK would be the AHB bus, so also bus. Both ACLK and HCLK are for
> memory accesses.
> 2. PCLK is APB bus, for registers.
> 3. SCLK is for main operation of the block (called special clock, but no
> clue what is so special about it).
>
So the consensus is to do something like this..
- const: oscclk
- const: bus_528
- const: bus_200
- const: pclk
.., right?
Mentioned people haven't replied. I'm asking because I think it'd be more
straightforward to go with just aclk_528 pclk_132 sclk_... or axi_528 apb_132.
What do you think?
Best regards,
Ivaylo
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: samsung,exynos8890-cmu-bus1
>> +
...
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2026-01-19 10:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-17 16:13 [PATCH v2 0/5] clk: samsung: introduce exynos8890 clock driver Ivaylo Ivanov
2025-10-17 16:13 ` [PATCH v2 1/5] dt-bindings: clock: add exynos8890 SoC Ivaylo Ivanov
2025-10-22 7:44 ` Krzysztof Kozlowski
2026-01-19 10:43 ` Ivaylo Ivanov Ivanov [this message]
2025-10-17 16:13 ` [PATCH v2 2/5] clk: samsung: clk-pll: Add support for pll_141xx Ivaylo Ivanov
2025-10-17 16:13 ` [PATCH v2 3/5] clk: samsung: clk-pll: Add support for pll_1419x Ivaylo Ivanov
2025-10-17 16:13 ` [PATCH v2 4/5] clk: samsung: clk-pll: Add support for pll_1431x Ivaylo Ivanov
[not found] ` <20251017161334.1295955-6-ivo.ivanov.ivanov1@gmail.com>
2025-10-22 7:56 ` [PATCH v2 5/5] clk: samsung: introduce exynos8890 clock driver Krzysztof Kozlowski
2025-10-24 12:07 ` Peter Griffin
2025-10-24 12:34 ` Ivaylo Ivanov
2025-10-24 13:51 ` Peter Griffin
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=ce6d0f29-6ce0-4c31-af9a-522335b0979b@gmail.com \
--to=ivo.ivanov.ivanov1@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh@kernel.org \
--cc=s.nawrocki@samsung.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