linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/13] ARM: STi: STiH407: Enable PMU IRQs
Date: Tue, 12 May 2015 13:51:49 +0100	[thread overview]
Message-ID: <1431435110-22595-13-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1431435110-22595-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-family.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 412206e..e096105 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -10,6 +10,7 @@
 #include <dt-bindings/mfd/st-lpc.h>
 #include <dt-bindings/phy/phy.h>
 #include <dt-bindings/reset-controller/stih407-resets.h>
+#include <dt-bindings/interrupt-controller/irq-st.h>
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -127,6 +128,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 at 9830000 {
 			compatible = "st,asc";
 			reg = <0x9830000 0x2c>;
-- 
1.9.1

  parent reply	other threads:[~2015-05-12 12:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12 12:51 [PATCH 00/13] ARM: STi: Clear-up dangling patches Lee Jones
2015-05-12 12:51 ` [PATCH 01/13] ARM: STi: STiH407: Add DT nodes for for PWM Lee Jones
2015-05-12 12:51 ` [PATCH 02/13] ARM: STi: STiH416: Add Pinctrl settings " Lee Jones
2015-05-12 12:51 ` [PATCH 03/13] ARM: STi: STiH416: Add DT nodes " Lee Jones
2015-05-12 12:51 ` [PATCH 04/13] ARM: STi: STiH416-b2020e: Enable PWM on the B2020 Rev-E Lee Jones
2015-05-12 12:51 ` [PATCH 05/13] ARM: multi_v7_defconfig: Enable ST's PWM driver Lee Jones
2015-05-12 12:51 ` [PATCH 06/13] ARM: STi: STiH407: Add Restart support for Cannes Lee Jones
2015-05-12 12:51 ` [PATCH 07/13] ARM: STi: STiH416: Add Restart support for Orly2 Lee Jones
2015-05-12 12:51 ` [PATCH 08/13] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones
2015-05-12 12:51 ` [PATCH 09/13] ARM: STi: STiH416: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` [PATCH 10/13] ARM: STi: STiH416: Enable PMU IRQs Lee Jones
2015-05-12 12:51 ` [PATCH 11/13] ARM: STi: STiH407: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` Lee Jones [this message]
2015-05-12 12:51 ` [PATCH 13/13] ARM: STi: Ensure requested STi's SysCfg Controlled IRQs are enabled at boot Lee Jones
2015-05-13  9:27 ` [STLinux Kernel] [PATCH 00/13] ARM: STi: Clear-up dangling patches Maxime Coquelin

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=1431435110-22595-13-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --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 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).