diff mbox series

arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC

Message ID 20220924115826.7891-1-pali@kernel.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC | expand

Commit Message

Pali Rohár Sept. 24, 2022, 11:58 a.m. UTC
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 <pali@kernel.org>
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
 1 file changed, 3 insertions(+)

Comments

Andrew Lunn Sept. 24, 2022, 2:36 p.m. UTC | #1
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 <pali@kernel.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Pali Rohár Oct. 9, 2022, 11:48 a.m. UTC | #2
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 <pali@kernel.org>
> ---
>  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
>
Pali Rohár Nov. 1, 2022, 10:40 p.m. UTC | #3
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 <pali@kernel.org>
> > ---
> >  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 Nov. 27, 2022, 11:59 p.m. UTC | #4
Pali Rohár <pali@kernel.org> 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 <pali@kernel.org>

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
>
diff mbox series

Patch

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 */
 	};
 };