Patch "MIPS: ralink: mt7621: avoid to init common ralink reset controller" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    MIPS: ralink: mt7621: avoid to init common ralink reset controller

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mips-ralink-mt7621-avoid-to-init-common-ralink-reset.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 498cb5ced6799424f0948bdfc30d8be3408382f9
Author: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
Date:   Sat Dec 17 08:48:06 2022 +0100

    MIPS: ralink: mt7621: avoid to init common ralink reset controller
    
    [ Upstream commit 76ce51798cb16738a4a28a6662e7344aaf7ef769 ]
    
    Commit 38a8553b0a22 ("clk: ralink: make system controller node a reset provider")
    make system controller a reset provider for mt7621 ralink SoCs. Ralink init code
    also tries to start previous common reset controller which at the end tries to
    find device tree node 'ralink,rt2880-reset'. mt7621 device tree file is not
    using at all this node anymore. Hence avoid to init this common reset controller
    for mt7621 ralink SoCs to avoid 'Failed to find reset controller node' boot
    error trace error.
    
    Fixes: 64b2d6ffff86 ("staging: mt7621-dts: align resets with binding documentation")
    Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
    Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
index ea8072acf8d9..01c132bc33d5 100644
--- a/arch/mips/ralink/of.c
+++ b/arch/mips/ralink/of.c
@@ -21,6 +21,7 @@
 #include <asm/bootinfo.h>
 #include <asm/addrspace.h>
 #include <asm/prom.h>
+#include <asm/mach-ralink/ralink_regs.h>
 
 #include "common.h"
 
@@ -81,7 +82,8 @@ static int __init plat_of_setup(void)
 	__dt_register_buses(soc_info.compatible, "palmbus");
 
 	/* make sure that the reset controller is setup early */
-	ralink_rst_init();
+	if (ralink_soc != MT762X_SOC_MT7621AT)
+		ralink_rst_init();
 
 	return 0;
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux