From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com>
Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/8] ARM: dts: r8a7792: Add PMU device node
Date: Mon, 7 May 2018 15:57:03 +0200 [thread overview]
Message-ID: <1525701427-12914-5-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1525701427-12914-1-git-send-email-geert+renesas@glider.be>
Enable support for the ARM Performance Monitor Units in the Cortex-A15
CPU cores on R-Car V2H by adding a device node for the PMU.
New Linux output:
hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7792.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi
index d2cf8dd2d9b03624..f44257dd86f66289 100644
--- a/arch/arm/boot/dts/r8a7792.dtsi
+++ b/arch/arm/boot/dts/r8a7792.dtsi
@@ -85,6 +85,13 @@
clock-frequency = <0>;
};
+ pmu {
+ compatible = "arm,cortex-a15-pmu";
+ interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
+ <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>, <&cpu1>;
+ };
+
/* External SCIF clock */
scif_clk: scif {
compatible = "fixed-clock";
--
2.7.4
next prev parent reply other threads:[~2018-05-07 13:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 13:56 [PATCH 0/8] ARM: dts: renesas: Add PMU device nodes Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 1/8] ARM: dts: r7s72100: Add PMU device node Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 2/8] ARM: dts: r8a7790: Add PMU device nodes Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 3/8] ARM: dts: r8a7791: Add PMU device node Geert Uytterhoeven
2018-05-07 13:57 ` Geert Uytterhoeven [this message]
2018-05-07 13:57 ` [PATCH 5/8] ARM: dts: r8a7793: " Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 6/8] ARM: dts: r8a7794: " Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 7/8] ARM: dts: r8a7743: " Geert Uytterhoeven
2018-05-07 13:57 ` [PATCH 8/8] ARM: dts: r8a7745: " Geert Uytterhoeven
2018-05-09 14:39 ` [PATCH 0/8] ARM: dts: renesas: Add PMU device nodes Geert Uytterhoeven
2018-05-09 19:12 ` Simon Horman
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=1525701427-12914-5-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=devicetree@vger.kernel.org \
--cc=horms@verge.net.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
/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).