Commit 48e5e357 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by sanglipeng1
Browse files

arm64: dts: armada-3720-turris-mox: set irq type for RTC

stable inclusion
from stable-v5.10.209
commit 66e4f4a847911bf80411ba50e19821876894210b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9U3NW

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=66e4f4a847911bf80411ba50e19821876894210b



--------------------------------

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: default avatarSjoerd Simons <sjoerd@collabora.com>
Cc: <stable@vger.kernel.org> # v6.2+
Fixes: 21aad8ba ("arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC")
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng1 <sanglipeng1@jd.com>
parent fc79b955
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@
		compatible = "microchip,mcp7940x";
		reg = <0x6f>;
		interrupt-parent = <&gpiosb>;
		interrupts = <5 0>; /* GPIO2_5 */
		interrupts = <5 IRQ_TYPE_EDGE_FALLING>; /* GPIO2_5 */
	};
};