From: Krzysztof Kozlowski <krzk@kernel.org>
To: Ezra Buehler <ezra@easyb.ch>
Cc: linux-mips@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>,
devicetree@vger.kernel.org,
Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Subject: Re: [PATCH v2 1/4] dt-bindings: clock: mediatek,mtmips-sysc: Adapt compatible for MT7688 boards
Date: Wed, 18 Jun 2025 08:19:26 +0200 [thread overview]
Message-ID: <3041baa7-64d2-40ec-b3c6-168d0a57965f@kernel.org> (raw)
In-Reply-To: <CAM1KZSnFsc1r+DUCC81aKiP-Pomd7dUYASg5e9VYJLu+v64_QQ@mail.gmail.com>
On 17/06/2025 17:29, Ezra Buehler wrote:
> On Tue, Jun 17, 2025 at 2:05 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 17/06/2025 13:40, Krzysztof Kozlowski wrote:
>>> On 17/06/2025 12:30, 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 | 29 +++++++++++--------
>>>> 1 file changed, 17 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..550807301fc5 100644
>>>> --- a/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml
>>>> +++ b/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml
>>>> @@ -26,18 +26,23 @@ description: |
>>>>
>>>> properties:
>>>> compatible:
>>>> - items:
>>>> - - enum:
>>>> - - ralink,mt7620-sysc
>>>> - - ralink,mt7628-sysc
>>>> - - ralink,mt7688-sysc
>>>> - - ralink,rt2880-sysc
>>>> - - ralink,rt3050-sysc
>>>> - - ralink,rt3052-sysc
>>>> - - ralink,rt3352-sysc
>>>> - - ralink,rt3883-sysc
>>>> - - ralink,rt5350-sysc
>>>> - - const: syscon
>>>> + oneOf:
>>>> + - items:
>>>> + - enum:
>>>> + - ralink,mt7620-sysc
>>>> + - ralink,mt7628-sysc
>>>
>>> It's here already, so this must be dropped.
>>
>>
>> I meant mt7628 is here already and you are adding it again further, so
>> it is now in two places.
>
> My idea was to support these variants, as they are all valid:
>
> compatible = "ralink,mt7628-sysc", "syscon";
> compatible = "ralink,mt7688-sysc", "syscon";
> compatible = "ralink,mt7628-sysc", "ralink,mt7688-sysc", "syscon";
How is it valid? Provide arguments because this defies logic. Device is
and is not compatible with 7688? The same time? How, really how?
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-06-18 6:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-17 10:30 [PATCH v2 0/4] MIPS: dts: ralink: mt7628a: Tweak for GARDENA smart Gateway Ezra Buehler
2025-06-17 10:30 ` [PATCH v2 1/4] dt-bindings: clock: mediatek,mtmips-sysc: Adapt compatible for MT7688 boards Ezra Buehler
2025-06-17 11:40 ` Krzysztof Kozlowski
2025-06-17 12:05 ` Krzysztof Kozlowski
2025-06-17 15:29 ` Ezra Buehler
2025-06-18 6:19 ` Krzysztof Kozlowski [this message]
2025-06-17 10:30 ` [PATCH v2 2/4] MIPS: dts: ralink: mt7628a: Fix sysc's compatible property for MT7688 Ezra Buehler
2025-06-17 10:30 ` [PATCH v2 3/4] MIPS: dts: ralink: mt7628a: Update watchdog node according to bindings Ezra Buehler
2025-06-17 10:30 ` [PATCH v2 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=3041baa7-64d2-40ec-b3c6-168d0a57965f@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