Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: sm8750: describe the TNOC AMBA periphid
@ 2026-11-27 11:31 Qianhui Xu
  2026-11-27 11:31 ` [PATCH 1/2] dt-bindings: arm: qcom,coresight-tnoc: allow the " Qianhui Xu
  2026-11-27 11:31 ` [PATCH 2/2] arm64: dts: qcom: sm8750: describe the TNOC " Qianhui Xu
  0 siblings, 2 replies; 4+ messages in thread
From: Qianhui Xu @ 2026-11-27 11:31 UTC (permalink / raw)
  To: andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

Hi,

on SM8750 the Trace NOC at 109ab000 is an AMBA device, but without
"arm,primecell-periphid" the AMBA core reads its ID as 0x00000000, so
coresight-tnoc (amba_ids 0x000f0c00/0x001f0c00, mask 0x00ffff00) never
matches and the node is left as "deferred probe pending: (reason
unknown)".  The value below is the one the driver expects for this
integration; sm8250 describes its funnel the same way.

Changing the DTS alone is not enough: qcom,coresight-tnoc.yaml sets
additionalProperties: false without referencing the PrimeCell schema, so
dtbs_check rejects the property.  1/2 adds the reference the other
CoreSight AMBA bindings use and switches the root to
unevaluatedProperties: false, 2/2 adds the property.

Tested on SM8750 hardware: with both patches the TNOC binds to
coresight-trace-noc and no Coresight AMBA device remains unbound (0 of
28), where the TNOC itself stayed unbound before.  dtbs_check on
sm8750-mtp.dtb and
sm8750-qrd.dtb is silent, dt_binding_check passes.

*** AI-assistance disclosure ***
This series was prepared with the help of an LLM coding assistant.  The
author reviewed every line and verified the binding on hardware.

Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>

Qianhui Xu (2):
  dt-bindings: arm: qcom,coresight-tnoc: allow the AMBA periphid
  arm64: dts: qcom: sm8750: describe the TNOC AMBA periphid

 .../bindings/arm/qcom,coresight-tnoc.yaml     | 5 ++++-
 arch/arm64/boot/dts/qcom/sm8750.dtsi          | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-27 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 11:31 [PATCH 0/2] arm64: dts: qcom: sm8750: describe the TNOC AMBA periphid Qianhui Xu
2026-11-27 11:31 ` [PATCH 1/2] dt-bindings: arm: qcom,coresight-tnoc: allow the " Qianhui Xu
2026-11-27 11:31 ` [PATCH 2/2] arm64: dts: qcom: sm8750: describe the TNOC " Qianhui Xu
2026-11-27 11:41   ` sashiko-bot

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