From nobody Tue Feb 10 03:20:46 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7A901F181F; Mon, 15 Dec 2025 06:35:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765780528; cv=none; b=fEjNkJemX2sfzDHl6TK+OVIxFTsxKfuZetHLEJd+YvFgUY/HUaZvpItTmw/F0IsEMfAvChV8CYosWYpuqVpcJwUESew4zSkofh3PxY5IGep/9n0cgBANKS+7arR4EB3qrwpXq9OJBWWkLdAi+pC1Srl4muyqi+gu/1RfhZKMOV0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765780528; c=relaxed/simple; bh=u3U7pkyTwnB7c2Os5WO75v40qCVDPhanlFJnWJJ1KxQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=q3lerId0Fa67LotYsyifdQS76oFR6X+01YG4dv6IjOKmvN9CNo651939kG8UPtAF6UpYOS8k5ICVwEbLEM1Zxi0PZhxI/rC2+/zIvFhwqucXq6KtGBmz6RvX9baTd1cyUr7ePQy11L0hADQdBKoMwQwdS5otX8YIap3CAbShxBA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a4LsHIw2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a4LsHIw2" Received: by smtp.kernel.org (Postfix) with ESMTPS id 6263FC116B1; Mon, 15 Dec 2025 06:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765780528; bh=u3U7pkyTwnB7c2Os5WO75v40qCVDPhanlFJnWJJ1KxQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=a4LsHIw2al9d1eC5M6vm/+uX53KtuNpoHqCk7KLtRplKfM8d/+iU50bAG4Ep5WuT3 TOJc8O/nTYpNKoAmT8TZj8pBGcb2BTVp67UQixUG7DpjtD0lp4gUk+oivLhy515T/J 3/eVgOGH2zUW6rtIvbQMJtagWqdRP5T9c2YCpnaX/FwoAiBO7SPMro9ee3Q0qQg3T/ GCWjww+RHySelz59Ea0d/P8gzb+NlGh8SX/W9fnT+xK9ddT8D+UtHb6aBnHhL824WF 9RKbm5olaGFWZEHsiryI9hlz0bD/UHBpNAwj+Mo+pllecxWIxsqbpnp2J1aJxge80P uBL/MEdcjLAmw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 528BDD41D74; Mon, 15 Dec 2025 06:35:28 +0000 (UTC) From: George Moussalem via B4 Relay Date: Mon, 15 Dec 2025 10:35:07 +0400 Subject: [PATCH v7 2/8] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251215-ipq5018-wifi-v7-2-ec4adba941b5@outlook.com> References: <20251215-ipq5018-wifi-v7-0-ec4adba941b5@outlook.com> In-Reply-To: <20251215-ipq5018-wifi-v7-0-ec4adba941b5@outlook.com> To: Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manikanta Mylavarapu , Jassi Brar Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, Gokul Sriram Palanisamy , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1765780526; l=5640; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=DYA2zq1ePczBFUG9d6EFsq6Fency+GX6+e/U5k4kiBg=; b=GMqJirsVFTrxkva5qjKL/HLwY8XO1s+uIsAubd4ZGMkrBd2l9cPYhhDIwYlzVItZVQZ9ARCRx Grrt61Xs2AFDdSxKBklY/sp7EMMLF1hQVt/MgXpyE1jxhZrJqra2YzF X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Manikanta Mylavarapu Add new binding document for hexagon based WCSS secure PIL remoteproc. IPQ5018, IPQ5332, IPQ5424 and IPQ9574 follow secure PIL remoteproc. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Manikanta Mylavarapu Signed-off-by: Gokul Sriram Palanisamy --- .../bindings/remoteproc/qcom,wcss-sec-pil.yaml | 176 +++++++++++++++++= ++++ 1 file changed, 176 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,wcss-sec-pil= .yaml b/Documentation/devicetree/bindings/remoteproc/qcom,wcss-sec-pil.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ec454c070ba59e763edce5190c9= 66e8608714eaf --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,wcss-sec-pil.yaml @@ -0,0 +1,176 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,wcss-sec-pil.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCSS Secure Peripheral Image Loader + +maintainers: + - Manikanta Mylavarapu + +description: + Wireless Connectivity Subsystem (WCSS) Secure Peripheral Image Loader lo= ads + firmware and power up QDSP6 remoteproc on the Qualcomm IPQ series SoC. + +properties: + compatible: + enum: + - qcom,ipq5018-wcss-sec-pil + - qcom,ipq5332-wcss-sec-pil + - qcom,ipq5424-wcss-sec-pil + - qcom,ipq9574-wcss-sec-pil + + reg: + maxItems: 1 + + firmware-name: + maxItems: 1 + description: Firmware name for the Hexagon core + + interrupts: + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + + interrupt-names: + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + + clocks: + $ref: /schemas/types.yaml#/definitions/phandle-array + + clock-names: + $ref: /schemas/types.yaml#/definitions/string-array + + mboxes: + items: + - description: A phandle to the TMECom mailbox device node + + qcom,smem-states: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: States used by the AP to signal the remote processor + items: + - description: Stop Q6 + - description: Shutdown Q6 + + qcom,smem-state-names: + description: + Names of the states used by the AP to signal the remote processor + items: + - const: stop + - const: shutdown + + memory-region: + items: + - description: Q6 reserved region + + glink-edge: + $ref: /schemas/remoteproc/qcom,glink-edge.yaml# + description: + Qualcomm G-Link subnode which represents communication edge, channels + and devices related to the Modem. + unevaluatedProperties: false + +required: + - compatible + - reg + - firmware-name + - interrupts + - interrupt-names + - qcom,smem-states + - qcom,smem-state-names + - memory-region + +allOf: + - if: + properties: + compatible: + contains: + const: qcom,ipq5018-wcss-sec-pil + then: + properties: + clocks: + items: + - description: sleep clock + - description: AHB interconnect clock + clock-names: + items: + - const: sleep + - const: interconnect + required: + - clocks + - clock-names + + - if: + properties: + compatible: + contains: + const: qcom,ipq5332-wcss-sec-pil + then: + properties: + clocks: + items: + - description: sleep clock + clock-names: + items: + - const: sleep + required: + - clocks + - clock-names + + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5424-wcss-sec-pil + - qcom,ipq9574-wcss-sec-pil + then: + properties: + clocks: false + clock-names: false + +additionalProperties: false + +examples: + - | + #include + #include + remoteproc@d100000 { + compatible =3D "qcom,ipq5424-wcss-sec-pil"; + reg =3D <0x0d100000 0x4040>; + firmware-name =3D "ath12k/IPQ5424/hw1.0/q6_fw0.mbn"; + interrupts-extended =3D <&intc GIC_SPI 508 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 0 IRQ_TYPE_NONE>, + <&wcss_smp2p_in 1 IRQ_TYPE_NONE>, + <&wcss_smp2p_in 2 IRQ_TYPE_NONE>, + <&wcss_smp2p_in 3 IRQ_TYPE_NONE>; + interrupt-names =3D "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + mboxes =3D <&tmel_qmp 0>; + qcom,smem-states =3D <&wcss_smp2p_out 1>, + <&wcss_smp2p_out 0>; + qcom,smem-state-names =3D "stop", + "shutdown"; + + memory-region =3D <&q6_region>; + + glink-edge { + interrupts =3D ; + label =3D "rtr"; + qcom,remote-pid =3D <1>; + mboxes =3D <&apcs_glb 8>; + }; + }; --=20 2.52.0