Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joonhoe Kim <26rote@gmail.com>
To: andersson@kernel.org, konradybcio@kernel.org
Cc: suzuki.poulose@arm.com, mike.leach@arm.com,
	james.clark@linaro.org, leo.yan@arm.com, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	jinlong.mao@oss.qualcomm.com, tao.zhang@oss.qualcomm.com,
	jie.gan@oss.qualcomm.com, jingyi.wang@oss.qualcomm.com,
	abelvesa@kernel.org, linux-arm-msm@vger.kernel.org,
	coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] arm64: dts: qcom: kaanapali: Mark the DCC TPDM as failed
Date: Sat,  5 Dec 2026 05:23:41 +0900	[thread overview]
Message-ID: <20261204202341.1456-1-26rote@gmail.com> (raw)

On the Lenovo Y700 Gen 5 (TB323FU) with recent firmware, reading the
CoreSight ID registers of the DCC TPDM at 0x10003000 hangs the bus. The
AMBA bus reads them to match a driver, so the boot stops there and the
watchdog resets the board. Older firmware on the same device allows the
read and returns 0x001f0e04.

Set status = "fail", as shikra.dtsi does for its DCC TPDM, so no AMBA
device is created for it. Boards whose firmware allows the access can
set it to "okay".

Fixes: f73959d86c15 ("arm64: dts: qcom: kaanapali: add coresight nodes")
Suggested-by: OnickerMeow <277483795+OnickerMeow@users.noreply.github.com>
Link: https://github.com/joonhoekim/tb323fu-linux/issues/9
Signed-off-by: Joonhoe Kim <26rote@gmail.com>
---
Changes in v2:
- Mark the node as failed instead of setting arm,primecell-periphid to
  0x000f0e00, the ID that commit c8ea5f41b421 keeps out of the TPDM
  match (Sashiko)
- Drop the dt-bindings patch, no longer needed
- Link to v1: https://lore.kernel.org/all/20261203145953.1889-1-26rote@gmail.com/

 arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index 132577d540bfb..aa42f236a6926 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -4768,6 +4768,8 @@ tpdm@10003000 {
 
 			qcom,cmb-element-bits = <32>;
 
+			status = "fail";
+
 			out-ports {
 				port {
 					tpdm_dcc_out: endpoint {

base-commit: 799dd936553182df5770dde7f38d94c8337df75a
-- 
2.53.0



                 reply	other threads:[~2026-12-04 20:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261204202341.1456-1-26rote@gmail.com \
    --to=26rote@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=james.clark@linaro.org \
    --cc=jie.gan@oss.qualcomm.com \
    --cc=jingyi.wang@oss.qualcomm.com \
    --cc=jinlong.mao@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=leo.yan@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.leach@arm.com \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=tao.zhang@oss.qualcomm.com \
    /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