From: Jian Hu <jian.hu@amlogic.com>
To: Jerome Brunet <jbrunet@baylibre.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Kevin Hilman <khilman@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH RFC RFT v2 3/3] clk: meson: pll: Remove the dedicated n parameter
Date: Fri, 27 Nov 2026 14:43:30 +0800 [thread overview]
Message-ID: <0548866d-8214-47f1-9dba-06629240993b@amlogic.com> (raw)
In-Reply-To: <98fc8cb8-186b-493e-b74c-d8625d11dab1@amlogic.com>
On 11/25/2026 9:06 PM, Jian Hu wrote:
>
> On 11/6/2026 1:50 AM, Jerome Brunet wrote:
>
[ ... ]
>>>
>>> -struct pll_params_table {
>>> - unsigned int m;
>>> - unsigned int n;
>>> +struct pll_mult_table {
>> nit: a struct with a single member. A plain 0-terminated
>> `const unsigned int *` list of multipliers would do
>>
>> Also, there are spaces instead of a tab before `m`.
>
>
> Ok, I'll remove the single-member struct and switch to a 0-terminated
> unsigned int array.
>
> The helper's table pointer will be updated to 'const unsigned int *'.
>
> The spacing issue is resolved as a result.
>
>
> To avoid ending this series with a mechanical patch touching every SoC.
>
> I will submit a separate patch before the per-SoC changes to add a
> 'mult_table' member
>
> to the 'struct meson_meson_clk_pll_data' structure.
>
A short follow-up on the table conversion I described earlier.
I said I would add a separate "const unsigned int *" member and convert the
SoC tables one by one. I would rather keep the existing member name 'table',
instead of adding a second table name.
The G12A/Meson8/AXG table converts will be submitted together with the final
removing 'n' patch.
>>> + unsigned int m;
>>> };
>>>
[ ... ]
--
Jian
next prev parent reply other threads:[~2026-11-27 6:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 9:30 [PATCH RFC RFT v2 0/3] clk: meson: Refactor PLL pre-divider as a divider clock Jian Hu via B4 Relay
2026-10-29 9:30 ` [PATCH RFC RFT v2 1/3] dt-bindings: clock: amlogic: Add PLL pre-divider clock IDs Jian Hu via B4 Relay
2026-10-29 9:30 ` [PATCH RFC RFT v2 2/3] clk: divider: add CLK_DIVIDER_INVALID_ZERO flag Jian Hu via B4 Relay
2026-11-05 17:50 ` Jerome Brunet
2026-11-20 8:24 ` Jian Hu
2026-10-29 9:30 ` [PATCH RFC RFT v2 3/3] clk: meson: pll: Remove the dedicated n parameter Jian Hu via B4 Relay
2026-11-05 17:50 ` Jerome Brunet
2026-11-25 13:06 ` Jian Hu
2026-11-27 6:43 ` Jian Hu [this message]
2026-11-27 13:21 ` Jerome Brunet
2026-11-05 17:50 ` [PATCH RFC RFT v2 0/3] clk: meson: Refactor PLL pre-divider as a divider clock Jerome Brunet
2026-11-09 8:55 ` Jian Hu
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=0548866d-8214-47f1-9dba-06629240993b@amlogic.com \
--to=jian.hu@amlogic.com \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--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®