Patch "arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file" has been added to the 5.13-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

    arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file

to the 5.13-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:
     arm64-dts-marvell-armada-37xx-move-firmware-node-to-.patch
and it can be found in the queue-5.13 subdirectory.

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



commit 1cdfe25582052f80237822599c17bbe9eeff986a
Author: Pali Rohár <pali@xxxxxxxxxx>
Date:   Thu May 20 13:38:44 2021 +0200

    arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    
    [ Upstream commit 3a52a48973b355b3aac5add92ef50650ae37c2bd ]
    
    Move the turris-mox-rwtm firmware node from Turris MOX' device tree into
    the generic armada-37xx.dtsi file and use the generic compatible string
    'marvell,armada-3700-rwtm-firmware' instead of the current one.
    
    Turris MOX DTS file contains also old compatible string for backward
    compatibility.
    
    The Turris MOX rWTM firmware can be used on any Armada 37xx device,
    giving them access to the rWTM hardware random number generator, which
    is otherwise unavailable.
    
    This change allows Linux to load the turris-mox-rwtm.ko module on these
    boards.
    
    Tested on ESPRESSObin v5 with both default Marvell WTMI firmware and
    CZ.NIC's firmware. With default WTMI firmware the turris-mox-rwtm fails
    to probe, while with CZ.NIC's firmware it registers the HW random number
    generator.
    
    Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
    Signed-off-by: Marek Behún <kabel@xxxxxxxxxx>
    Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
    Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
index 53e817c5f6f3..ce2bcddf396f 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -109,10 +109,8 @@
 	};
 
 	firmware {
-		turris-mox-rwtm {
-			compatible = "cznic,turris-mox-rwtm";
-			mboxes = <&rwtm 0>;
-			status = "okay";
+		armada-3700-rwtm {
+			compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm";
 		};
 	};
 };
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index 6ffbb099fcac..5db81a416cd6 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -504,4 +504,12 @@
 			};
 		};
 	};
+
+	firmware {
+		armada-3700-rwtm {
+			compatible = "marvell,armada-3700-rwtm-firmware";
+			mboxes = <&rwtm 0>;
+			status = "okay";
+		};
+	};
 };



[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