From: patryk.mungai-ndungu.kx@renesas.com (Patryk Mungai)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: Add PMU device node
Date: Mon, 15 Oct 2018 11:23:28 +0100 [thread overview]
Message-ID: <1539599008-8382-3-git-send-email-patryk.mungai-ndungu.kx@renesas.com> (raw)
In-Reply-To: <1539599008-8382-1-git-send-email-patryk.mungai-ndungu.kx@renesas.com>
From: Geert Uytterhoeven <geert+renesas@glider.be>
Commit fe60e933b053f00e53cd01fe323f25ebe8fecd52 upstream.
Enable support for the ARM Performance Monitor Units in the Cortex-A15
CPU cores on RZ/G1M 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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[Backport to CIP]
Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index c78de96..264c8e0 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -76,6 +76,13 @@
};
};
+ 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>;
+ };
+
soc {
compatible = "simple-bus";
interrupt-parent = <&gic>;
--
2.7.4
next prev parent reply other threads:[~2018-10-15 10:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-15 10:23 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
2018-10-15 10:23 ` [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node Patryk Mungai
2018-10-21 7:49 ` SZ Lin (林上智)
2018-10-21 8:05 ` 岩松信洋
2018-10-21 16:40 ` Chris Paterson
2018-10-22 6:53 ` SZ Lin (林上智)
2018-10-22 15:42 ` Patryk Mungai Ndungu
2018-10-23 13:23 ` 岩松信洋
2018-10-15 10:23 ` Patryk Mungai [this message]
2018-10-21 7:50 ` [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: " SZ Lin (林上智)
2018-10-23 14:30 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: Add PMU device node Patryk Mungai
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=1539599008-8382-3-git-send-email-patryk.mungai-ndungu.kx@renesas.com \
--to=patryk.mungai-ndungu.kx@renesas.com \
--cc=cip-dev@lists.cip-project.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.