]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.15-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 17:30:09 +0000 (09:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 17:30:09 +0000 (09:30 -0800)
added patches:
arm64-dts-armada-3720-turris-mox-set-irq-type-for-rtc.patch

queue-5.15/arm64-dts-armada-3720-turris-mox-set-irq-type-for-rtc.patch [new file with mode: 0644]
queue-5.15/series

diff --git a/queue-5.15/arm64-dts-armada-3720-turris-mox-set-irq-type-for-rtc.patch b/queue-5.15/arm64-dts-armada-3720-turris-mox-set-irq-type-for-rtc.patch
new file mode 100644 (file)
index 0000000..0c0c970
--- /dev/null
@@ -0,0 +1,37 @@
+From fca8a117c1c9a0f8b8feed117db34cf58134dc2c Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd@collabora.com>
+Date: Tue, 28 Nov 2023 22:35:06 +0100
+Subject: arm64: dts: armada-3720-turris-mox: set irq type for RTC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Sjoerd Simons <sjoerd@collabora.com>
+
+commit fca8a117c1c9a0f8b8feed117db34cf58134dc2c upstream.
+
+The rtc on the mox shares its interrupt line with the moxtet bus. Set
+the interrupt type to be consistent between both devices. This ensures
+correct setup of the interrupt line regardless of probing order.
+
+Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
+Cc: <stable@vger.kernel.org> # v6.2+
+Fixes: 21aad8ba615e ("arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC")
+Reviewed-by: Marek BehĂșn <kabel@kernel.org>
+Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
++++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+@@ -130,7 +130,7 @@
+               compatible = "microchip,mcp7940x";
+               reg = <0x6f>;
+               interrupt-parent = <&gpiosb>;
+-              interrupts = <5 0>; /* GPIO2_5 */
++              interrupts = <5 IRQ_TYPE_EDGE_FALLING>; /* GPIO2_5 */
+       };
+ };
index bb26edc4fc04e800453927c3dc088eac6be22933..dcc6177e00095f75a446741b7687292fd2b8b88d 100644 (file)
@@ -369,3 +369,4 @@ netfilter-nft_limit-fix-stateful-object-memory-leak.patch
 netfilter-nft_limit-clone-packet-limits-cost-value.patch
 netfilter-nft_last-copy-content-when-cloning-expression.patch
 netfilter-nft_quota-copy-content-when-cloning-expression.patch
+arm64-dts-armada-3720-turris-mox-set-irq-type-for-rtc.patch