From: sashiko-bot@kernel.org
To: "Joonhoe Kim" <26rote@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: kaanapali: Set the peripheral ID of the DCC TPDM
Date: Thu, 03 Dec 2026 15:13:06 +0000 [thread overview]
Message-ID: <sashiko-outbox-248083@kernel.org> (raw)
In-Reply-To: <20261203145953.1889-3-26rote@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: false periphid on kaanapali DCC TPDM
instead of status
--
commit c90eec4913452e0ca019a7af233f8e46ca823786
Author: Joonhoe Kim <26rote@gmail.com>
arm64: dts: qcom: kaanapali: Set the peripheral ID of the DCC TPDM
This commit adds arm,primecell-periphid = <0x000f0e00> to the DCC TPDM
node in kaanapali.dtsi to avoid reading its CoreSight ID registers on
boot.
Link: https://github.com/joonhoekim/tb323fu-linux/issues/9
> diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> index 132577d540bfb..ab87d6b7ad295 100644
> --- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> @@ -4761,6 +4761,7 @@ stm_out: endpoint {
> tpdm@10003000 {
> compatible = "qcom,coresight-tpdm", "arm,primecell";
> reg = <0x0 0x10003000 0x0 0x1000>;
> + arm,primecell-periphid = <0x000f0e00>;
[Severity: Medium]
Should this node use status = "disabled" (or status = "fail") instead of
a non-matching arm,primecell-periphid?
Hardcoding 0x000f0e00 in kaanapali.dtsi misdescribes the hardware and
breaks coresight-tpdm binding on boards where 0x10003000 is accessible.
Commit c8ea5f41b421 ("Coresight: Narrow down the matching range of tpdm")
specifically excluded 0x000f0e00 to avoid colliding with other components.
Because tpdm@10003000 stays available, of_amba_device_create() still
registers an active AMBA device and reserves its MMIO region. Binding
coresight-tpdm via driver_override bypasses the ID check in amba_match(),
so tpdm_datasets_setup() reads CORESIGHT_PERIPHIDR0 and hangs the bus.
Using status = "disabled" (or status = "fail", as in shikra.dtsi and
hamoa.dtsi) makes of_amba_device_create() skip device creation cleanly
and lets working boards re-enable it with status = "okay".
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203145953.1889-1-26rote@gmail.com?part=2
prev parent reply other threads:[~2026-12-03 15:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 14:59 [PATCH 0/2] Set the peripheral ID of the Kaanapali DCC TPDM Joonhoe Kim
2026-12-03 14:59 ` [PATCH 1/2] dt-bindings: arm: qcom,coresight-tpdm: Allow arm,primecell-periphid Joonhoe Kim
2026-12-03 15:22 ` sashiko-bot
2026-12-03 14:59 ` [PATCH 2/2] arm64: dts: qcom: kaanapali: Set the peripheral ID of the DCC TPDM Joonhoe Kim
2026-12-03 15:13 ` sashiko-bot [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=sashiko-outbox-248083@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=26rote@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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