2022-09-24 12:24:59

by Pali Rohár

[permalink] [raw]
Subject: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

MCP7940MT-I/MNY RTC has connected interrupt line to GPIO2_5.

Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
1 file changed, 3 insertions(+)

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 5840ed129309..802862fe2060 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -125,9 +125,12 @@
/delete-property/ mrvl,i2c-fast-mode;
status = "okay";

+ /* MCP7940MT-I/MNY RTC */
rtc@6f {
compatible = "microchip,mcp7940x";
reg = <0x6f>;
+ interrupt-parent = <&gpiosb>;
+ interrupts = <5 0>; /* GPIO2_5 */
};
};

--
2.20.1


2022-09-24 14:45:37

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

On Sat, Sep 24, 2022 at 01:58:26PM +0200, Pali Roh?r wrote:
> MCP7940MT-I/MNY RTC has connected interrupt line to GPIO2_5.
>
> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> Signed-off-by: Pali Roh?r <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew

2022-10-09 12:06:45

by Pali Rohár

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

Gregory: PING

On Saturday 24 September 2022 13:58:26 Pali Rohár wrote:
> MCP7940MT-I/MNY RTC has connected interrupt line to GPIO2_5.
>
> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> Signed-off-by: Pali Rohár <[email protected]>
> ---
> arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
> 1 file changed, 3 insertions(+)
>
> 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 5840ed129309..802862fe2060 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> @@ -125,9 +125,12 @@
> /delete-property/ mrvl,i2c-fast-mode;
> status = "okay";
>
> + /* MCP7940MT-I/MNY RTC */
> rtc@6f {
> compatible = "microchip,mcp7940x";
> reg = <0x6f>;
> + interrupt-parent = <&gpiosb>;
> + interrupts = <5 0>; /* GPIO2_5 */
> };
> };
>
> --
> 2.20.1
>

2022-11-01 23:58:32

by Pali Rohár

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

PING?

On Sunday 09 October 2022 13:48:38 Pali Rohár wrote:
> Gregory: PING
>
> On Saturday 24 September 2022 13:58:26 Pali Rohár wrote:
> > MCP7940MT-I/MNY RTC has connected interrupt line to GPIO2_5.
> >
> > Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> > Signed-off-by: Pali Rohár <[email protected]>
> > ---
> > arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > 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 5840ed129309..802862fe2060 100644
> > --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> > +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> > @@ -125,9 +125,12 @@
> > /delete-property/ mrvl,i2c-fast-mode;
> > status = "okay";
> >
> > + /* MCP7940MT-I/MNY RTC */
> > rtc@6f {
> > compatible = "microchip,mcp7940x";
> > reg = <0x6f>;
> > + interrupt-parent = <&gpiosb>;
> > + interrupts = <5 0>; /* GPIO2_5 */
> > };
> > };
> >
> > --
> > 2.20.1
> >

2022-11-28 00:22:54

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

Pali Rohár <[email protected]> writes:

> MCP7940MT-I/MNY RTC has connected interrupt line to GPIO2_5.
>
> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> Signed-off-by: Pali Rohár <[email protected]>

Applied on mvebu/dt64

Thanks,

Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
> 1 file changed, 3 insertions(+)
>
> 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 5840ed129309..802862fe2060 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> @@ -125,9 +125,12 @@
> /delete-property/ mrvl,i2c-fast-mode;
> status = "okay";
>
> + /* MCP7940MT-I/MNY RTC */
> rtc@6f {
> compatible = "microchip,mcp7940x";
> reg = <0x6f>;
> + interrupt-parent = <&gpiosb>;
> + interrupts = <5 0>; /* GPIO2_5 */
> };
> };
>
> --
> 2.20.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com