* [PATCH] mips: ralink: match all supported system controller compatible strings
@ 2023-06-23 0:17 Shiji Yang
2023-06-23 3:49 ` Sergio Paracuellos
2023-06-23 13:08 ` Thomas Bogendoerfer
0 siblings, 2 replies; 3+ messages in thread
From: Shiji Yang @ 2023-06-23 0:17 UTC (permalink / raw)
To: linux-mips
Cc: John Crispin, Thomas Bogendoerfer, Sergio Paracuellos,
linux-kernel, Shiji Yang
Recently, A new clock and reset controller driver has been introduced to
the ralink mips target[1]. It provides proper system control and adds more
SoC specific compatible strings. In order to better initialize CPUs, this
patch removes the outdated "ralink,mt7620a-sysc" and add all dt-binding
documented compatible strings to the system controller match table.
[1] https://lore.kernel.org/all/20230619040941.1340372-1-sergio.paracuellos@gmail.com/
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
arch/mips/ralink/of.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
index 53a2ae9ee..1c6c953d5 100644
--- a/arch/mips/ralink/of.c
+++ b/arch/mips/ralink/of.c
@@ -40,10 +40,15 @@ static const struct of_device_id mtmips_memc_match[] = {
static const struct of_device_id mtmips_sysc_match[] = {
{ .compatible = "mediatek,mt7621-sysc" },
- { .compatible = "ralink,mt7620a-sysc" },
+ { .compatible = "ralink,mt7620-sysc" },
+ { .compatible = "ralink,mt7628-sysc" },
+ { .compatible = "ralink,mt7688-sysc" },
{ .compatible = "ralink,rt2880-sysc" },
{ .compatible = "ralink,rt3050-sysc" },
+ { .compatible = "ralink,rt3052-sysc" },
+ { .compatible = "ralink,rt3352-sysc" },
{ .compatible = "ralink,rt3883-sysc" },
+ { .compatible = "ralink,rt5350-sysc" },
{}
};
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mips: ralink: match all supported system controller compatible strings
2023-06-23 0:17 [PATCH] mips: ralink: match all supported system controller compatible strings Shiji Yang
@ 2023-06-23 3:49 ` Sergio Paracuellos
2023-06-23 13:08 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Sergio Paracuellos @ 2023-06-23 3:49 UTC (permalink / raw)
To: Shiji Yang; +Cc: linux-mips, John Crispin, Thomas Bogendoerfer, linux-kernel
On Fri, Jun 23, 2023 at 2:18 AM Shiji Yang <yangshiji66@outlook.com> wrote:
>
> Recently, A new clock and reset controller driver has been introduced to
> the ralink mips target[1]. It provides proper system control and adds more
> SoC specific compatible strings. In order to better initialize CPUs, this
> patch removes the outdated "ralink,mt7620a-sysc" and add all dt-binding
> documented compatible strings to the system controller match table.
>
> [1] https://lore.kernel.org/all/20230619040941.1340372-1-sergio.paracuellos@gmail.com/
>
> Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
> ---
> arch/mips/ralink/of.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Thanks,
Sergio Paracuellos
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mips: ralink: match all supported system controller compatible strings
2023-06-23 0:17 [PATCH] mips: ralink: match all supported system controller compatible strings Shiji Yang
2023-06-23 3:49 ` Sergio Paracuellos
@ 2023-06-23 13:08 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2023-06-23 13:08 UTC (permalink / raw)
To: Shiji Yang; +Cc: linux-mips, John Crispin, Sergio Paracuellos, linux-kernel
On Fri, Jun 23, 2023 at 08:17:48AM +0800, Shiji Yang wrote:
> Recently, A new clock and reset controller driver has been introduced to
> the ralink mips target[1]. It provides proper system control and adds more
> SoC specific compatible strings. In order to better initialize CPUs, this
> patch removes the outdated "ralink,mt7620a-sysc" and add all dt-binding
> documented compatible strings to the system controller match table.
>
> [1] https://lore.kernel.org/all/20230619040941.1340372-1-sergio.paracuellos@gmail.com/
>
> Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
> ---
> arch/mips/ralink/of.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
> index 53a2ae9ee..1c6c953d5 100644
> --- a/arch/mips/ralink/of.c
> +++ b/arch/mips/ralink/of.c
> @@ -40,10 +40,15 @@ static const struct of_device_id mtmips_memc_match[] = {
>
> static const struct of_device_id mtmips_sysc_match[] = {
> { .compatible = "mediatek,mt7621-sysc" },
> - { .compatible = "ralink,mt7620a-sysc" },
> + { .compatible = "ralink,mt7620-sysc" },
> + { .compatible = "ralink,mt7628-sysc" },
> + { .compatible = "ralink,mt7688-sysc" },
> { .compatible = "ralink,rt2880-sysc" },
> { .compatible = "ralink,rt3050-sysc" },
> + { .compatible = "ralink,rt3052-sysc" },
> + { .compatible = "ralink,rt3352-sysc" },
> { .compatible = "ralink,rt3883-sysc" },
> + { .compatible = "ralink,rt5350-sysc" },
> {}
> };
>
> --
> 2.30.2
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-23 13:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23 0:17 [PATCH] mips: ralink: match all supported system controller compatible strings Shiji Yang
2023-06-23 3:49 ` Sergio Paracuellos
2023-06-23 13:08 ` Thomas Bogendoerfer
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).