devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Ezra Buehler <ezra@easyb.ch>
Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
	Conor Dooley <conor+dt@kernel.org>,
	Harvey Hunt <harveyhuntnexus@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Reto Schneider <reto.schneider@husqvarnagroup.com>,
	Rob Herring <robh@kernel.org>,
	Sergio Paracuellos <sergio.paracuellos@gmail.com>,
	Stefan Roese <sr@denx.de>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Subject: Re: [PATCH v3 1/4] dt-bindings: clock: mediatek,mtmips-sysc: Adapt compatible for MT7688 boards
Date: Tue, 24 Jun 2025 11:12:11 +0200	[thread overview]
Message-ID: <db2575e9-b7b2-4a44-8ef7-0979b3f1f60d@kernel.org> (raw)
In-Reply-To: <C75A767D-BD81-48CB-8D39-9FD19BA67E78@easyb.ch>

On 24/06/2025 11:08, Ezra Buehler wrote:
>> On 20 Jun 2025, at 09:42, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Thu, Jun 19, 2025 at 10:34:59PM GMT, Ezra Buehler wrote:
>>> From: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
>>>
>>> As the MT7628 and MT7688 are identical in most respects, mt7628a.dtsi is
>>> used for both SoCs. To prevent "Kernel panic - not syncing: unable to
>>> get CPU clock, err=-2" and allow an MT7688-based board to boot, the
>>> following must be allowed:
>>>
>>>    compatible = "ralink,mt7628-sysc", "ralink,mt7688-sysc", "syscon";
>>>
>>> Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
>>> ---
>>> .../bindings/clock/mediatek,mtmips-sysc.yaml  | 27 ++++++++++---------
>>> 1 file changed, 15 insertions(+), 12 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml b/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml
>>> index 83c1803ffd16..3fabaa8acc10 100644
>>> --- a/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml
>>> +++ b/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml
>>> @@ -26,18 +26,21 @@ description: |
>>>
>>> properties:
>>>   compatible:
>>> -    items:
>>> -      - enum:
>>> -          - ralink,mt7620-sysc
>>> -          - ralink,mt7628-sysc
>>> -          - ralink,mt7688-sysc
>>
>> I do not understand why this is removed and commit msg explains nothing
>> about it. Re-add it back.
> 
> OK, so you suggest we allow
> 
> compatible = "ralink,mt7628-sysc", "ralink,mt7688-sysc", "syscon";
> 
> and
> 
> compatible = "ralink,mt7688-sysc", "syscon";
> 
> I'll adapt my patch accordingly.
> 
> Still, as AFAIK the MT7628 and MT7688 are identical in this regard,

Standard rules apply expressed in writing bindings, some talks/guides
and all modern SoCs...


> 
> compatible = "ralink,mt7688-sysc", "ralink,mt7628-sysc", "syscon";
> 
> would technically be valid too. Could you elaborate why that is not a
> good idea? The MT7688 is basically a subset of the MT7628.

You did not send such patch.

Best regards,
Krzysztof

  reply	other threads:[~2025-06-24  9:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 20:34 [PATCH v3 0/4] MIPS: dts: ralink: mt7628a: Tweak for GARDENA smart Gateway Ezra Buehler
2025-06-19 20:34 ` [PATCH v3 1/4] dt-bindings: clock: mediatek,mtmips-sysc: Adapt compatible for MT7688 boards Ezra Buehler
2025-06-20  7:42   ` Krzysztof Kozlowski
2025-06-24  9:08     ` Ezra Buehler
2025-06-24  9:12       ` Krzysztof Kozlowski [this message]
2025-06-24  9:21         ` Ezra Buehler
2025-06-24  9:24           ` Krzysztof Kozlowski
2025-06-19 20:35 ` [PATCH v3 2/4] MIPS: dts: ralink: mt7628a: Fix sysc's compatible property for MT7688 Ezra Buehler
2025-06-19 20:35 ` [PATCH v3 3/4] MIPS: dts: ralink: mt7628a: Update watchdog node according to bindings Ezra Buehler
2025-06-19 20:35 ` [PATCH v3 4/4] MIPS: dts: ralink: gardena_smart_gateway_mt7688: Fix power LED Ezra Buehler

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=db2575e9-b7b2-4a44-8ef7-0979b3f1f60d@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ezra.buehler@husqvarnagroup.com \
    --cc=ezra@easyb.ch \
    --cc=harveyhuntnexus@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=reto.schneider@husqvarnagroup.com \
    --cc=robh@kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    --cc=sr@denx.de \
    --cc=tsbogend@alpha.franken.de \
    /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;
as well as URLs for NNTP newsgroup(s).