All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
@ 2021-01-24 17:13 Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2021-01-24 17:13 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: linux-stm32, alexandre.torgue

From: Alexandre Torgue <alexandre.torgue@st.com>

Link between GIC and exti line is now done inside EXTI driver. So in order
to be wake up source exti irqchip has to be used.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 0d4db78ae255..169b7bdd832e 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1541,7 +1541,7 @@ rtc: rtc@5c004000 {
 			reg = <0x5c004000 0x400>;
 			clocks = <&rcc RTCAPB>, <&rcc RTC>;
 			clock-names = "pclk", "rtc_ck";
-			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+			interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
 			status = "disabled";
 		};
 
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
  2022-02-03  1:59 Marek Vasut
@ 2022-02-07 13:58 ` Alexandre TORGUE
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre TORGUE @ 2022-02-07 13:58 UTC (permalink / raw)
  To: Marek Vasut, linux-arm-kernel; +Cc: Alexandre Torgue

On 2/3/22 02:59, Marek Vasut wrote:
> From: Alexandre Torgue <alexandre.torgue@st.com>
> 
> Link between GIC and exti line is now done inside EXTI driver. So in order
> to be wake up source exti irqchip has to be used.
> 
> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> ---
> This comes from ST github repo, v5.4-stm32mp [93a67bfcf197ffad8d8962369b56b8b714d1447e]
> It would be good to include this, because indeed, this makes rtcwake -s 5 -m mem work.
> ---
>   arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 6992a4b0ba79b..b6a108c4f117f 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1559,7 +1559,7 @@ rtc: rtc@5c004000 {
>   			reg = <0x5c004000 0x400>;
>   			clocks = <&rcc RTCAPB>, <&rcc RTC>;
>   			clock-names = "pclk", "rtc_ck";
> -			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
>   			status = "disabled";
>   		};
>   

Applied on stm32-next.

Regards
Alex

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
@ 2022-02-03  1:59 Marek Vasut
  2022-02-07 13:58 ` Alexandre TORGUE
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2022-02-03  1:59 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Alexandre Torgue, Alexandre Torgue

From: Alexandre Torgue <alexandre.torgue@st.com>

Link between GIC and exti line is now done inside EXTI driver. So in order
to be wake up source exti irqchip has to be used.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
---
This comes from ST github repo, v5.4-stm32mp [93a67bfcf197ffad8d8962369b56b8b714d1447e]
It would be good to include this, because indeed, this makes rtcwake -s 5 -m mem work.
---
 arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 6992a4b0ba79b..b6a108c4f117f 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1559,7 +1559,7 @@ rtc: rtc@5c004000 {
 			reg = <0x5c004000 0x400>;
 			clocks = <&rcc RTCAPB>, <&rcc RTC>;
 			clock-names = "pclk", "rtc_ck";
-			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+			interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
 			status = "disabled";
 		};
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-07 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 17:13 [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157 Marek Vasut
2022-02-03  1:59 Marek Vasut
2022-02-07 13:58 ` Alexandre TORGUE

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.