From nobody Fri Apr 3 01:29:30 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 0A55227AC45 for ; Thu, 26 Mar 2026 04:33:40 +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=1774499622; cv=none; b=PN0qeYiEEoXWuqdECcwKiQFfFMYZ23CHElJ+5umIBrUXK+ldBLOrY1/mU/yi0oW1k+ymAAI1sXoIMuTln+nhVCNYRvvzH07IRnf4VbDLSDHlpDkCvapNCdpHv+Zw0siM51TdiXabHWeu4wcpdPPT1OJjfCzVTAbdt11ZNl1c2HA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774499622; c=relaxed/simple; bh=tZNatXF/IsYW2w1moUBh1EQNMMEhjVFjbvCRb3Q9xM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Hb8u7m6lQsFzopnxk3BDCPsb1DqCsSbz7qHaWaSffnQUXeGwP5Z+YzmJkbXnw9QZBd0y1cORUdMI2bks4+JZY8Bhb67O2fAjO2R8hWDT3Ip/d9cNitJRMH+Rt/QjiYD1DHRExJ49Ff6kUX3UP8rEXpc6M3LKDYl7n9O1p+Qz+tY= 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=GpChRbWw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ku+mJFpt; 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="GpChRbWw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ku+mJFpt" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62Q0kj5v3957911 for ; Thu, 26 Mar 2026 04:33:40 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=j++VeohUiIK P+Iz5rB7WGkaT/d3QbG8tvRKTOxHJK4U=; b=GpChRbWwGd4U1qcx3uRWc6on1s7 fHzB5m2NMD8pEoOcv3z6P2pbTnSmtmPVKNWwJO2PutJdwsz5IjgGj/f9uOLOcS/H tyzhKyf8f0ByAIGd+pqTqGOh3Al4q/xAlywug7653/FvwnqDfjuLYKyizFJAtlz/ tD2ugZUZDQ60vsxK30dD59pqX/3E9tk/kJPPS2dadh9nzxJ8xjgg3Oezf8m0oB5n naW3UWqAY/3Y3kG2D9+YNBhqJ/3kgHBFcYOKnUy7+7FaOkhw2XCDmjN/nJ3wmQWQ 9R6ZWvMRVEFCOiq6Bvm9agqBkw/OmC5CYL3p9079YH+yiQRROoWxdhr17hQ== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d4tjagjgt-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 26 Mar 2026 04:33:40 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2b0be75dfd4so7884995ad.1 for ; Wed, 25 Mar 2026 21:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774499619; x=1775104419; 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=j++VeohUiIKP+Iz5rB7WGkaT/d3QbG8tvRKTOxHJK4U=; b=ku+mJFptgi9sRHlNu2hYAycnoFjd98SFvRsqZikI6QU2KahOjRcErdB1x6durkuEI5 AizshaWlY9zXrjgPnyGfUYb67UujF1u9f8Kdugxyxl3lGrmlkng1gNgnJw/DnA60lJ/6 K2pOLeq2gRVJymLpZViEAf5YepI96FBeta5sVdHLPk4cnDiYQClpMOaGpSb0IcIgsNc+ OZO85OsG5yBIiXNgxTX9zQY6hY5EfHebeUMfBw9WfFoRC3GOO+KsBZl/OC88toArtfgH 6TLkKZo+eajrrqCeN/mYAvo6QEsd80gccM+5Qg/hIxziXhP/blENLz2nFZSktWUm4UwI r3kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774499619; x=1775104419; 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=j++VeohUiIKP+Iz5rB7WGkaT/d3QbG8tvRKTOxHJK4U=; b=Nn2daTsCfhczKUb6J5oIvmFmn7uU+gdo6siuce9INkMH2QlCEVHTMfFvgRPdlQdwVI oyxOSUzBiJtkZHhbvgIeT04GYcgNCFUlgghZ5pfc+HkWf//n9e/ZHqFRutgPprwJM592 aIFKBktm6Gs+RlW5rymsCYtVw1izOrNoJN+K8Aa2GmhjG3FHpKzVmYjn2WV+7RBAG7ff GvKTy/0CV9LJTrhMsSu2o9QfmDMwp6BKPxy12ZQAxUTIGPk6J8zy46nc2kM5lHJI+XOp VG9org9YeHIYmgr1RP8/gKhmhGpbYK/7PKTP1jbkd+TOFvKOvpmGaJOOuRNderAQ8SBe kz5w== X-Forwarded-Encrypted: i=1; AJvYcCWx+Lt71VU0RWMwL+CnFdhqsriTpuHdQuIYQs3OAA+WsPq8N8GqGCChq4kEqYRo/pTsGxiGxxQj4h18qWI=@vger.kernel.org X-Gm-Message-State: AOJu0YwqhjH/+WCSfx2f5tR25Vg0hARjOTJdozsI8d/sGAJrbIcnbNp6 NtSSYRdVJpY6kwC0TUeIKO2WZovrQsnseA0jqcqOlAUujCIXFaW3iFi7ym2JQNIfsgSSZwwNdiG ykGajwGa1hWGLYh03JhUVAYhSABbwVV0lS18z6zPfFSmtf/DQ04KsHtdLcdRRa1gHyN0= X-Gm-Gg: ATEYQzwPgOCT9vNCX4tR+CZbpB7/8YH3ykWjkF0skqADG47Vh/L60p04mknoST8btmu JUEGkxdExD4WFPK6zk1HkH+X33jMKhmlpw1CfC2INXPPJCKbKGxcEL5I7FVZpDfcJ75VEit39ZT cnnTxsHz29A1i2AN7eJoiu3xjpUIPRfR8v18OpDl62lwZ7t5Md++UGtMQIVq3tpYSqowWIXYFxH RHboTut2H+LtCRnLY0Z8OdwbwhaFwWt3QPLl4pJwehF7SOb2mdWqvKhdYMCxAgCOqxlx8jqHZb5 OUbo36EJ8N/OmWYnJwx0+4GeEZ8Kv4tW5xDe3QpxJDrfgkN7E7KCV/ceUWb2Wy6hh1H+mmq+hSG 2vOkZ+unkG4437cX984b28ClWVFJKP8Fhgg1a4+FAeNg0HjpCjO80i+iI3GsyilXo+MKYxt5bET 9Aw/yHyoDql4/44NKPtYFbEOGLcIYL/3Nff7w41mD4HTr7bTx9OqM= X-Received: by 2002:a17:903:234d:b0:2b0:6d2d:f1d7 with SMTP id d9443c01a7336-2b0b0b46136mr66431145ad.48.1774499618663; Wed, 25 Mar 2026 21:33:38 -0700 (PDT) X-Received: by 2002:a17:903:234d:b0:2b0:6d2d:f1d7 with SMTP id d9443c01a7336-2b0b0b46136mr66430665ad.48.1774499618097; Wed, 25 Mar 2026 21:33:38 -0700 (PDT) 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 d9443c01a7336-2b0bc7b233fsm15163715ad.32.2026.03.25.21.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 21:33:37 -0700 (PDT) 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 , Krzysztof Kozlowski , Varadarajan Narayanan Subject: [PATCH v11 2/6] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Date: Thu, 26 Mar 2026 10:03:16 +0530 Message-Id: <20260326043320.2507890-3-varadarajan.narayanan@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260326043320.2507890-1-varadarajan.narayanan@oss.qualcomm.com> References: <20260326043320.2507890-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-ORIG-GUID: IAEaPEfE-gR9o4VQKBskZjzCC2Ypya7i X-Authority-Analysis: v=2.4 cv=Nr3cssdJ c=1 sm=1 tr=0 ts=69c4b724 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=gEfo2CItAAAA:8 a=COk6AnOGAAAA:8 a=UqCG9HQmAAAA:8 a=EUspDBNiAAAA:8 a=RNRoJpfvdE2T6TG_4XMA:9 a=GvdueXVYPmCkWapjIL-Q:22 a=sptkURWiP4Gy88Gu7hUp:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: IAEaPEfE-gR9o4VQKBskZjzCC2Ypya7i X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzI2MDAzMiBTYWx0ZWRfX/i0K4nYoP0Kp axcYCEQUQ4XJrhVRkP9Q3OxXgXzmmyY9/SWAQCs/j7/NlaCSdm95JfIWMcufMstWiMU/KYQj4AV essZCrSUbHASHZZZr2HiZd1B2PkpCwq9KhVKcMZaPnCxkixhkTyILZ46Kky1SLIkL3IRABpTltG 5B4/HYfavPMCuLK7I/wohkJMHmi10ImmgyUQHPpYRAmGn7ZIaxN6lpiVRrF6yqzP0WSs/5KV0p2 JN9Me3XYJ2UZo4y9RAtSFGBmnmNp1tZA3MDL+BYO5ZNvtpm0GYyYKQDuOuHcgJH+HiyHSc4AuO0 qhIhlNbg19BatUE1kGQpKcht7D/adA+VXFw4lfJ4S6Uuul/zEJ90PeqxcpYlokyHWE4ccJCZv6g T/eOE4DyrBUPL5ZXF5fwNdTI/hIT2VGOJZSiuxTH0/L0cAPTv2q2oPUhB3tpzLq625QYdqQhk5K lk/ArUvOf0sdIpqCrFQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-26_01,2026-03-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 impostorscore=0 bulkscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603260032 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 ] Reviewed-by: Krzysztof Kozlowski Signed-off-by: Varadarajan Narayanan --- v10: Add r-b Krzysztof 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