Thread (20 messages) 20 messages, 6 authors, 2017-11-15

DryIce , RTC not working on imx53.

From: festevam@gmail.com (Fabio Estevam)
Date: 2017-11-13 18:56:35
Also in: linux-rtc

On Mon, Nov 13, 2017 at 2:54 PM, Fabio Estevam [off-list ref] wrote:
quoted hunk ↗ jump to hunk
I don't recall of any recent change in this area.

Patrick/Noel,

Does the change below help?
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -436,8 +436,7 @@
                        srtc: srtc at 53fa4000 {
                                compatible = "fsl,imx53-rtc", "fsl,imx25-rtc";
                                reg = <0x53fa4000 0x4000>;
-                               interrupts = <24>;
-                               interrupt-parent = <&tzic>;
+                               interrupts = <24 25>;
                                clocks = <&clks IMX5_CLK_SRTC_GATE>;
                                clock-names = "ipg";
                        };
With this change I no longer get the spurious interrupts:

# cat /proc/interrupts | grep rtc
 40:          0      tzic  24 Edge      53fa4000.srtc
 41:          0      tzic  25 Edge      53fa4000.srtc

The timeout is still present though and we need to figure this out.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help