Devicetree
 help / color / mirror / Atom feed
From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: wens@kernel.org, samuel@sholland.org, Tim Douglas <me@timdoug.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, Tim Douglas <me@timdoug.com>
Subject: Re: [PATCH] ARM: dts: sun8i: a33: Add the Cortex-A7 PMU
Date: Tue, 01 Dec 2026 06:22:28 +0100	[thread overview]
Message-ID: <cACh7CoRTFCbwq1N3-gbSg@gmail.com> (raw)
In-Reply-To: <20261201025741.74939-1-me@timdoug.com>

Dne torek, 1. december 2026 ob 03:57:41 Srednjeevropski standardni čas je Tim Douglas napisal(a):
> Add the Cortex-A7 PMU with one interrupt per core, GIC SPI 120-123.
> These match the arm-pmu IRQ resource (152-155) in the vendor 3.4 kernel
> and the PMU node in sun8i-h3.dtsi.

This also matches the A33 user manual, which lists PMU0-3 interrupts
at 152-155.

> 
> Tested on a Miyoo A30 (R16) with perf stat.
> 
> Signed-off-by: Tim Douglas <me@timdoug.com>

Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

> ---
>  arch/arm/boot/dts/allwinner/sun8i-a33.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/allwinner/sun8i-a33.dtsi b/arch/arm/boot/dts/allwinner/sun8i-a33.dtsi
> index 36b2d78cd..7348fb110 100644
> --- a/arch/arm/boot/dts/allwinner/sun8i-a33.dtsi
> +++ b/arch/arm/boot/dts/allwinner/sun8i-a33.dtsi
> @@ -180,6 +180,15 @@ opp-384000000 {
>  		};
>  	};
>  
> +	pmu {
> +		compatible = "arm,cortex-a7-pmu";
> +		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> +	};
> +
>  	sound: sound {
>  		compatible = "simple-audio-card";
>  		simple-audio-card,name = "sun8i-a33-audio";
> 
> base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
> 





      reply	other threads:[~2026-12-01  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  2:57 [PATCH] ARM: dts: sun8i: a33: Add the Cortex-A7 PMU Tim Douglas
2026-12-01  5:22 ` Jernej Škrabec [this message]

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=cACh7CoRTFCbwq1N3-gbSg@gmail.com \
    --to=jernej.skrabec@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=me@timdoug.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@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