Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: kaanapali: Mark the DCC TPDM as failed
@ 2026-12-04 20:23 Joonhoe Kim
  0 siblings, 0 replies; only message in thread
From: Joonhoe Kim @ 2026-12-04 20:23 UTC (permalink / raw)
  To: andersson, konradybcio
  Cc: suzuki.poulose, mike.leach, james.clark, leo.yan, robh, krzk+dt,
	conor+dt, jinlong.mao, tao.zhang, jie.gan, jingyi.wang, abelvesa,
	linux-arm-msm, coresight, linux-arm-kernel, devicetree,
	linux-kernel

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-04 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 20:23 [PATCH v2] arm64: dts: qcom: kaanapali: Mark the DCC TPDM as failed Joonhoe Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox