]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: armada-3720-turris-mox: set irq type for RTC
authorSjoerd Simons <sjoerd@collabora.com>
Tue, 28 Nov 2023 21:35:06 +0000 (22:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:27:52 +0000 (15:27 -0800)
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

index 200f97e1c4c9cee193ef3cd1ef23b9edc1a36b0f..37350e5fa253a3b31ea4868ff38f4b52b5ab04df 100644 (file)
                compatible = "microchip,mcp7940x";
                reg = <0x6f>;
                interrupt-parent = <&gpiosb>;
-               interrupts = <5 0>; /* GPIO2_5 */
+               interrupts = <5 IRQ_TYPE_EDGE_FALLING>; /* GPIO2_5 */
        };
 };