Linux Perf Users
 help / color / mirror / Atom feed
From: Harry Bit <idleassetsd@gmail.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Will Deacon <will@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
	Harry Bit <idleassetsd@gmail.com>
Subject: [PATCH v2 0/3] Add Phytium vendor prefix and FTC310/FTC664 CPU/PMU support
Date: Wed,  2 Dec 2026 16:30:43 +0800	[thread overview]
Message-ID: <20261202083046.13304-1-idleassetsd@gmail.com> (raw)

This series adds the Device Tree vendor prefix for Phytium Technology
Co., Ltd., documents the FTC310 (MIDR 0x700f3034) and FTC664 (MIDR
0x701f6643) ARMv8 CPU and PMU compatible strings used in Phytium PE220x
SoCs, and enables ARM PMUv3 driver matching for both cores.

Patch 1 adds the "phytium" vendor prefix.
Patch 2 documents the phytium,ftc310 and phytium,ftc664 CPU and PMU
compatible strings.
Patch 3 registers the FTC310 and FTC664 PMUv3 entries in arm_pmuv3.

Tested on Phytium Pi V2.1 (PE2204, 2x FTC664 + 2x FTC310), where both
armv8_phytium_ftc310 and armv8_phytium_ftc664 PMUs probe and count
standard PMUv3 events with perf stat.

This series is the first step in upstreaming Phytium PE2204 (E2000Q)
SoC and Phytium Pi board support. Follow-up series will introduce:
1. Core platform support (ARCH_PHYTIUM, cputype/errata, reset, pinctrl,
   mailbox, GPIO, and base PE2204 / Phytium Pi Device Trees).
2. Peripheral drivers per subsystem (I2C/SPI/QSPI, DW-MSHC MMC, Cadence
   GEM Ethernet, USB, CAN-FD, audio, and display).

Changes in v2:
- Add this cover letter.
- Fix DCO attribution: use submitter From/Signed-off-by only and credit
  the vendor reference in commit descriptions.
- Link to v1: https://lore.kernel.org/r/20261128035504.760778-1-idleassetsd@gmail.com

Harry Bit (3):
  dt-bindings: vendor-prefixes: add phytium
  dt-bindings: arm: cpus: add Phytium FTC310 and FTC664
  perf: arm_pmuv3: add Phytium FTC310 and FTC664 PMU support

 Documentation/devicetree/bindings/arm/cpus.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/pmu.yaml         | 2 ++
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 drivers/perf/arm_pmuv3.c                               | 5 +++++
 4 files changed, 11 insertions(+)
-- 
2.54.0

             reply	other threads:[~2026-12-02  8:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  8:30 Harry Bit [this message]
2026-12-02  8:30 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add phytium Harry Bit
2026-12-02  8:30 ` [PATCH v2 2/3] dt-bindings: arm: cpus: add Phytium FTC310 and FTC664 Harry Bit
2026-12-02  8:30 ` [PATCH v2 3/3] perf: arm_pmuv3: add Phytium FTC310 and FTC664 PMU support Harry Bit

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=20261202083046.13304-1-idleassetsd@gmail.com \
    --to=idleassetsd@gmail.com \
    --cc=catalin.marinas@arm.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-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh@kernel.org \
    --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