Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1282781 > unrolled thread

[PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node

Started byChen-Yu Tsai <wens@csie.org>
First post2015-12-03 09:30 +0100
Last post2015-12-03 10:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node Chen-Yu Tsai <wens@csie.org> - 2015-12-03 09:30 +0100
    Re: [PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-03 10:50 +0100

#1282781 — [PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node

FromChen-Yu Tsai <wens@csie.org>
Date2015-12-03 09:30 +0100
Subject[PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node
Message-ID<qBxr4-2rt-19@gated-at.bofh.it>
The Allwinner A80 SoC has an NMI controller. NMI is an external
interrupt pin exclusely used with PMICs and other system critical
peripherals (such as RTC) in Allwinner's reference designs.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun9i-a80.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
index dc666c69f6ab..e838f206f2a0 100644
--- a/arch/arm/boot/dts/sun9i-a80.dtsi
+++ b/arch/arm/boot/dts/sun9i-a80.dtsi
@@ -858,6 +858,14 @@
 			#reset-cells = <1>;
 		};
 
+		nmi_intc: interrupt-controller@080015a0 {
+			compatible = "allwinner,sun9i-a80-nmi";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			reg = <0x080015a0 0xc>;
+			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		r_ir: ir@08002000 {
 			compatible = "allwinner,sun5i-a13-ir";
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1282873

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2015-12-03 10:50 +0100
Message-ID<qByGv-3cm-49@gated-at.bofh.it>
In reply to#1282781

[Multipart message — attachments visible in raw view] — view raw

On Thu, Dec 03, 2015 at 04:20:13PM +0800, Chen-Yu Tsai wrote:
> The Allwinner A80 SoC has an NMI controller. NMI is an external
> interrupt pin exclusely used with PMICs and other system critical
> peripherals (such as RTC) in Allwinner's reference designs.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web