All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Alexandre Torgue <alexandre.torgue@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>
Subject: [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
Date: Thu,  3 Feb 2022 02:59:58 +0100	[thread overview]
Message-ID: <20220203015958.503671-1-marex@denx.de> (raw)

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

             reply	other threads:[~2022-02-03  2:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03  1:59 Marek Vasut [this message]
2022-02-07 13:58 ` [PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157 Alexandre TORGUE
  -- strict thread matches above, loose matches on Subject: below --
2021-01-24 17:13 Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220203015958.503671-1-marex@denx.de \
    --to=marex@denx.de \
    --cc=alexandre.torgue@foss.st.com \
    --cc=alexandre.torgue@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.