Skip to contentSkip to conversation

mips: ralink: match all supported system controller compatible strings

PATCH Applied Shiji Yang 3 participants 3 messages Jun 23, 2023

Subsystems (2)
lore
Share & tools
lore

Shiji Yang

author
#0 lore raw

PATCH 1/1 mips: ralink: match all supported system controller compatible strings

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/[email protected]/

---
 arch/mips/ralink/of.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/mips/ralink/of.c +6 -1
index 53a2ae9ee..1c6c953d5 100644
@@ -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" },
 	{}
 };
 
Signature · 1 line
2.30.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · 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.

Quoted 6 lines

[1] https://lore.kernel.org/all/[email protected]/

---
 arch/mips/ralink/of.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Thanks,
Sergio Paracuellos

maintainer Applied
#2 lore raw
In reply to Shiji Yang
Quoted 36 lines · 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/[email protected]/

---
 arch/mips/ralink/of.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/mips/ralink/of.c +6 -1
index 53a2ae9ee..1c6c953d5 100644
@@ -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" },
 	{}
 };
 
Signature · 1 line
2.30.2

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]