From nobody Tue Feb 10 04:15:47 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 12DC738A737 for ; Tue, 13 Jan 2026 09:20:44 +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=1768296052; cv=none; b=CU/UstqzIabgEgzj2jvyz1cdiXTDJ/8tdErkkG3UhjuNGwwKJHrG7dvXDCvwwcOaUQZF8GvIvanOFLCwi1r9EiLifGSUQX0HO7Fo/xZ1R+BW3sgaItUFZ0L7qp8hW14KUj/p9+Jpr1Dwj9fnq6eb3BoueeyZT8DP39uMBqQMDNA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768296052; c=relaxed/simple; bh=tZNatXF/IsYW2w1moUBh1EQNMMEhjVFjbvCRb3Q9xM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oQwv7V+7OomwajQ24nmGaNC3EgAFaXITjNapG9iIRtelkepb/WLr0KXQB3Q75KjpJxIl8c2o+HEFEPj8vnPmuQ3WPUMEfzW0pkVlkr+/J5J+gGF2OmE3URPxubKylQYKUzqddmbCdtTHtbn3StViD1QhO4RU5W8CVmdMds8l8gk= 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=p2wv2TTR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Pz1TEe0f; 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="p2wv2TTR"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Pz1TEe0f" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60D58viJ2834923 for ; Tue, 13 Jan 2026 09:20:37 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=p2wv2TTRCN3e8LZpqbOm96XGMjM idg4FYtqAwM6yAf2Y5n6MLHsGak++k4HYFjbWqFyRMw0y51lq3VBNeATbuhAbvid 628Neh2QHVX1lXfpQV3l1VzzLpuoHbtZfJaHLC75cUMknmCIOrekJqn1jndLnqyz /oCNkHFeK+AfNZ8kX/9EOtmxuHjeIGovRZg8jrvIDaYoXnhGodcpzBZYlGVotFOF RkOJI6enVMrQMBdJJzKM66q/HwfRXEvqNl5LQ9HgrMF1tMSmLIj1DbWYCtGW8sqa obTwXvpuW2UAhALd9UoUczj6B91kVpxa8i/2UbOr4U2LwMsWcRmom935mkA== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bnfn9rqaw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 13 Jan 2026 09:20:37 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-29f1450189eso54857025ad.1 for ; Tue, 13 Jan 2026 01:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768296037; x=1768900837; 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=Pz1TEe0fE2R/dU6+rS3lybsI017hBcIWfRKLiWINnmxQeZga2dPdAvWLSCqDY/IeeJ cH7dcYCLehpwyn81BZfqbyfd3fEkdGL0oGfxjVpbrbxZLkzzuDbbKYxVI9G3MMif/x1a /N4uMoEPf0sb5mG7VDqnUb2Kat3w1SKfaAjzBaJKpS5Ky98le6ai2iAOt+B2TKH6NAIU icFVZhalT9p1woAv+Ksr84k10fFcZcLxwoEW3IUUo7aDrF/7vg8xFoUSyqJ/jgP/3ets 7beUpChf/vHgK62RhIPDm7mlnGeporGPq9dQ8KDNZR7XqzkFtRUCXhFTGYvf5SinYD6R Vx+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768296037; x=1768900837; 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=GsADWY7j+9blilUVC5hAz5UMwpnIDupIZEN0CIbtgmJqDxpwB3YeaxVBlmHskKgOAP JbRwhiniT0ZiG2jQfTqc5Z88jGbRmzw4O0/0gDNBF1wVo8F3wSxNXAEyXPmMJXKiKwJR cl0UBiAOUU+L3wpq2pdL6n/6M8FoBL0c4w2uJPW/UCgndzMSBan/uDl4zqrVUlg6OYjR gvzgtgJ6e3G3KtjCZcOI5k5M8jIaWcfeBhtaimplOprho820dkAdhWOrGwWL7FC8Z147 me5aIFE77kwAWVxwLLPDONp1DJbiQxD2VC+GMrWHUu8+NSX6HeO/9oBN0iyzMZjShYOD 0G0Q== X-Forwarded-Encrypted: i=1; AJvYcCUcwFDmg7uqSACtUmz9n7bKznp0zz6JzfJCBJNGAYm0gWRLEprGaxW1TU827tPFsv0QpIwMSsnWwJbXpBw=@vger.kernel.org X-Gm-Message-State: AOJu0Yx72dYMJaR6s1LBZYbAVaN1eYMZoQz0IDyHNhcMur1B88h2vuYE X/ck9fAODROlOo7q/cEPeoUu6w0HiuPbKk638ngq3MTU/xSkebrTaGvqE2Z5hrfEQSuVfQbLqzZ GnNsAIqF2MN96B/nyyf5LKeX5x3lK+2mgJ1s601D0mR+YDHEWkqpHEoZkzJ3YlKLkWwI= X-Gm-Gg: AY/fxX6ZZxT2m/zFh/XK44xfG1dQsOQZonoQXP3Z4EtiuikKpADxOC1RLgtPfH0Bxsl cMHGxZ05wO6UZcZF1AmjWbI3h5t8Eun2VF2CJD0HrhFGBY5hVHZCoFNH7PfBVItANNuv/zefCsM 6KKEhtisWDBoKoHkhNuby/2s+5KB2qdc41O8U7zCiDGXIQXUh1W8QYAb8/7AttSCTrCyY/NT3bg jWJRlge5xKp2FWyKibtxdworBe1EToqDnlNlx4KeLGe8Qck8ZwiyJu09mJm9vBrrCiEntzqKKks Ymo1lXrK2ciJPD9ML1nV5YeY5ghwqsDxZE87EigCw4bS1NRpjNsmwCVq2zjQ26Yay8w+ByyvwGm hhW3/O2UnFucCLwKBikpjAMBnOVmais0YxYsFcs/UzWyQhNC4/kFpmjcVKih9fx0RsjyB/tzZDW M7fX/e9lEcD8QFpFpEx/oaNMAhQsJ6GlSW//YsQ6s= X-Received: by 2002:a17:903:32cb:b0:294:f6e5:b91a with SMTP id d9443c01a7336-2a58b4c0c2bmr21726435ad.13.1768296036589; Tue, 13 Jan 2026 01:20:36 -0800 (PST) X-Received: by 2002:a17:903:32cb:b0:294:f6e5:b91a with SMTP id d9443c01a7336-2a58b4c0c2bmr21726235ad.13.1768296035999; Tue, 13 Jan 2026 01:20:35 -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 d9443c01a7336-2a3e3cc794asm196314945ad.70.2026.01.13.01.20.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 01:20:35 -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 , Krzysztof Kozlowski , Varadarajan Narayanan Subject: [PATCH v10 2/6] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Date: Tue, 13 Jan 2026 14:50:17 +0530 Message-Id: <20260113092021.1887980-3-varadarajan.narayanan@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260113092021.1887980-1-varadarajan.narayanan@oss.qualcomm.com> References: <20260113092021.1887980-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-GUID: jF65w2GUk03JaBYs-sMx2X1K7QZ9PKgn X-Proofpoint-ORIG-GUID: jF65w2GUk03JaBYs-sMx2X1K7QZ9PKgn X-Authority-Analysis: v=2.4 cv=HN/O14tv c=1 sm=1 tr=0 ts=69660e65 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==: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=RNRoJpfvdE2T6TG_4XMA:9 a=1OuFwYUASf3TG4hYMiVC:22 a=sptkURWiP4Gy88Gu7hUp:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTEzMDA3OCBTYWx0ZWRfXxp/pfzuZGcrn mDdAHNU/1HoQ4SvbIp5zytgTJa33WdHLacpAKfirDnhQ7mj/0+a/auhC8teLUvQKIFy1dvwfjIN /tNd3967yaqaItqu5pYr20a+tbzlDqpzVFUDCe+enjobvm/d+eutJHE1hXI6+RzOY2HRxoL3S+y +ww+NGctoTqViOT1YJ0o8wmNFoBTnYFeOj6iEND/9y9ypE4G3g9CFy83opouGjZazAq/eGCuqnq m63wfqn9firiKRWacNepsEIwTmCuygOB9bLX+Bf23gM4GB78LlVZvbMg2CYaYiORgTQbZqHzi9t WHB0Yfjt5Cl0PPdOsUK6uLXf4r2o7Fx1kqlRgo51FrAXTruqzJ+Tm+0Et2/nb8TM8p14IC0nkW1 RL3V0rAuXeytaM933zfRrUexNpozKZzy2dIMRikv+eXBsQNUzMCgAMm8JJ6+odt6mWuYfTIebCY FUHt7f2AHKwJpgoNRVA== 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-13_01,2026-01-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 suspectscore=0 spamscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601130078 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