Linux clock framework development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Cc: linux-clk@vger.kernel.org, sboyd@kernel.org,
	mturquette@baylibre.com, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, yangshiji66@outlook.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: clock: add clock definitions for Ralink SoCs
Date: Mon, 13 Jan 2025 13:17:41 +0100	[thread overview]
Message-ID: <ec255edc-adcd-4c18-8f9c-209298f2bbff@kernel.org> (raw)
In-Reply-To: <CAMhs-H9ysdJ9nUuStWJpRqTzm-09ZS5TMdhWgKMZx+JZdo6teQ@mail.gmail.com>

On 13/01/2025 12:32, Sergio Paracuellos wrote:
> Hi Krzysztof,
> 
> On Mon, Jan 13, 2025 at 12:18 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 13/01/2025 09:28, Sergio Paracuellos wrote:
>>> Add clock missing definitions for RT2880, RT305X, RT3352, RT3383, RT5350,
>>> MT-7620 and MT-76X8 Ralink SoCs.
>>>
>>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
>>
>> 1. Please use get_maintainers.
> 
> I did but from my tree which is tag: v6.12.5, linux-stable/linux-6.12.y. Sorry.

That's separate problem, but not one I was thinking about. Even on 6.12
stable you would get dt list, which is missing here.

This means no testing, although does not matter here, and it does not
appear in Patchwork which means does not reach us, except my filter for
nagging.

> 
>> 2. What is the point of this? We do not add constants when there are no
>> users. Commit msg explains here nothing.
> 
> All of the old ralink SoCs' dts files which are in the tree are not
> properly updated. I expect to have them updated somewhere in time
> merging real base stuff from openwrt dts [0] files. Not having this
> header with definitions makes very hard to update dts and then
> checking the driver code becomes a need to see the indexes for the
> clocks to properly setup a consumer node. Because of this, this file
> is added here.

Still there is no point without the users. I do not see any reason why
this cannot be combined with fixing driver to use the header. Not
combining is an indication this is not a binding in the first place.

In any case there should be explanation in commit msg about such choice.

> 
>>
>>> ---
>>>  include/dt-bindings/clock/mtmips-clk.h | 130 +++++++++++++++++++++++++
>>
>> Filename matching compatible.
> 
> There are multiple compatibles regarding this, since the driver covers

Driver almost does not matter.

> a lot of SoCs. So I preferred to put them all in a single header file.
> See [1]. Should I add a different file for any single compatible
> instead?

Well, are all in the same bindings file? If so, can stay but then:
filename matching binding, because binding has proper naming scheme.

Best regards,
Krzysztof

  reply	other threads:[~2025-01-13 12:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-13  8:28 [PATCH] dt-bindings: clock: add clock definitions for Ralink SoCs Sergio Paracuellos
2025-01-13 11:18 ` Krzysztof Kozlowski
2025-01-13 11:32   ` Sergio Paracuellos
2025-01-13 12:17     ` Krzysztof Kozlowski [this message]
2025-01-13 12:29       ` Sergio Paracuellos
2025-01-13 12:37         ` Krzysztof Kozlowski
2025-01-13 12:58           ` Sergio Paracuellos
2025-01-14  7:09             ` Krzysztof Kozlowski
2025-01-14  7:43               ` Sergio Paracuellos
2025-01-15  8:27                 ` Krzysztof Kozlowski
2025-01-15  9:00                   ` Sergio Paracuellos

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=ec255edc-adcd-4c18-8f9c-209298f2bbff@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    --cc=yangshiji66@outlook.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