From nobody Mon Feb 9 17:57:55 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 7ACD732E6B1 for ; Tue, 6 Jan 2026 10:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767696871; cv=none; b=oLLkYRH1S24Z5mGpPkz5Mk5Une6ZNtoWFP+5adRBu+/twQ5uyiVimuZDTet5Axk71p7j/Ow+JdVGVBUGV1bZ3fvWO96n1/x9q1A0hjLysnct8t13Kr7aWikhfWzNLjBxREGrBl154Q8Dm9hXNrXtwJqYqsvgc3giHUsVijpQwC0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767696871; c=relaxed/simple; bh=ChSwLgMXBYfRLl5iNYXOyxGFwIfm6Ww5klpEKyxtFXw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QPlDodVg/kyIbE6wfPvtKJjLahUddUdS4uKWCyknWBqH1lV8T68OWodkIWjkTVJJ7iRosjHnHcantTBR4qXYvOt8LsqF4UwKku8kqZ1CL2ZKr9XYatw4u1CRAvBgSKqMYpXguT83lsEU/pkfzWeEYFJxBSWvKeZpXS918LOH63Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=I6HF5YrI; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=FTrjlpy1; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="I6HF5YrI"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="FTrjlpy1" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6063wGHH2684059 for ; Tue, 6 Jan 2026 10:54:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=COr/MJqZagV MC+bxYO8mSr6+tsNCpFgwipMOHKn6q5Q=; b=I6HF5YrIHKk2maaaMPg0N49Fx3Z oRcEJeEBPxzS6YjqkGg9oJAK92IWgoPmvNwV81jzftVvjxuI5mmie6eL4z5O5FKh 6oWTCgjMCrtriX+Un0dSFrhVhlqi25oUKTu1AtFWYz95xRB4hKhF690NY39jLpvm h+dJ0yzdgxw0SkYuH3Zg2vyt3R3z5U0mkwq26BbGL35BpXTleYZ9KXkU3noF2Gw2 dZagPap0VRyq4kHYocDHg0yNUY8P8P3aCAaCiRGdmyTVWuZEf66D32qP+6eBmTpd jV7q1lmBY6HxtvymtNiLUYGRhRz9aV7+jvy5wCN1ID/l2DYqHxmV+KjTCHg== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgty5h49h-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 06 Jan 2026 10:54:28 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-7ba9c366057so2258596b3a.1 for ; Tue, 06 Jan 2026 02:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767696867; x=1768301667; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=COr/MJqZagVMC+bxYO8mSr6+tsNCpFgwipMOHKn6q5Q=; b=FTrjlpy1JKcEqcEwihvXDXaBbB4tNKaE9hdSgSvV2unBeNE0IoHw1p7DnCF9dfkcos tiZLUdMPvU23z+it+ujXUYueyM5X11cOCnQ2LldythuIFS3iIJcBQDJ1K7TVPfUt1UQl iga2skUF6L8w4oZILSoqdymOUA6EOEFZDVKonQpZn7QkJ36sqvqX/nJwM6BKS7h9fTcA 4yL7IqN1m51Zqn3CrFiApRvICPg95kaI8MlXhtJ3WZCW5gU9exnJsCayB5yon/RhoVqu 3eF5xLADmCMnO+HqX8Qs/Ho2ltpN1Rjqs1CC688MUaNaDUpxMvUvmGHGTd/Zjd70I0sU vIXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767696867; x=1768301667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=COr/MJqZagVMC+bxYO8mSr6+tsNCpFgwipMOHKn6q5Q=; b=V+Sp9SYS6I+U/mWMDlqwFVAuQBVnXqFqsH5SP7c4hREx1xxDEuKsxtxU7rX6ZZ3OjI +07AfknKrXTqKJKOloPdqryV/XPhGw1h793PD5Bw5Tm9/wTaACMKb+p3M6iiTV/ZA8Ah iKfoDLOZOmE3LngtJ0gx9aJbTNF2XmVx26Vxlty/I3MZqVj5l4fshTB9GMic6S3jPzDz v/aEINbXpV95JamRgqnEKC/B0oPkJ7e9dPp+W7JFRrYAGB2v/OPklgwRH3/INJidxgNx fGD2VwdE6T/XJs1mpO9IN/y1jxUjtBwnXWbwbzV2+0Trj/awZQdk6OhlJgYJc6p7hnj4 KcDg== X-Forwarded-Encrypted: i=1; AJvYcCWShG0RHkW6XwHxKhZGewabqksSGfAzu/A0yJ8LA/hUwjTJukEYI4KmeICEf3UidFDzsjduz8+HKBfNwrM=@vger.kernel.org X-Gm-Message-State: AOJu0Yxmi3nJ2ljTKG+HBr+EV0HE6Tz2Gdk3aXwMzei5Pz9KZmkhSd5P 6HbpLh89m3iBJnjGV5rhmEotT0Dv3ORMBY+DdYeQoe9BgEWqBdqohSh8S16cl1xqyQBnBsc+7p/ p/MZS+apaeb89Fiq9SP1NDeJTYluruxxfwkXpsCMtr4cNfUfS1t7x+x0OR/Awh1BeA5M= X-Gm-Gg: AY/fxX56MrGIVPEKOArzTozPc8E5qsdnITLr8ryyT2gfa4Mtmu69KKFKlzZNn1EO8Nv 2U5nckPwcwFSfauiKXgWywbf1XdYbezwKfLt1U68UbT71LbddEZTYCyoUgVn1AsqoE43YbHrsAf BU2OSAUEGyTo7vHR4Qv00tflNie5GGjNqnaP3kTjLky3zr777W3a9GIXiTFqlzxWH290jMvA1JO KOCdpfktIjkY0u+WoZGSIYbEulmABrBaKELp3xhUY0AWu+gDQ8fYkqMFkYHxWClIwKhdAYXDm+J sGvezLqDNbygFG5nv0B+3f9U5Bg8eY4ufckl3/KoFFCCvukckskX/PFlXOe/QAYXvjq+j4XEigX 4wcD+nJFuTvQwExXFFF47zFlmCQgxgfZMB3lTJI90POeXPdTjlFNGCCUAIXPaZRH8zoad5xxjAK TiDwv/72iN4j1hfd7O2Rdb49BGaGSexoT3MkQwbdQ= X-Received: by 2002:a05:6a00:1c90:b0:7b7:c078:9f7b with SMTP id d2e1a72fcca58-81881735feemr2145577b3a.18.1767696867233; Tue, 06 Jan 2026 02:54:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZyQDIZJkq3l8819HSZ1iJrsKAC1ryaWLNSO/JatOlYphE+zj+w6/qVbNELkpdsmVGzAJPrg== X-Received: by 2002:a05:6a00:1c90:b0:7b7:c078:9f7b with SMTP id d2e1a72fcca58-81881735feemr2145554b3a.18.1767696866755; Tue, 06 Jan 2026 02:54:26 -0800 (PST) Received: from hu-varada-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-819bafe9b98sm1855121b3a.20.2026.01.06.02.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 02:54:26 -0800 (PST) From: Varadarajan Narayanan To: andersson@kernel.org, mathieu.poirier@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, konradybcio@kernel.org, quic_mmanikan@quicinc.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Gokul Sriram Palanisamy , George Moussalem , Varadarajan Narayanan Subject: [PATCH v9 2/6] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Date: Tue, 6 Jan 2026 16:24:08 +0530 Message-Id: <20260106105412.3529898-3-varadarajan.narayanan@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260106105412.3529898-1-varadarajan.narayanan@oss.qualcomm.com> References: <20260106105412.3529898-1-varadarajan.narayanan@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA2MDA5MyBTYWx0ZWRfX+E9f62gbVrrH wZK+LHrRBuquGW8K6yFfpjtVGlxCZeFjiF9pPVxMa6bwe/2K0WZOULdE0oM3cMQlBqfpkMr7fiz 4PEx2i/o2bRK7YGAcFde7Oo2+HzyJl4Y0PcI+PnSymL+mHzknZKe7ppm0vNWqpEc5tVzWXmfOdJ wEnGLZPjTPPTexl1I8h7sovxjlxkke8H1w/dbPiE/Ql/ZxkZ5dk1VNNQtyCv/KwXsLjo7KomayG S/7CmyyrYfoEknE35Oxh1OcOYClWWHIg/lcWNuJTPCsxR6EzDg/DYTL8P3lWNtuF8PtnQC0SZPd 2RMBbswYkNM6Qd3P5pRJi94No2AcCySOClKomRzHjq8+jFSsyhNjHFd8DDJhLCVHZFct4N2bkxG Taq4H6ZDmid5JrWEi73tE5/Qta4pqG9OgM91nsEXtYAvp36dQoEUeO/xV69iN2pTTyrRjv/RlZI RCS0UfTlNyWPvIqg/BQ== X-Authority-Analysis: v=2.4 cv=Rfidyltv c=1 sm=1 tr=0 ts=695ce9e4 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=COk6AnOGAAAA:8 a=UqCG9HQmAAAA:8 a=EUspDBNiAAAA:8 a=OjzMc1mEqFcyLvt0PQQA:9 a=OpyuDcXvxspvyRM73sMx:22 a=sptkURWiP4Gy88Gu7hUp:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: jXAwSqL_EOhcmJRP1PdcRvPteIi2BpcP X-Proofpoint-ORIG-GUID: jXAwSqL_EOhcmJRP1PdcRvPteIi2BpcP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-05_02,2026-01-06_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 spamscore=0 impostorscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601060093 Content-Type: text/plain; charset="utf-8" From: Manikanta Mylavarapu Add new binding document for hexagon based WCSS secure PIL remoteproc. IPQ5018, IPQ5332 and IPQ9574 follow secure PIL remoteproc. Signed-off-by: Manikanta Mylavarapu Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: George Moussalem [ Dropped ipq5424 support ] Signed-off-by: Varadarajan Narayanan Reviewed-by: Krzysztof Kozlowski --- v9: Rename qcom,wcss-sec-pil.yaml -> qcom,ipq5018-wcss-sec-pil.yaml Fix 'clocks' and 'clock-names' definitions v8: Dropped Krzysztof's 'Reviewed-by' as the bindings file has changed sign= ificantly Drop ipq5424 support Update example to ipq9574 instead of ipq5424 Change 'mboxes' description --- .../remoteproc/qcom,ipq5018-wcss-sec-pil.yaml | 178 ++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,ipq50= 18-wcss-sec-pil.yaml diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-wcss= -sec-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-w= css-sec-pil.yaml new file mode 100644 index 000000000000..a73edb447d26 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-wcss-sec-pi= l.yaml @@ -0,0 +1,178 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,ipq5018-wcss-sec-pil.ya= ml# +$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,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: + minItems: 1 + items: + - description: sleep clock + - description: AHB interconnect clock + + clock-names: + minItems: 1 + items: + - const: sleep + - const: interconnect + + mboxes: + items: + - description: TMECom mailbox driver + + 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,ipq9574-wcss-sec-pil + then: + properties: + clocks: false + clock-names: false + +additionalProperties: false + +examples: + - | + #include + + q6v5_wcss: remoteproc@cd00000 { + compatible =3D "qcom,ipq9574-wcss-sec-pil"; + reg =3D <0x0cd00000 0x10000>; + firmware-name =3D "ath11k/IPQ9574/hw1.0/q6_fw.mbn"; + interrupts-extended =3D <&intc GIC_SPI 325 IRQ_TYPE_EDGE_RISING>, + <&smp2p_wcss_in 0 IRQ_TYPE_NONE>, + <&smp2p_wcss_in 1 IRQ_TYPE_NONE>, + <&smp2p_wcss_in 2 IRQ_TYPE_NONE>, + <&smp2p_wcss_in 3 IRQ_TYPE_NONE>; + interrupt-names =3D "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + qcom,smem-states =3D <&smp2p_wcss_out 1>, + <&smp2p_wcss_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.34.1