008-v6.5-mips-ralink-match-all-supported-system-controller-co.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 670f77f76f650b1b341d31d009cc2fb03a4d1fcf Mon Sep 17 00:00:00 2001
  2. From: Shiji Yang <[email protected]>
  3. Date: Fri, 23 Jun 2023 08:17:48 +0800
  4. Subject: mips: ralink: match all supported system controller compatible
  5. strings
  6. Recently, A new clock and reset controller driver has been introduced to
  7. the ralink mips target[1]. It provides proper system control and adds more
  8. SoC specific compatible strings. In order to better initialize CPUs, this
  9. patch removes the outdated "ralink,mt7620a-sysc" and add all dt-binding
  10. documented compatible strings to the system controller match table.
  11. [1] https://lore.kernel.org/all/[email protected]/
  12. Signed-off-by: Shiji Yang <[email protected]>
  13. Reviewed-by: Sergio Paracuellos <[email protected]>
  14. Signed-off-by: Thomas Bogendoerfer <[email protected]>
  15. ---
  16. arch/mips/ralink/of.c | 7 ++++++-
  17. 1 file changed, 6 insertions(+), 1 deletion(-)
  18. --- a/arch/mips/ralink/of.c
  19. +++ b/arch/mips/ralink/of.c
  20. @@ -40,10 +40,15 @@ static const struct of_device_id mtmips_
  21. static const struct of_device_id mtmips_sysc_match[] = {
  22. { .compatible = "mediatek,mt7621-sysc" },
  23. - { .compatible = "ralink,mt7620a-sysc" },
  24. + { .compatible = "ralink,mt7620-sysc" },
  25. + { .compatible = "ralink,mt7628-sysc" },
  26. + { .compatible = "ralink,mt7688-sysc" },
  27. { .compatible = "ralink,rt2880-sysc" },
  28. { .compatible = "ralink,rt3050-sysc" },
  29. + { .compatible = "ralink,rt3052-sysc" },
  30. + { .compatible = "ralink,rt3352-sysc" },
  31. { .compatible = "ralink,rt3883-sysc" },
  32. + { .compatible = "ralink,rt5350-sysc" },
  33. {}
  34. };