Skip to contentSkip to conversation

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

PATCH In review Pali Rohár 3 participants 5 messages Sep 24, 2022 – Nov 27, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +3 -0
index 5840ed129309..802862fe2060 100644
@@ -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 */
 	};
 };
 
Signature · 1 line
2.20.1
#2 lore raw
In reply to Pali Rohár

Gregory: PING

Quoted 28 lines · 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")
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +3 -0
index 5840ed129309..802862fe2060 100644
@@ -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 */
 	};
 };
 
Signature · 1 line
2.20.1
#3 lore raw

PING?

Quoted 31 lines · On Sunday 09 October 2022 13:48:38 Pali Rohár wrote:

Gregory: PING

Quoted 28 lines · 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")
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +3 -0
index 5840ed129309..802862fe2060 100644
@@ -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 */
 	};
 };
 
Signature · 1 line
2.20.1
maintainer
#4 lore raw
In reply to Pali Rohár
Quoted 4 lines · Pali Rohár

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

Fixes 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 24 lines
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +3 -0
index 5840ed129309..802862fe2060 100644
@@ -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 */
 	};
 };
 
Signature · 1 line
2.20.1
Signature · 3 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com