From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796311352; b=4Btux/I9HpCu9qensCrYWBd14HVuX5r7ZzTMU5CPCZXR3uNkOX9DXAPDB1HWt7IktEMt ybtIUFZB/KtJBvw7e59UQFREjqBKpz5CKUL4FAP7tlt6s4tQt2Wit70BdyNkMIZ91vk9a QSR5j7NaPfOXBQbFiiQ+ntxNLwi7Y4UIRPBXoLMxilxHWK41U0C8hAva+7nPW0wQoi8EZ XteO/+iO5ylli9OIKdN4F6jVvUbba2iBWXeUt5bw3TA0kUhLjDdXZJrDy+6pqewUJFi15 C4CoSRVnd0L0/BODN5PXh2aRAxJMgoNEqDVBl3nE82n7tUFCmE3CLuXjETfKJTb5emQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796311352; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=4qaQcSqQc8YAxImzqQGvv2HeIGF5eh5xGUiMdcUn++Q=; b=hyjPoiqiK0oF5a+uFwDGR4zIma4+HWE4Rw8F1ClvR1VeZyacf451SlA1l3QehZIUmJYC MH5Utkto5yMdflzVaCAzXRga+fMkOamGPUClno9VcK2uD39GlY6Bt9zJsCx6WiPG750+O E0kAvDhlQIR06bcvullD4HxXhzmgIshsRouvzPepenvLAjtRmGI41FDp0Tb56GH3gtcAe nEs+sU8wY1ApyDXr/FHbUdVsF4n1geXjK3ETVn9ScDeskGMaKQ1p6UcN01IwaAjX1E7Sh /g+91WiVDFLmiuG21qvjvhSWDYq8PhcQMbl/OoiKo/9qeF/BOZe4eQn533jVZToqxDQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hxqRfLPn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBFB5606A337 for ; Thu, 3 Dec 2026 15:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hxqRfLPn Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F1E11F00893; Thu, 3 Dec 2026 15:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796311352; bh=4qaQcSqQc8YAxImzqQGvv2HeIGF5eh5xGUiMdcUn++Q=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=hxqRfLPnkdmQTphjuuWboZhEizssxexkRICwZypS8BRIJL7nTO1I7UmcLO+beHEtZ 2YYr0G2M+Km/ac4mCLO+GARoDHy5SuqXXNJ1FiklH//qZfT+EUKt4tp1hsYRQWGsld hjoNPPxrrNQTMRccWPuw76t5Mhk39rp/NVuVVho+FcASMzSoIjwk3jqPjdfDXI8TuQ AD9MYI/0eiixACvz6+yM68m62x4urz3SYBqGuBXcdX76iytZOKyJAb8bFGChPmK77b cpZ6C2p6zj19awIi4ZcYXAZtTV1bENbXI4D9AMTMlEtgpZ3H3Btbn6/XnA9lav2YDI PylCsIUnn5Hlg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] dt-bindings: arm: qcom,coresight-tpdm: Allow arm,primecell-periphid Reply-To: sashiko-reviews@lists.linux.dev To: "Joonhoe Kim" <26rote@gmail.com> Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203145953.1889-2-26rote@gmail.com> References: <20261203145953.1889-1-26rote@gmail.com> <20261203145953.1889-2-26rote@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 15:22:31 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] dt-bindings: qcom,coresight-tpdm adds untyped local arm,primecell-periphid - [Medium] dt-bindings: coresight-tpdm: tpdm_datasets_setup() still reads PIDR0 MMIO -- commit 0eb8cc282c7ae2ede9baea9c1d96498f6522d2bc Author: Joonhoe Kim <26rote@gmail.com> dt-bindings: arm: qcom,coresight-tpdm: Allow arm,primecell-periphid This commit adds arm,primecell-periphid to the Qualcomm CoreSight TPDM devicetree binding so a fixed peripheral ID can be specified when the device's ID registers cannot be read. > diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.ya= ml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > index c7301f1b28c13..7eb49815c26c6 100644 > --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > @@ -83,6 +83,10 @@ properties: > description: > Description of a coresight device. > =20 > + arm,primecell-periphid: > + description: > + Fixed peripheral ID, for a TPDM whose ID registers cannot be read. [Severity: Medium] Does declaring arm,primecell-periphid here without a type or $ref fail dt_binding_check? Because it is a vendor-prefixed property without a standard unit suffix and this schema does not reference primecell.yaml, dt-doc-validate requires an explicit type. Listing it in top-level properties also allows an untyped property on non-AMBA qcom,coresight-static-tpdm nodes. Like Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml, this schema could conditionally reference /schemas/arm/primecell.yaml# in allOf for AMBA compatibles and use unevaluatedProperties: false. [Severity: Medium] Can setting arm,primecell-periphid to a real TPDM ID still hang the bus on probe? While of_amba_device_create() lets the AMBA bus skip amba_read_periphid(), any ID matching dynamic_tpdm_ids binds dynamic_tpdm_driver and reaches dynamic_tpdm_probe() -> tpdm_probe() -> tpdm_datasets_setup(), which still reads CORESIGHT_PERIPHIDR0 (offset 0xfe0, the same PID0 register) via MMIO. Commit "arm64: dts: qcom: kaanapali: Set the peripheral ID of the DCC TPDM" only avoids this by passing a non-matching ID (0x000f0e00) so the driver never probes. Either tpdm_datasets_setup() should read the dataset bits from adev->periphid, or inaccessible TPDM nodes should use status =3D "fail= ". --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203145953.1889= -1-26rote@gmail.com?part=3D1