devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: lee.jones@linaro.org, kernel@stlinux.com, tglx@linutronix.de,
	jason@lakedaemon.net, devicetree@vger.kernel.org
Subject: [PATCH v2 7/8] ARM: STi: STiH407: Enable PMU IRQs
Date: Tue, 25 Nov 2014 16:25:04 +0000	[thread overview]
Message-ID: <1416932705-16880-8-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1416932705-16880-1-git-send-email-lee.jones@linaro.org>

This driver is used to enable System Configuration Register controlled
External, CTI (Core Sight), PMU (Performance Management), and PL310 L2
Cache IRQs prior to use.

Here we are enabling PMU IRQs on both channels.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
index 53bfcd9..e3b235f 100644
--- a/arch/arm/boot/dts/stih407.dtsi
+++ b/arch/arm/boot/dts/stih407.dtsi
@@ -8,6 +8,7 @@
  */
 #include "stih407-clock.dtsi"
 #include "stih407-pinctrl.dtsi"
+#include <dt-bindings/interrupt-controller/irq-st.h>
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -104,6 +105,15 @@
 			reg = <0x94b5100 0x1000>;
 		};
 
+		irq-syscfg {
+			compatible    = "st,stih407-irq-syscfg";
+			st,syscfg     = <&syscfg_core>;
+			st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
+					<ST_IRQ_SYSCFG_PMU_1>;
+			st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
+					<ST_IRQ_SYSCFG_DISABLED>;
+		};
+
 		serial@9830000 {
 			compatible = "st,asc";
 			reg = <0x9830000 0x2c>;
-- 
1.9.1

  parent reply	other threads:[~2014-11-25 16:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 16:24 [PATCH v2 0/8] irqchip: New driver for ST's SysCfg controlled IRQs Lee Jones
2014-11-25 16:24 ` [PATCH v2 1/8] dt: bindings: Supply shared ST IRQ defines Lee Jones
2014-11-25 16:24 ` [PATCH v2 2/8] irqchip: Supply new driver for STi based devices Lee Jones
     [not found]   ` <1416932705-16880-3-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-25 20:57     ` Arnd Bergmann
2014-11-27  9:02       ` Lee Jones
2014-11-27  9:15         ` Arnd Bergmann
2014-11-27  9:29           ` Lee Jones
2014-11-27  9:47             ` Arnd Bergmann
2014-11-27  9:55               ` Lee Jones
2014-11-25 16:25 ` [PATCH v2 3/8] irqchip: irq-st: Add documentation for STi based syscfg IRQs Lee Jones
2014-11-25 16:25 ` [PATCH v2 4/8] ARM: STi: STiH416: Enable Cortex-A9 PMU support Lee Jones
2014-11-25 16:25 ` [PATCH v2 5/8] ARM: STi: STiH416: Enable PMU IRQs Lee Jones
2014-11-25 16:25 ` [PATCH v2 6/8] ARM: STi: STiH407: Enable Cortex-A9 PMU support Lee Jones
2014-11-25 16:25 ` Lee Jones [this message]
2014-11-25 16:25 ` [PATCH v2 8/8] ARM: STI: Ensure requested STi's SysCfg Controlled IRQs are enabled at boot Lee Jones
     [not found] ` <1416932705-16880-1-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-12-15 12:28   ` [PATCH v2 0/8] irqchip: New driver for ST's SysCfg controlled IRQs Lee Jones
2014-12-15 14:10     ` Jason Cooper
     [not found]       ` <20141215141050.GD967-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2014-12-15 14:42         ` Lee Jones

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=1416932705-16880-8-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jason@lakedaemon.net \
    --cc=kernel@stlinux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).