From: Krzysztof Kozlowski <krzk@kernel.org>
To: Ezra Buehler <ezra@easyb.ch>
Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>,
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>, Stefan Roese <sr@denx.de>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
devicetree@vger.kernel.org,
Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Subject: Re: [PATCH v1 1/3] MIPS: dts: ralink: mt7628a: Fix sysc's compatible property for MT7688
Date: Fri, 13 Jun 2025 14:41:40 +0200 [thread overview]
Message-ID: <2ca2da8f-92b9-475f-aa41-bd54a95bfc69@kernel.org> (raw)
In-Reply-To: <CAM1KZSkKUYcsx_gpvtEaz7hoT-KfJmQ0xHeFYEGMSZ7FEBDyjA@mail.gmail.com>
On 13/06/2025 14:20, Ezra Buehler wrote:
> On Fri, Jun 13, 2025 at 2:11 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>> Not sure what you propose here, but just in case: devices need specific
>> compatibles.
>
> Something like this
>
> diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c
> index 9db73fcac522..7ce9acec3a01 100644
> --- a/arch/mips/ralink/clk.c
> +++ b/arch/mips/ralink/clk.c
> @@ -48,11 +48,9 @@ static const char *clk_cpu(int *idx)
> *idx = 2;
> return "ralink,mt7620-sysc";
> case MT762X_SOC_MT7628AN:
> - *idx = 1;
> - return "ralink,mt7628-sysc";
> case MT762X_SOC_MT7688:
> *idx = 1;
> - return "ralink,mt7688-sysc";
> + return "ralink,mt7628-sysc";
> default:
> *idx = -1;
> return "invalid";
>
> while leaving mt7628a.dtsi as it is, resolves the issue.
>
> Is this not an option?
That's not a binding, but driver, so obviously it is fine since you are
not removing it from bindings.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-06-13 12:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 19:47 [PATCH v1 0/3] MIPS: dts: ralink: mt7628a: Tweak for GARDENA smart Gateway Ezra Buehler
2025-06-11 19:47 ` [PATCH v1 1/3] MIPS: dts: ralink: mt7628a: Fix sysc's compatible property for MT7688 Ezra Buehler
2025-06-12 7:34 ` Stefan Roese
2025-06-12 11:22 ` Krzysztof Kozlowski
2025-06-13 11:50 ` Ezra Buehler
2025-06-13 12:11 ` Krzysztof Kozlowski
2025-06-13 12:20 ` Ezra Buehler
2025-06-13 12:41 ` Krzysztof Kozlowski [this message]
2025-06-13 12:56 ` Ezra Buehler
2025-06-13 13:13 ` Krzysztof Kozlowski
2025-06-13 17:39 ` Ezra Buehler
2025-06-14 5:01 ` Sergio Paracuellos
2025-06-14 5:46 ` Ezra Buehler
2025-06-14 6:43 ` Sergio Paracuellos
2025-06-11 19:47 ` [PATCH v1 2/3] MIPS: dts: ralink: mt7628a: Update watchdog node according to bindings Ezra Buehler
2025-06-12 7:34 ` Stefan Roese
2025-06-14 4:47 ` Sergio Paracuellos
2025-06-11 19:47 ` [PATCH v1 3/3] MIPS: dts: ralink: gardena_smart_gateway_mt7688: Fix power LED Ezra Buehler
2025-06-12 7:35 ` Stefan Roese
2025-06-14 4:47 ` 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=2ca2da8f-92b9-475f-aa41-bd54a95bfc69@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