linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Chan <towinchenmi@gmail.com>
To: Will Deacon <will@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Catalin Marinas <catalin.marinas@arm.com>,
	Sven Peter <sven@svenpeter.dev>,  Janne Grunau <j@jannau.net>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	 Neal Gompa <neal@gompa.dev>
Cc: Marc Zyngier <maz@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	 linux-perf-users@vger.kernel.org, devicetree@vger.kernel.org,
	 asahi@lists.linux.dev, linux-kernel@vger.kernel.org,
	 Nick Chan <towinchenmi@gmail.com>
Subject: [PATCH v7 15/21] arm64: dts: apple: t7001: Add CPU PMU nodes
Date: Sat, 10 May 2025 23:10:56 +0800	[thread overview]
Message-ID: <20250510-apple-cpmu-v7-15-bd505cb6c520@gmail.com> (raw)
In-Reply-To: <20250510-apple-cpmu-v7-0-bd505cb6c520@gmail.com>

Add CPU PMU nodes for Apple A8X SoC.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
---
 arch/arm64/boot/dts/apple/t7001.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/t7001.dtsi b/arch/arm64/boot/dts/apple/t7001.dtsi
index 8e2c67e19c4167fc6639458ce79588e153336603..fca0a100dfd7b29086735d36fec0db51144da456 100644
--- a/arch/arm64/boot/dts/apple/t7001.dtsi
+++ b/arch/arm64/boot/dts/apple/t7001.dtsi
@@ -183,6 +183,15 @@ timer {
 		interrupts = <AIC_FIQ AIC_TMR_GUEST_PHYS IRQ_TYPE_LEVEL_HIGH>,
 			     <AIC_FIQ AIC_TMR_GUEST_VIRT IRQ_TYPE_LEVEL_HIGH>;
 	};
+
+	pmu {
+		compatible = "apple,typhoon-pmu";
+		interrupt-parent = <&aic>;
+		interrupts = <AIC_IRQ 75 IRQ_TYPE_LEVEL_HIGH>,
+			     <AIC_IRQ 78 IRQ_TYPE_LEVEL_HIGH>,
+			     <AIC_IRQ 81 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu0 &cpu1 &cpu2>;
+	};
 };
 
 #include "t7001-pmgr.dtsi"

-- 
2.49.0


  parent reply	other threads:[~2025-05-10 15:12 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-10 15:10 [PATCH v7 00/21] drivers/perf: apple_m1: Add Apple A7-A11, T2 SoC support Nick Chan
2025-05-10 15:10 ` [PATCH v7 01/21] dt-bindings: arm: pmu: Add Apple A7-A11 SoC CPU PMU compatibles Nick Chan
2025-05-10 15:10 ` [PATCH v7 02/21] drivers/perf: apple_m1: Only init PMUv3 remap when EL2 is available Nick Chan
2025-05-10 15:10 ` [PATCH v7 03/21] drivers/perf: apple_m1: Support per-implementation event tables Nick Chan
2025-05-10 15:10 ` [PATCH v7 04/21] drivers/perf: apple_m1: Support a per-implementation number of counters Nick Chan
2025-05-10 15:10 ` [PATCH v7 05/21] drivers/perf: apple_m1: Support configuring counters for 32-bit EL0 Nick Chan
2025-05-10 15:10 ` [PATCH v7 06/21] drivers/perf: apple_m1: Support per-implementation PMU startup Nick Chan
2025-05-10 15:10 ` [PATCH v7 07/21] drivers/perf: apple_m1: Support per-implementation event attr group Nick Chan
2025-05-10 15:10 ` [PATCH v7 08/21] drivers/perf: apple_m1: Add Apple A7 support Nick Chan
2025-05-10 15:10 ` [PATCH v7 09/21] drivers/perf: apple_m1: Add Apple A8/A8X support Nick Chan
2025-06-01 18:55   ` Ivaylo Ivanov
2025-05-10 15:10 ` [PATCH v7 10/21] drivers/perf: apple_m1: Add A9/A9X support Nick Chan
2025-05-10 15:10 ` [PATCH v7 11/21] drivers/perf: apple_m1: Add Apple A10/A10X/T2 Support Nick Chan
2025-06-01 18:59   ` Ivaylo Ivanov
2025-05-10 15:10 ` [PATCH v7 12/21] drivers/perf: apple_m1: Add Apple A11 Support Nick Chan
2025-05-10 15:10 ` [PATCH v7 13/21] arm64: dts: apple: s5l8960x: Add CPU PMU nodes Nick Chan
2025-05-10 15:10 ` [PATCH v7 14/21] arm64: dts: apple: t7000: " Nick Chan
2025-05-10 15:10 ` Nick Chan [this message]
2025-05-10 15:10 ` [PATCH v7 16/21] arm64: dts: apple: s800-0-3: " Nick Chan
2025-05-10 15:10 ` [PATCH v7 17/21] arm64: dts: apple: s8001: " Nick Chan
2025-05-10 15:10 ` [PATCH v7 18/21] arm64: dts: apple: t8010: " Nick Chan
2025-05-10 15:11 ` [PATCH v7 19/21] arm64: dts: apple: t8011: " Nick Chan
2025-05-10 15:11 ` [PATCH v7 20/21] arm64: dts: apple: t8012: " Nick Chan
2025-05-10 15:11 ` [PATCH v7 21/21] arm64: dts: apple: t8015: " Nick Chan

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=20250510-apple-cpmu-v7-15-bd505cb6c520@gmail.com \
    --to=towinchenmi@gmail.com \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=catalin.marinas@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j@jannau.net \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=neal@gompa.dev \
    --cc=robh@kernel.org \
    --cc=sven@svenpeter.dev \
    --cc=will@kernel.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).