public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jian Hu <jian.hu@amlogic.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Kevin Hilman <khilman@baylibre.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	robh+dt <robh+dt@kernel.org>, Rob Herring <robh@kernel.org>
Cc: devicetree <devicetree@vger.kernel.org>,
	linux-amlogic <linux-amlogic@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 2/4] soc: amlogic: clk-measure: Add A1 and T7 support
Date: Mon, 13 Apr 2026 11:10:30 +0200	[thread overview]
Message-ID: <b0d81181-d4a4-4c03-8c26-c7f6e8cde70f@kernel.org> (raw)
In-Reply-To: <274d2abd-05b9-4dbd-b962-ff70044b8d07@amlogic.com>

On 13/04/2026 10:21, Jian Hu wrote:
> 
> On 4/12/2026 5:55 PM, Krzysztof Kozlowski wrote:
>> [ EXTERNAL EMAIL ]
>>
>> On 10/04/2026 12:03, Jian Hu wrote:
>>> Add support for the A1 and T7 SoC family in amlogic clk measure.
>>>
>>> Signed-off-by: Jian Hu <jian.hu@amlogic.com>
>>> ---
>>>   drivers/soc/amlogic/meson-clk-measure.c | 272 ++++++++++++++++++++++++
>>>   1 file changed, 272 insertions(+)
>>>
>>> diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measure.c
>>> index d862e30a244e..083524671b76 100644
>>> --- a/drivers/soc/amlogic/meson-clk-measure.c
>>> +++ b/drivers/soc/amlogic/meson-clk-measure.c
>>> @@ -787,6 +787,258 @@ static const struct meson_msr_id clk_msr_s4[] = {
>>>
>>>   };
>>>
>>> +static struct meson_msr_id clk_msr_a1[] = {
>> And existing code uses what sort of array? Seems you send us obsolete or
>> downstream code.
> 
> 
> Thanks for your review.
> 
> 
> I have checked the previous Amlogic SoC's commits. Such as Amlogic AXG, 
> G12A, C3, S4.
> 
> The clk_msr_xx entry is added after last SoC's array, sorted by 
> submissin date rather than alphabetical order.
> 
> So I place A1 and T7 after S4 accordingly.
> 
> 
> The A1 clock controller driver was already supported in 
> https://lore.kernel.org/all/20230523135351.19133-7-ddrokosov@sberdevices.ru/
> 
> It is also present in the mainline kernel: 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clk/meson/Kconfig#n113
> 
> 
> This clock measure IP is used to measure the internal clock paths 
> frequencies,  and A1 clock controller driver was supported.
> 
> Since the corresponding clock measure driver does not support A1 yet, So 
> add A1 clk msr here.

No, what qualifiers or keywords are used for existing arrays? IOW,
please investigate and understand why you are doing this very different
than existing code. Maybe because you sent us downstream, so you
replicated all other downstream issues.

Best regards,
Krzysztof


  reply	other threads:[~2026-04-13  9:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10 10:03 [PATCH 0/4] soc: amlogic: clk-measure: add A1 and T7 support Jian Hu
2026-04-10 10:03 ` [PATCH 1/4] dt-bindings: soc: amlogic: clk-measure: Add A1 and T7 compatible Jian Hu
2026-04-10 10:03 ` [PATCH 2/4] soc: amlogic: clk-measure: Add A1 and T7 support Jian Hu
2026-04-12  9:55   ` Krzysztof Kozlowski
2026-04-13  8:21     ` Jian Hu
2026-04-13  9:10       ` Krzysztof Kozlowski [this message]
2026-04-13  9:24         ` Neil Armstrong
2026-04-13 11:33           ` Jian Hu
2026-04-10 10:03 ` [PATCH 3/4] arm64: dts: meson: a1: Add clk measure support Jian Hu
2026-04-10 10:03 ` [PATCH 4/4] arm64: dts: amlogic: t7: " Jian Hu
2026-04-10 16:58   ` Ronald Claveau

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=b0d81181-d4a4-4c03-8c26-c7f6e8cde70f@kernel.org \
    --to=krzk@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=jian.hu@amlogic.com \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mturquette@baylibre.com \
    --cc=neil.armstrong@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=robh@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