All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH v2 3/3] ARM: Dove: Add RTC interrupt via PMU interrupt controller.
Date: Thu,  7 Nov 2013 11:35:31 +0100	[thread overview]
Message-ID: <1383820531-4387-3-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1383820531-4387-1-git-send-email-andrew@lunn.ch>

The RTC on Dove has an interrupt on the PMU interrupt controller.
Add this interrupt to the RTC node. Tested using the
"RTC Driver Test Example"

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
 arch/arm/boot/dts/dove.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 52b992a5c120..1fd615d27532 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -426,6 +426,8 @@
 		rtc: real-time-clock at d8500 {
 			compatible = "marvell,orion-rtc";
 			reg = <0xd8500 0x20>;
+			interrupt-parent = <&pmu_intc>;
+			interrupts = <5>;
 		};
 
 		crypto: crypto-engine at 30000 {
-- 
1.8.4.rc3

  parent reply	other threads:[~2013-11-07 10:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 10:35 [RESEND PATCH v2 1/3] irqchip: irq-dove: Add PMU interrupt controller Andrew Lunn
2013-11-07 10:35 ` Andrew Lunn
2013-11-07 10:35 ` [RESEND PATCH v2 2/3] ARM: Dove: Add DT node for " Andrew Lunn
2013-11-26 15:18   ` Jason Cooper
2013-11-26 15:58     ` Sebastian Hesselbarth
2013-11-26 16:03       ` Jason Cooper
2013-11-26 17:49         ` Jason Cooper
2013-11-07 10:35 ` Andrew Lunn [this message]
     [not found] ` <1383820531-4387-1-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2013-11-24  3:34   ` [RESEND PATCH v2 1/3] irqchip: irq-dove: Add " Jason Cooper
2013-11-24  3:34     ` Jason Cooper
2013-11-26 15:14   ` Jason Cooper
2013-11-26 15:14     ` Jason Cooper

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=1383820531-4387-3-git-send-email-andrew@lunn.ch \
    --to=andrew@lunn.ch \
    --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.