From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 34EA8380FF5 for ; Mon, 13 Jul 2026 06:33:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783924435; cv=none; b=CmiYSWTGbcHKpo9KoG4GfnIpm23Ugk8C43h3ZlwzQkutFooE+ahRGRZ3wquLu6zluVp9ZpYaTb0KqN9iBtxvrqrOPRbWeqgzl4J0zEOJkdx74KGKlzlz+IK1vIedHocZBpURpuDeoMwVf2aWr9RWf7gYm+MSWUYE3ug2rW+q0oo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783924435; c=relaxed/simple; bh=27EaIAhqGp+mquHVB6kjkp0Z2doJh2GJOYZQSDehpyg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HtLYrFrM+7EaVW42PWk2MDGswU6yzgcNuPTbtVel7jcCtnQPSlAHfIVi0aib2F+llMgHj8O5kuGs2jG8dnWXb7nmtum+r1rnNy9uMj1uPQkJI70ju8zMARrey5dDk0gUb6AhCIKFSV1J3Yz8dbMjLz+L6AORMz9sDEXmjSc5wwI= 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=TtMHN7Lk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=F3wEtf33; arc=none smtp.client-ip=205.220.168.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="TtMHN7Lk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="F3wEtf33" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66D6NnQx469617 for ; Mon, 13 Jul 2026 06:33:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qprFpyjG0X97ZmZqIX1N021KXVlLLLyX73couEvv2lg=; b=TtMHN7LkPIKiJb1W T8Or4o+d02tJskQ+r7Gtnzgr7+v89b67hR/V8P1KOS8LN5cDrvhhhzDeGsafzE9e HoUGUR6X+scfM0Y+7La72sZDRjTB0PVzXyLSCWG+l0Ze9/PZHqzyoaBqsU6HXVfJ h100H1FEQ08F091PF8XlCP1E7p0SjW7r8qAFVCmB/JHdXpnKYhxTmxVSLDLiaK3V HW9UApulTmxDu/JFn5Zv5ZP2oht6CB/Cb6EOJnK/kLqvw5u2Zx8kZT19PXfS1UOH cFxevUeVakDEHu3O+tiLgZVfAie19CkqW45sN1EqSdrUbZgZC0vpxDG7NnzgikYB sV0vgQ== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fbf484kpb-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 13 Jul 2026 06:33:52 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-c894391f000so1507072a12.1 for ; Sun, 12 Jul 2026 23:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783924370; x=1784529170; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qprFpyjG0X97ZmZqIX1N021KXVlLLLyX73couEvv2lg=; b=F3wEtf33LVJ3+qYup22bAv5ee0E2InRQ+3VCHQwxaKWFxnTmyINd3H/1JTd8lCeMAi k0mRGXZf8IrzbTxi44YKuFuNfj7MPuTKOcNtS9cRXTErT2XT+2xWTU/8cJQFM3dZ/Kh3 8K3LyWo2iX0vTpIZg2MjtIcBz1NSXKwZKerK3PQ0sIy34zW43vmUZ9bidqcSRKoLsDEC csSa53LJHLGHOiaVdvTXcDGJs4hR5K4MkhUXtVke8UFauvWeSrt8PltOUFOCtMEB4TCr BL4ImCM649NwSK4lmsZaRL+a0ONApUqiwAYAk4CcTngHBD4LfpSfC4ikU1lND5lbMj41 9JBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783924370; x=1784529170; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qprFpyjG0X97ZmZqIX1N021KXVlLLLyX73couEvv2lg=; b=PjTo+glfKXbIUR6HATzcTqT9CcspMxTp3lQ2U6RuRzkdlX3UnV2feI0RhDbmfPbZmK lhM5HE2xwYidfJoiKB1IlCq8If27woLIPB99DCcciKuxolo3Oqi53DvKBqMK5fRaD+Ko pRebuSgHjfJc1m561aFQhX54DC63t5vMCNzpF4LjslwEKa1gEWPdesW/Sj8y5zj9ae3I 7LAVdo71/zHQjgWrmbQ+engq6o9PK3wUIWYy4uD2zKcnvgvF8SDMUn8R2t7KPFvRT27g P4BBoZaLOLchA97ySba1AAvB6iITAcF0Y+BSy+ECwBd+stwquMaarijbcN0EIMyGZbAU wQQQ== X-Forwarded-Encrypted: i=1; AHgh+Rotlnthgww8Z9RPtshL7p3sbaZNnktZ08jueT223d+VFKHe1FTAjY054xJ0mGSMFTNaoE6iey5wVMZRjoE=@vger.kernel.org X-Gm-Message-State: AOJu0YxoqeSMKPTVAr+ajf0BAEJcVWPxCVbh4HthGPSB/kloO9VPCslf m5nLSSJcOuGfMfAnEJ+Oesw0uA/EJgT0h1PjYPTdqIKeSgbSOHGFCNJtv+8A/vXcxZQVa6M/cQ5 9qn3JmGIXlfaMgwQJleLjCisl7eYeLeSPoWKX9iaG6fjlourueDDya1z2tRgfmigGdzQ= X-Gm-Gg: AfdE7cm/Gm91mqaxQ8Y25zcgeOwORb756beIFCGfj+qpvcOTeJukr6cBbIcFkLoOUwz T5qbaULkioMt4dybH9jPBJLnt9o6xYasZWfbj+m1cUtouyj4uD6BuDMQmRrZEZj/IZrQFUlMlwn jlZDJJgySAfwNE4hQujLXui5RDgJaxzAaNmiVssVF+15UfkE5BE6t5eCJn7u0SCPOD4PThpVwXT +9i+IfiqaO7gjgSmzBng7knNQeuK7jfVnvDGb+YCwjLddvIogkHI15ML7djjGnEV4PuGKjeBJtI 0h1FvCr7G2tzAwkApshX5fuPUbhQqxbZbNLdbFHfvIDXzOcb97j/FwNNxXEhUyj/4xXl8xQiLl5 3E2b6o+FZAdzTwlUWcW442nyNSVMIETOErEdwnRcxaJ7GnGiiXunsqIdWCoGfleGZo/RUnZuVse 3FDLrx3OeWjBLw8C9rOIdIBFHxy6n0bGd1XuQJJ1AA X-Received: by 2002:a05:6a21:50b:b0:3c0:9c1b:d0b7 with SMTP id adf61e73a8af0-3c110a1213fmr8922202637.66.1783924370401; Sun, 12 Jul 2026 23:32:50 -0700 (PDT) X-Received: by 2002:a05:6a21:50b:b0:3c0:9c1b:d0b7 with SMTP id adf61e73a8af0-3c110a1213fmr8922173637.66.1783924370005; Sun, 12 Jul 2026 23:32:50 -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 a92af1059eb24-13b87b92b27sm25435361c88.6.2026.07.12.23.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2026 23:32:49 -0700 (PDT) From: Varadarajan Narayanan Date: Mon, 13 Jul 2026 12:02:18 +0530 Subject: [PATCH v13 2/6] 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: 7bit Message-Id: <20260713-rproc-v13-2-41011cbcda3e@oss.qualcomm.com> References: <20260713-rproc-v13-0-41011cbcda3e@oss.qualcomm.com> In-Reply-To: <20260713-rproc-v13-0-41011cbcda3e@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manikanta Mylavarapu Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, Gokul Sriram Palanisamy , George Moussalem , Krzysztof Kozlowski , Vignesh Viswanathan , Varadarajan Narayanan X-Mailer: b4 0.14.3 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzEzMDA2NiBTYWx0ZWRfX01amVMBT9I9p H0oeA0bE5s+X8G126ClwYsVn+GQzmJ4dXcWgETk44JOHoqlHI0V1nNBdiLguDUNfvjJ0BSq1d/4 SJaftcBq0WWa7fiEXEXnTX8eujyHA1s= X-Authority-Analysis: v=2.4 cv=OsJ/DS/t c=1 sm=1 tr=0 ts=6a5486d0 cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=UqCG9HQmAAAA:8 a=fvnyRN_YwKOm8-nVNuIA:9 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzEzMDA2NiBTYWx0ZWRfX2/3L0o5XSB45 np8Tp9CBNOZSQhoGWO6ccdbxuOQjH4tX4umbnc41wVuaQmE2BSgtdG5eThUASu401YahUrL2ZwF XovSbatCl87bhdiG9/i1DoIhH3I9qbLaiYMscnS6rll1dJjDbqIw/nqrvTnfblGqLLGCKsoEqUm 4SALu58JXGQlQN5qiF7ElvTx3xmQDMVAhqsFWXSc3fCNxd+ssSW+SybKG/nO/0jG4OQSPZbq09a 5MFU8oY36RR5cZpJ4EE6tYvhNT35cxpC5YmlaE9dVlBgK5kvSHlTKK7o7vswc6IvWs7SS9ZWWp8 LzJ6YAxxcD78xv1WmVrRitsSzU6EllTqt45RxwFR+XxHBwGh4em0m0djUM107pob8KXWCAPj6hw pQKa8rPHrE3if2yZMVYOEBrDHl6I5wdr8zEo8CQh5xt16w5ua9mnHh31pxfPsu33p8AHPtOxOA5 CoIOwhO495xvMUQyrIg== X-Proofpoint-GUID: nyuwvBZiYJPIDz8_jrbReRkg4llBbcQA X-Proofpoint-ORIG-GUID: nyuwvBZiYJPIDz8_jrbReRkg4llBbcQA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-13_02,2026-07-10_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607130066 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 Tested-by: Vignesh Viswanathan Signed-off-by: Varadarajan Narayanan --- .../remoteproc/qcom,ipq5018-wcss-sec-pil.yaml | 178 +++++++++++++++++++++ 1 file changed, 178 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-wcss-sec-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-wcss-sec-pil.yaml new file mode 100644 index 000000000000..a6fc3a9db621 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,ipq5018-wcss-sec-pil.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.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 loads + 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 = "qcom,ipq9574-wcss-sec-pil"; + reg = <0x0cd00000 0x10000>; + firmware-name = "ath11k/IPQ9574/hw1.0/q6_fw.mbn"; + interrupts-extended = <&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 = "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + qcom,smem-states = <&smp2p_wcss_out 1>, + <&smp2p_wcss_out 0>; + qcom,smem-state-names = "stop", + "shutdown"; + memory-region = <&q6_region>; + + glink-edge { + interrupts = ; + label = "rtr"; + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 8>; + }; + }; -- 2.34.1