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 ED3F5384CE8 for ; Mon, 3 Aug 2026 10:46:36 +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=1785753998; cv=none; b=jC99lZ9IDIqg8nC9lYYG9EN8lAq3XvPNN71wSlbKY3sp10JvuPQEp532LyMOs7InYLoM0JQgKIJVKHW7dKIJmDWc6OQuf0gbwr4zgGOtPJJoibgIcscCg6CKvspyaotLTcL7ZwgBcwl0ZZUI2GYA0hB5bzY2uW+15bo6lww+e/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785753998; c=relaxed/simple; bh=J5kLzpcGAggDIeQW+fQPYzewYd1o/kWfbMTjKjCVFA4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K7RlwC6zCvOp40rZMOn7CC6u4K9mYsxvsatREDLFGd2gur1usNi1nkg3IFAAZteMM11++hmXyblBkYa5Cj3aFNwUEdevs6TGGanbY70TJBVXBWGcA2KsEO0X5hhb23luFMqQ5kkyRN6HmSQOH+ygew9Lpg5zDEoxSN5mRWBUvs0= 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=JQZGuJAM; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=JyvypykZ; 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="JQZGuJAM"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="JyvypykZ" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6737b6T12211125 for ; Mon, 3 Aug 2026 10:46:36 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= AKU/jH/o9BLwulyA0T+6aROAyUKGXiL1SkjBLw77A4w=; b=JQZGuJAMbe/K89YE KLeUfdRHfqKqY8FzkGhX+0Mc7UgpkRbdFUWPuKsGhLFa7A/wPj032Me+Ibh1pvID O/PY3pbyZD0FY21o+KhSzccz7wimxlDeON3PNo9jTm8hV1B1/OcEtCMGGsdRc3i/ L4+s7oBdwfPHwB+4IwHk7ue8+LSfv2W6WsTtHpruSXIDxiCM81LkQwDb7MKvJMe1 nCcIPCz/a2uKx9A2jq5D7xKLjjuB4CxNx9d18FGc2AAPxE0fbLgFlXWsp52ygGXg 2uk4wkvuytHOGpkwsVmwF+5owAKHhynuv971EQiQOtfaPwAm4sogBrwhyLRlqPCM XMepWw== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftdmxaaa4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 10:46:36 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cfbf3e4a63so95300445ad.0 for ; Mon, 03 Aug 2026 03:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785753995; x=1786358795; 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=AKU/jH/o9BLwulyA0T+6aROAyUKGXiL1SkjBLw77A4w=; b=JyvypykZ80o5OftCJGRo7BRx8auDjslo06leLEE2MLc/c9bBRU3uDqxvu0juvkfaFl +IJwzmG+3hwkrI8rO+vbiMxvfas3+FDZhbYMzGaQHeXBRMR1YjMVoduH6l9OY9SxAEv8 LACkBNBHld+aDL8F6OmpJebAo5MgILM24C/445DWIJktFsRkIsmLPAvMKNoTpwJbntU0 j6dFutcXMRP+LmJcv005QlaamtdpVyMJPjXA3BhhHEQDQ0qIMuEnxAMGMBPk0MhmESrj tji4XIE8oa0r/F8tzMDHAy1lP9x8Fol1sHyifpHctSL8el8O1idXQrE8BNdBSWALCwFZ p9hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785753995; x=1786358795; 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=AKU/jH/o9BLwulyA0T+6aROAyUKGXiL1SkjBLw77A4w=; b=YVozR0Ypt8dq/GzU13r3rhm4+BTg0PFY/1CfGaplA/XFzVCbd7kliYIRzVNjyaQ201 kDodzqwlgH9ZEdXWJ/j0KbhgctJKmYmIHTXBBNX4T4diu2w+NqrIqhh2EcJsQQ51Ng7z Ca88ZkoRiqLdfQKlyJhQ0CckdvWt9pSoCVp6963XbJVjwEosckNWXi4fNDEPOE783aoj B4YY4S3Byn+yQfsYMPMF8ei0P6DCsPoPlWPlPdgu1BYs73/Vz+41DLQCCz3e/s+BjWmf R6Aws5/EMIopxZzgXKWDNlLPld1UuvzI3r69/BoqfSMO0j1MxlZDY+DYdZ6syk9oNIRG NAmg== X-Forwarded-Encrypted: i=1; AHgh+Rqy7CKSvh6K4ArVj9hcRIOf+ryloKC3+vvRWM1IJo5BN/o5taKNfQdb/8CcmuvzVb2RMxMk3pw2k+uPzwY=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5VZ5TOvnwYhQBjy1LlrsngF3cDW3HkSrBjv5P+mOiAWrFFza+ gO9AlUMvAMd2Wtyt2lvxdUFHFlViPYPCN2c/Z7fU3HXJevT+hc5gAId6bRMW2cWztBGtkLQysVb cQSG7csu3OCTnU3CXw/kw8mrApypxy9d5I143ZzYpOJaO0zeqRVhyouXykK9c+efDUMc= X-Gm-Gg: AR+sD10wkF29jrfgZFkvoDxTRaupW4peIskDhCyKfjOxJgQU+8RdZB6a0x2VLAvun8E xCMDLnurVXcwi/SVAsQNjrGOpAf3ZuL8Lxy2NH1rAaciOpzhYZInx1L/vbFMkw300LcgCspDX6T ThU8fmBPQA8bnwlYOc4AQaUvF6XV63u4M3MhYGKPj9z6pUu+cxLE48lHCrisFotIaFUJMTZn9nc tMqZXrSpwKqa1MRvjodPuam2Fg5eVpN8dPH8DlSGvmnFSz2JU4i9SeFX+ExH/cUERR4llg4Ts8n fXQ5yEiNE/Q+mmvhPwZbRzbaxS+R2g1LTZ/nVXp5A9kg1gmD2+gllzEMvNYp9IeXLtfCwh8NJAE W75CUl9OKeIqHxXQ2TSKjaOixyaPecusIUL2caymha8sdBDtYN5/uJqS5vYZ7LeOw34zpV0uG6+ 44DpHOq7LGMMNgeDVWkTmKURD/0WO8TQ== X-Received: by 2002:a05:6a21:3a44:b0:3bf:6c08:2843 with SMTP id adf61e73a8af0-3c92a89c7a3mr9455797637.50.1785753995528; Mon, 03 Aug 2026 03:46:35 -0700 (PDT) X-Received: by 2002:a05:6a21:3a44:b0:3bf:6c08:2843 with SMTP id adf61e73a8af0-3c92a89c7a3mr9455770637.50.1785753995146; Mon, 03 Aug 2026 03:46:35 -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-13fab4e506csm29993730c88.13.2026.08.03.03.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 03:46:34 -0700 (PDT) From: Varadarajan Narayanan Date: Mon, 03 Aug 2026 16:16:08 +0530 Subject: [PATCH v14 2/9] 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: <20260803-rproc-v14-2-a1f87b0b0ad2@oss.qualcomm.com> References: <20260803-rproc-v14-0-a1f87b0b0ad2@oss.qualcomm.com> In-Reply-To: <20260803-rproc-v14-0-a1f87b0b0ad2@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 , Varadarajan Narayanan X-Mailer: b4 0.14.3 X-Proofpoint-GUID: f3BGwooqiHvunXWrZwLWgwZg2AeEJBYq X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDA5NiBTYWx0ZWRfX7VXomkLTxDN+ BOtZPUIOBxmshG1V5DgByHnQwsmrVbiPXVUdwxb+sF+sWznpAPbJ2tbupjCedQ+Vd6PQ8Jk1ewy 9YRewYrlz3EC3+E1LJfNswUrAhgxPp1sMgr25FuXKAj2uGclJe/B8mZP2NOf7x5wHKYL48JVn75 JDE75HPjPi5ZyyHQ7/oH5OSvYKwsXXo7es1r4V+AjNFrGx0xwQRXzF5jYl9dQbqIFTebXMkwHBR X0bvS2FLR/PII4+E9Ao1M5ucTgICaZGgXQ2hmRrkt4kGp08uq1hW651HHcuiPEi8yOi4f+MieDy kArPwejUZ6pTMKrJtgXwVd3CIi9Rxfoh5N4fQa1ITy1FoyQc4ZDeEhriRuCxX6OKQL5fvj//wWp MFIq3jYoP8u7fADNHA0wQXjhu4M3PxcdZJonEozey09TdZjt2yrE0VfqOJNlKtvYRuNzPhEzh+S 9yeM0J/rH/FKyjUZhng== X-Proofpoint-ORIG-GUID: f3BGwooqiHvunXWrZwLWgwZg2AeEJBYq X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDA5NiBTYWx0ZWRfX4BdGr2PYxsVO Sg3MEjOdkqyZwg59/vgyfKOy/obihLVx0HjgrYsZosq2H2g5fNHTZ0LhP1char8G+4wg1pNCkhD OEqRtnhaqUGSENR7hE+hJjhAKmgL7IM= X-Authority-Analysis: v=2.4 cv=L7MtheT8 c=1 sm=1 tr=0 ts=6a70718c cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=UqCG9HQmAAAA:8 a=fvnyRN_YwKOm8-nVNuIA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 a=sptkURWiP4Gy88Gu7hUp:22 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-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 malwarescore=0 bulkscore=0 phishscore=0 priorityscore=1501 adultscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030096 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 --- .../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..1ec8df60d963 --- /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 + + qcom,smem-states: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: States used by the AP to signal the remote processor + items: + - minItems: 2 + - maxItems: 2 + + 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