[PATCH v2 0/4] Add ETM devices for multiple QCOM platforms

From: Jie Gan

Date: Thu Nov 26 2026 - 22:10:31 EST


This series adds CoreSight nodes for the APSS debug block on multiple
QCOM platform, covering ETM, replicator, funnel and TMC ETF devices,
to enable ETM trace on the CPU cores.

The replicator, funnel and TMC ETF nodes in this block sit on the CPU
cluster power rail rather than on a dedicated always-on rail, so they
need a power-domains property pointing at the corresponding CPU cluster
genpd. Exercising this property correctly depends on one related fix
that is in flight:

- coresight: handle runtime PM resume failures
https://lore.kernel.org/all/20261116-b4-coresight-runtime-pm-failures-v2-1-cc437170e24e@xxxxxxxxxxxxxxxx/
Without this fix, CoreSight ignores runtime PM resume errors and
continues to access registers on an unpowered device, which is
exactly what can happen while a CPU PM domain is being woken up.

Signed-off-by: Jie Gan <jie.gan@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Rebased on next-20261126.
- kaanapali: use cluster0_pd/cluster1_pd following the cluster power
domain split (Konrad).
- kaanapali: drop the planned qcom,skip-power-up for ETE nodes; the ETE
binding does not allow it and the driver already skips the power-up
check for system-register based trace units.
- purwa/mahua: delete the whole APSS funnel port@2 rather than only its
endpoint, avoiding an empty port node.
- glymur: also delete the cluster0 ETM/CoreSight nodes on Kalambo, which
is derived from Mahua without the first CPU cluster.
- Link to v1: https://lore.kernel.org/r/20260922-add-etm-devices-for-multiple-qcom-platforms-v1-0-c2a8c3225a2e@xxxxxxxxxxxxxxxx

---
Jie Gan (4):
arm64: dts: qcom: hamoa: Add CoreSight nodes for APSS debug block
arm64: dts: qcom: sm8750: Add CoreSight nodes for APSS debug block
arm64: dts: qcom: kaanapali: Add CoreSight nodes for APSS debug block
arm64: dts: qcom: glymur: Add CoreSight nodes for APSS debug block

arch/arm64/boot/dts/qcom/glymur.dtsi | 1184 +++++++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/hamoa.dtsi | 884 +++++++++++++++++++++++
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 567 +++++++++++++++
arch/arm64/boot/dts/qcom/kalambo.dtsi | 16 +
arch/arm64/boot/dts/qcom/mahua.dtsi | 16 +
arch/arm64/boot/dts/qcom/purwa.dtsi | 12 +
arch/arm64/boot/dts/qcom/sm8750.dtsi | 599 ++++++++++++++++
7 files changed, 3278 insertions(+)
---
base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20260922-add-etm-devices-for-multiple-qcom-platforms-c165b1c4480f

Best regards,
--
Jie Gan <jiegan@xxxxxxxxxxxxxxxx>