From nobody Mon May 25 03:55:48 2026 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 050A23CFF66 for ; Tue, 19 May 2026 07:24:28 +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=1779175470; cv=none; b=SwUB1lhngAja4CYdee2VuE6dRE5rY/ePu2/f9KcNWsVDtjnsWr4+tIM7Igk+IOyvEI46k6A1X7x8N9UNbiCWpEzdcavCfSDJhuTEoVRbT1Tjmd/M1mosp7nFUnznC1Kc6JHAsNcsbURHtotD+I6m0Tr/Z8YUtMfuxClxBqtEOIM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175470; c=relaxed/simple; bh=/AyXfvDgL6xS/1UvCVX17NbhNe6WnF28CEFcPHn4+7w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Mj5vKlAc36SekyjmYOWfYXgsnBHYMbNZxKdZn//bQGRJgYLHLGu8G0mAEV2AZeFczE0VI139FHVIhc70u9b/YE75VgLVNaoVRUgwgSHFPrAdk8TF15Sz9gKNS+TRDo+Q/OeIpD0Tbtk0yx8hFzqBV4nLBcdI/RZdyCLMUPhQ/VU= 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=Yu2CxyIN; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jiTIckeD; 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="Yu2CxyIN"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jiTIckeD" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64J5xFth2438199 for ; Tue, 19 May 2026 07:24:28 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= 7T5qiIsx+2dwMKk5877pZ1wxVPnaaufjkpooV0Vvk8M=; b=Yu2CxyINOvd9/idW trRWA5KyG8ECQ6dTFE23pRUbMdarVfLc00ephTJ/49Li+WE78uBWw9o+Zik0OLNq ljrhbCUHJKc/rXJNlhkwfi4Lk7MjqSmgaJkquD89vCcjf5HhG1ifVvUrLagMrrLd fgHSaP4PHJ4oV9jLH/59u4qdt2Zv2/ZSx2rjMZpKhnOv0JHpo40GjtZCNd4nLD8a 8E2PiozikittSlcf0NQ552wYlwYTR6gGxn6qvbVtd2PgcwLyIkG1zVozlH8WQVIw SFKauN88fusikZo69zR4uAhT3Txwv0ysDxg3vu2wCR01Sxo7LjdSdFXmWt4tXqmb 37Qv5w== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e834v3qej-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:28 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-2c16233ee11so4405193eec.1 for ; Tue, 19 May 2026 00:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175468; x=1779780268; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7T5qiIsx+2dwMKk5877pZ1wxVPnaaufjkpooV0Vvk8M=; b=jiTIckeDEfQiQotFJi36U7Yd0B9dW2vqxZ3MVvVH1wRKjypo/EFsacZtGdViAnfBk1 K9Es8TYO0maCq+fLfTt9VRr5vUKk1zh+n6w4nS1hHULczMttTNSnI86Ot2HND1PdsXaf rKh99V/6s0wNBqRtq3kJ5qVhvDsN265amQzpj0ghnn7UW4gHPG1gfjH0fdpVMJ+4ux31 34a+YoKFyyKssEmj/CxGuF6gdmmeie3HVWoZ72dGCxmiYjkK50UvOn/THyI5RfPDzGpP tnioFuJ5SlY+W9B3THG5RotEhSqFvF5kRmQSoEh9ZUrXbk0OC1Jxttejf797FFncIRIF vX+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175468; x=1779780268; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=7T5qiIsx+2dwMKk5877pZ1wxVPnaaufjkpooV0Vvk8M=; b=ZFDUbUsiFXNuyAO0dDpsp1pDGqhSdBxMZ/jY1EqdaYRKsw2m9nMbMQ00b5mN0n07bG vltL2OlPtmrcsrAxzeX+YiU86UkSoMUtINf0R1z+P/8h+l6wqAjsirZn+aoNXCFiGGLW b7rx6lYbn8i23C1UfYIiF/i9Jxra3llDgsvknbriax/ITcQNop+ucSJ1J8M9uiH2RwQy FJ0gWgGwIytZhJ4zqrfSwXVWbB7TZ4oANI9jxcjYDh6vfmgMh3gyJgQiHkCS6FpGzkwr nu7hfVrSkUEIN0nKgro63X9OVjBssNui5PUQAxIn9+ovC+iakglH6G168c+5MiKh6+XH LX5w== X-Forwarded-Encrypted: i=1; AFNElJ8siDUOhWA5SS1Z64aFnaUxUCO+BJau6qTCCIdI5MOl4ddVYfXxQFzwz8PhMvuJ9rzJp3tW82/IcguJMLo=@vger.kernel.org X-Gm-Message-State: AOJu0YwUm/yMBpSJtXGHT9JdyVaeCn480gVCQdNu7/8R2SFefjlsSwUh k0JPQBPylWHB+kiDNimK/m7EWeX5+7jBdsYZnbPh7e+hQHJ8ZHo7wN5jv/6QHroorqpmhNialMs 42xg1ymoodNuXjVptS7/JdhtXAerDmkWi1y/kN/xtCMtjKfTEMuKm2lP2qSPI6DeKaX8= X-Gm-Gg: Acq92OEdVP76HN1qyHwU7mS4TSKsn7aGtTIIJsnSwYEt9Jmq2sIxDR1Hez7pKE4JvSF tO7wqO9As+/9RTq5TYhypIGtWhvS5pdl2aCYjynQXAuLRiGLUFcbOaKhsvTXdtlFb3OHxvyxZOT iCGm1W7ziulCbex1LDNBXs8YOZnxpTkQcDUe9XhXImwf0fOGjB9IuTer1xDNbgdFjPJInjD5FsM JLkYK59WFtZ8xTmTQXSigz6QpE54E7YBh5YeJD0qCP7G2+tU0puKOkPuGvJhQwTW68IUqkAcBfD 8SxR7ZhWY2YHW/A4vJyWrWTFLj+OJwoeFpmo9t/JBjEZBzN9viejvhCZJdOhhxarFPEX263RdDv WuLi2T5/v9oUtB93FmuQ8dOt0fbeSFVves0Z+epajwR5SblFiRYpLIWGcGlKsls56bLkVsyLb X-Received: by 2002:a05:7022:69a9:b0:12d:de3e:86b9 with SMTP id a92af1059eb24-1350592f049mr8723115c88.41.1779175467606; Tue, 19 May 2026 00:24:27 -0700 (PDT) X-Received: by 2002:a05:7022:69a9:b0:12d:de3e:86b9 with SMTP id a92af1059eb24-1350592f049mr8723090c88.41.1779175467042; Tue, 19 May 2026 00:24:27 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:26 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:19 -0700 Subject: [PATCH v6 1/6] dt-bindings: remoteproc: qcom: cleanup qcom,adsp.yaml 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-1-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Krzysztof Kozlowski X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=2807; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=/AyXfvDgL6xS/1UvCVX17NbhNe6WnF28CEFcPHn4+7w=; b=cuOgpRJtHlfYWJtGFnd5LiDPUuT4WcCd02AaKUlrprpWmRqGjO1IlgGFHoi7ZwC5+oQbVZhf+ zJzEKHN/EvzCMOzwLG+QsVt4VC3jQyuGw7Ur5nBG1fc+9wZlKiWDGda X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=F9ZnsKhN c=1 sm=1 tr=0 ts=6a0c102c cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=VspIq9AKIDY_7iLw7w4A:9 a=QEXdDO2ut3YA:10 a=PxkB5W3o20Ba91AHUih5:22 X-Proofpoint-ORIG-GUID: UXSbGnioOk0q_xBBXVKX6_F3E98PR_e8 X-Proofpoint-GUID: UXSbGnioOk0q_xBBXVKX6_F3E98PR_e8 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfX/DgYcxg/DOZr n5DLwB/pwuEngmux2E9iMR3ZLSojK1vJhYiraD4k8xwSQ6L1YNwHmK+9NSRgMYWtTCv5YZFhyeV g+GspXQxrzZ53dWH1yf7LVvsNjRXEOdOiFR8pjzZynbwWQ2T3JdTpQ0ARy+wuWC7pT4XWEGGQHE QVbAEUFXqu+4urt7RaHyfHa9qlc+0VdRTMKzpGW/tUBPwSGMGV+3BNV7mafPxfcbyUTZzvlFSZM dIS/cJTRyrUFq2xR+fbiLUxOMC3JShnNKU6JcjdTGLo1zrLekc8b35SnhZlRgG4uXkJUwkUhnii cSkxIh+Xa/8GRCpjjimriHjiSCj+jNnB71050jxRsf5iIv06W85wk5WpR1w3V76mxyJp/4ZTRSn C8M/3s7sivC0mw2G6tt7BAd4n5RIpJfCY2vkLqudphXgCZQJ2fOqw3KFLp7IhkL10qD+QSrP3Xd A3V3WkFy/hAv3EqY1jg== 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 suspectscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 Items in qcom,adsp.yaml has common clock and interrupt properties, move these out of the allOf section to avoid list the compatible repeatly. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jingyi Wang --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 64 +++++-------------= ---- 1 file changed, 14 insertions(+), 50 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/= Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 16a245fe2738..a270834605da 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -32,6 +32,14 @@ properties: reg: maxItems: 1 =20 + clocks: + items: + - description: XO clock + + clock-names: + items: + - const: xo + cx-supply: true =20 px-supply: @@ -49,6 +57,12 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + maxItems: 5 + + interrupt-names: + maxItems: 5 + required: - compatible - memory-region @@ -57,56 +71,6 @@ unevaluatedProperties: false =20 allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# - - if: - properties: - compatible: - contains: - enum: - - qcom,msm8226-adsp-pil - - qcom,msm8953-adsp-pil - - qcom,msm8974-adsp-pil - - qcom,msm8996-adsp-pil - - qcom,msm8996-slpi-pil - - qcom,msm8998-adsp-pas - - qcom,msm8998-slpi-pas - - qcom,sdm660-adsp-pas - - qcom,sdm660-cdsp-pas - - qcom,sdm845-adsp-pas - - qcom,sdm845-cdsp-pas - - qcom,sdm845-slpi-pas - then: - properties: - clocks: - items: - - description: XO clock - clock-names: - items: - - const: xo - - - if: - properties: - compatible: - contains: - enum: - - qcom,msm8226-adsp-pil - - qcom,msm8953-adsp-pil - - qcom,msm8974-adsp-pil - - qcom,msm8996-adsp-pil - - qcom,msm8996-slpi-pil - - qcom,msm8998-adsp-pas - - qcom,msm8998-slpi-pas - - qcom,sdm660-adsp-pas - - qcom,sdm660-cdsp-pas - - qcom,sdm845-adsp-pas - - qcom,sdm845-cdsp-pas - - qcom,sdm845-slpi-pas - then: - properties: - interrupts: - maxItems: 5 - interrupt-names: - maxItems: 5 - - if: properties: compatible: --=20 2.34.1 From nobody Mon May 25 03:55:48 2026 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 624273D3482 for ; Tue, 19 May 2026 07:24:30 +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=1779175472; cv=none; b=YGqLJrh/fGACMMcwmZ3yFRZjij5WC1k5O7SlitkDe2Rf9Yu0wPeMW0F6lYzMKY1zPs8VtJIO1dECWyvNiARNEI9xy3n8H5V56vIp8jgIpNKzCRAbpvfRESqADXpmxxbfRJyjVTqfZtSN+o8mm5+bzSvXWIWz+4Gbt5zx4KGuptM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175472; c=relaxed/simple; bh=3Ji3C8JJe4/d8U4AgLvbrOfT8BUcflDhcma8crXqLPc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TfM89pr+OOlAbBkwRqtKUrqmN3eeZyuGbdcAIWIzxBZBS3JRQDx2/n6YuI6Mvlw88j5O1Mu/yhpXheBu+98SIfb1989YzG3qDK+kBiX82SNHssKiq17TO/QWU10jaoqg6Zm5vC128O2j2LE1uaWqUCPU39ROa9xrgtp+yeXuVHY= 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=U9ujTDoF; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HqAOiX8K; 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="U9ujTDoF"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HqAOiX8K" 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 64J4puK91250844 for ; Tue, 19 May 2026 07:24:30 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= 4MBaZPmaMZaO9OsWhxCQha58YBZu16ccbeCjjhHuqYg=; b=U9ujTDoFBSVZb9M6 rqAxDzANMN4Jgw4EWA6j2WGvqRSnpKdjnlKrkb6XRyWMBoucV1x3IhKrXOt25lOI SCVMpSNiqyJCjUqw966VisMpEuM7xg7hj9XgfxnX8MnWbfnWQ5ihKhADdw9GaKvs XVY+ybNhv4GWAeAdIz5UlHCPays5cNhL46/TBh1VtrtN9kPBldk9my3guAn75PgH 65rJVv/Xyla07TuIrPWuffm97fxEzAWFWhbUJdZaXRJgiPeCZQs0s7g8pkgcWrae FBTQ6ugxW3QpSgNYiGrXE0WvmipPHZ7IWvIIrpfSSL5WXD43hpw6R4oXKwvysRPe twuzlQ== Received: from mail-dl1-f70.google.com (mail-dl1-f70.google.com [74.125.82.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e82c0kybg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:29 +0000 (GMT) Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-134cf343c58so6323022c88.1 for ; Tue, 19 May 2026 00:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175469; x=1779780269; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4MBaZPmaMZaO9OsWhxCQha58YBZu16ccbeCjjhHuqYg=; b=HqAOiX8K1yeZMMlMDj/sElOe1pOX0RZj0TH17SYYPQKGQqVjax0PdsdOokJiA0NFqb 5lOBZIaJBQsZh0BDKHefd0+NVZaVyMApOFgC9O7N1KWaWDfmlOjPNteEKmTAn5AmT5Ra RZNGsTUhGzv1Ko8wXcdo6uUXseKp0dy02tIVve128py5A4G6kIZFAJN6UpO67Zkr/Z3x 3scZlrRbp5uBEVAYUx1a0S8ogtjRr/xOJlXP77RM00DxAhHjaUqSGmWaz1j426ez3KOS X3RzUgfhQEmsJjNWvY8off+FqnG1EFu9fjOf+b6iucgC9Nk9HKIbjIrcDbtFydlWtFoV Jiuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175469; x=1779780269; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=4MBaZPmaMZaO9OsWhxCQha58YBZu16ccbeCjjhHuqYg=; b=RGnRHBuBx38WpJgTNbQXxK3gwmAy8H+yZKxjomv3UmNCQcJMH+XSslExxP/kVjF9+X ftKCNgCSJ4Bwae0QINXOScY9cxT4BtpzaZW7NGILVOAlYnnsrq+GJKP+PUMp76sIK5+e xEhXRGygVNUUOqP8bkLcADXRJeEBKFlxl4tzzxV8cKjz+6J3pIQwYIeUzihwYNW1DlHx cfLkkVsX3GCVrecrOjNFOu43oomw2FPDCKczvAC850PWi63ObQezzMy74rNe5Zkfkv5U x0QNqDyXVSXS9Llib7nTpYVd5OQNTkVb2yXHL1hlF6ZxpCS70yH8Z/yKtLcabru5v7pt mkQQ== X-Forwarded-Encrypted: i=1; AFNElJ9EpiMXwxTTv/Gznc0DLE9WUenVYQTZOe1ntlLdpi3m86imMKg6WPqE+f3GzZJXl1KILHYenugSXt0bTPk=@vger.kernel.org X-Gm-Message-State: AOJu0YxIGVb9CyqGuchmE/WlzpQVfZ6daTtZVaFsZlHNz86A/JXtVtrj pOka3XGK4/siQFmQADqtPz2a/A4oONDWL7EZgmF0TNXH84pollK4ONrntVJQLGOLonYTeBex11Z 5xaPbmqiX7cnPL6bNgFGGha2BF5p2HRRTW0KX2Nry1r9LAVN6jC4kIeI+zHxPR5u86Dg= X-Gm-Gg: Acq92OGgw1GOhzMvm0KmBt3TdFmbCia3m0QckiBO71xlOFSGdMFPy+c/j/ibzrivXsn vNDfRR1IAATL7gQkQ1Ndr5ogtJLTI2zUExUYRL28+M7o0SULuX2Gmmvd8khcng8UyCwXTT5NeL3 8L8DL9V7IqId4fxsnFbsbgAoBKVC6Z5rXySttlLCVatGEEl+OeyuwxplUQKgmQhd527Aj3nfr0v WdwQSSh0gsmc59mmqoAf1wUeh2+EFPUfk6eWmlYkab0n2qsfcbAiD+XkBOs56YNzdpBp4SxgFW8 oeCQjRE/4XpJjXKaMTj4Osa8pKkurWRuPDrgFPdqNuD6uIoKxcGtSOrRMNDL29a0jCknugE/G0e N4CJENsogQUrp/8RmW9jhrr7+BKaz/TUm34/croNgfwsix2tyn4an83czenRAPVtahY+tn1Ft X-Received: by 2002:a05:7022:258a:b0:135:d7ab:7ed3 with SMTP id a92af1059eb24-135d7ab8500mr506570c88.15.1779175468986; Tue, 19 May 2026 00:24:28 -0700 (PDT) X-Received: by 2002:a05:7022:258a:b0:135:d7ab:7ed3 with SMTP id a92af1059eb24-135d7ab8500mr506563c88.15.1779175468450; Tue, 19 May 2026 00:24:28 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:27 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:20 -0700 Subject: [PATCH v6 2/6] dt-bindings: remoteproc: qcom: move interrupts and interrupt-names list out of pas-common 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-2-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Krzysztof Kozlowski X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=15056; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=3Ji3C8JJe4/d8U4AgLvbrOfT8BUcflDhcma8crXqLPc=; b=xtY0kVoR0uuKipHJzZlC1uSf5QebZZn9sW89SThKDL4n6InoKg9YHzzx/knome+HL96hEyldn F4z/ezEQoj8AJDrovXs9Aj9T0NkL52xRfqkyTIhY/X5jVLvVcmnQ+WI X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfXzlBF4oKItIDr 1i7y5LGLKEQ6X6HPF2AfLCyVycJgjlRSCBhiXI2DpLOQbqktGy15uP4Yx0iOWxJ7Qfxba8kDE3O ROpl5Wc8lgvuVNVh0V+M80CYg51Zu3RU66TpmdvKfNzIMxon+v4tcc/BzkMkw+BnbQt+XM1k5tA gD4YE4H2gsgeihb4n1ktHDosoTx4TzRECfvsZP8UtqEgV5SMaH/XRVD/oSbvVyI0DHTrwH71lb3 944r+FSFC0qnejNsPoD9hVxnrq24h9+luozNUr5j+iF6H1kwLTK6AHp4RJrVWS6I7aHh+HMSwzT dsj+ZuAbXIuifbSWKnTkjxsosP+bvZ2tjz54KA5dqqX1wWJ3R7yhZIFlLJY4BySZY17QHVBSZpe 089UVgDtHJTBtyXG+brfQDCZ7tOZBihYQ6hWchroo4G47n43KrNo3a7YbWE6LVKCPN2i9vR2rJz iXjJ29VGjJRrsV9nezQ== X-Authority-Analysis: v=2.4 cv=A5Jc+aWG c=1 sm=1 tr=0 ts=6a0c102d cx=c_pps a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=4MiHK05HUdkkAtNoTgEA:9 a=QEXdDO2ut3YA:10 a=Kq8ClHjjuc5pcCNDwlU0:22 X-Proofpoint-GUID: LXv4o_XBK9kW-iDJ6u1a_Bac_kBvmxWn X-Proofpoint-ORIG-GUID: LXv4o_XBK9kW-iDJ6u1a_Bac_kBvmxWn 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 impostorscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 Move interrupts and interrupt-names list out of pas-common since they will be redefined differently for Kaanapali SoCCP. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jingyi Wang --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 14 ++++++++++++-- .../bindings/remoteproc/qcom,milos-pas.yaml | 18 ++++++++++++++--= -- .../bindings/remoteproc/qcom,pas-common.yaml | 16 ++-------------- .../bindings/remoteproc/qcom,qcs404-pas.yaml | 14 ++++++++++++-- .../bindings/remoteproc/qcom,sa8775p-pas.yaml | 14 ++++++++++++-- .../bindings/remoteproc/qcom,sc7180-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sc8280xp-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sdx55-pas.yaml | 16 ++++++++++++++-- .../bindings/remoteproc/qcom,sm6115-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sm6350-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sm6375-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sm8150-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sm8350-pas.yaml | 20 ++++++++++++++++= ++++ .../bindings/remoteproc/qcom,sm8550-pas.yaml | 20 ++++++++++++++++= ++++ 14 files changed, 226 insertions(+), 26 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/= Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index a270834605da..16c35e15ee1b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -58,10 +58,20 @@ properties: description: Firmware name for the Hexagon core =20 interrupts: - maxItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt =20 interrupt-names: - maxItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack =20 required: - compatible diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.ya= ml b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml index e5cce0d05fc6..d22d50c1e1ea 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml @@ -34,12 +34,22 @@ properties: - const: xo =20 interrupts: - minItems: 6 - maxItems: 6 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt =20 interrupt-names: - minItems: 6 - maxItems: 6 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack =20 qcom,qmp: $ref: /schemas/types.yaml#/definitions/phandle diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index 68c17bf18987..dc5a9981c12c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -26,23 +26,11 @@ properties: =20 interrupts: minItems: 5 - items: - - description: Watchdog interrupt - - description: Fatal interrupt - - description: Ready interrupt - - description: Handover interrupt - - description: Stop acknowledge interrupt - - description: Shutdown acknowledge interrupt + maxItems: 6 =20 interrupt-names: minItems: 5 - items: - - const: wdog - - const: fatal - - const: ready - - const: handover - - const: stop-ack - - const: shutdown-ack + maxItems: 6 =20 iommus: maxItems: 1 diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml index ad45fd00ae34..5854b3d2041d 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml @@ -32,10 +32,20 @@ properties: - const: xo =20 interrupts: - maxItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt =20 interrupt-names: - maxItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack =20 power-domains: false power-domain-names: false diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.= yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml index bcd2bcf96e24..7f287e55896e 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml @@ -59,10 +59,20 @@ properties: - description: Memory region for main Firmware authentication =20 interrupts: - maxItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt =20 interrupt-names: - maxItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack =20 required: - compatible diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml index 66b455d0a8e3..cb0a61fc301d 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml @@ -48,6 +48,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas= .yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml index 8227527c1d77..fef9d7c39f3c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml @@ -45,6 +45,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.ya= ml b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml index 8c4abde74915..2bbd427c6ea4 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml @@ -30,10 +30,22 @@ properties: - const: xo =20 interrupts: - minItems: 6 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt =20 interrupt-names: - minItems: 6 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack =20 power-domains: items: diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml index eeb6a8aafeb9..987fac433fae 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml @@ -51,6 +51,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml index c1a3cc308bdb..53ffb1ccd199 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml @@ -45,6 +45,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml index 7286b2baa19f..6823a2a8d74e 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml @@ -39,6 +39,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + smd-edge: false =20 required: diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml index a8cddf7e2fe1..8a1fae095a3b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml @@ -61,6 +61,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml index 6d09823153fc..4ea7518db537 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml @@ -55,6 +55,26 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 1e4db0c9fcf9..74df49b5fbe9 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -73,6 +73,26 @@ properties: - description: DSM Memory region 2 - description: Memory region for Qlink Logging =20 + interrupts: + minItems: 5 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt + + interrupt-names: + minItems: 5 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack + required: - compatible - reg --=20 2.34.1 From nobody Mon May 25 03:55:48 2026 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 B0A663D3480 for ; Tue, 19 May 2026 07:24:31 +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=1779175474; cv=none; b=KwQWXxyqq1AnHzO3V9+QFbeTJ5Audb3s63v5uy0qgGGH5pPwXRTCsCOGkHwCwMfnHummI5MxFmKWflLd3MSgnYNLEeS3pSy9QyblzbkN+5pg+qLx1XU0PfCUumXAz6j//h0s83l4pu8hDgBtBW05Ul+L8dhj1oH32LCa2fkrPMg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175474; c=relaxed/simple; bh=YuroHQl0RaEfqlcbPAw5LHxqeiE2B1J2dL3SPvMEUoA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EMjzJaYXXL644zQ42JXSuLxsIUkf+sBIANXIYY7eaWw7UHADx9N5f/Ms7I4Z9NBTXw/lCvfb8/DyzZ/zH3dODMgqzq2zQe0HhZDCMzijqjXy1y70dPk5LLwJBe0HoI1lPI03hdK99MPPz4Egl2NbIw7I/voH1F+wbux57K8oY8c= 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=dpMEkhGa; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=JsggWxvs; 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="dpMEkhGa"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="JsggWxvs" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64J6govI1737134 for ; Tue, 19 May 2026 07:24:31 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= +Yxppoecnv6lUMs3okuA/xmMwVErI7Rlp5d15Pjd5Sk=; b=dpMEkhGaJ1IkON05 3cZqx7LPTijdBc+riBzQJSPNstSu0UhziAJkOcyjBxk6rwnCbqxcW3H6HMbtrkeD LrXYa2aC+U6GwKL3fdJA6GS1soPOVPR8qj4zvSQKrLa+JImhLqNwyJmBSR/2YygZ Ij+tQ30jWJCUaA54QjgOoD1YM0btNhogyopxITZfkTyeCECzTRNJnRBqKSgjRcCA nNWp5IQQ8aSGEE0LNk0AZxXVaEgxjEOTNY442F/0Du4A5xl2ECT4dSPFncV+xNe6 hkf9ykNPqsN2MWkFtYY9KZWa5lpkgN5QIfsSEzhnaEda5ASmeB8i0vil5lKR5TqF FUobmQ== Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e8ju905q0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:30 +0000 (GMT) Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-1353bfdbf99so3566264c88.0 for ; Tue, 19 May 2026 00:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175470; x=1779780270; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+Yxppoecnv6lUMs3okuA/xmMwVErI7Rlp5d15Pjd5Sk=; b=JsggWxvs3/bdhN6NcQcjBcVENapOH64r58pEFaQd69FVsYYrSrSvVVF/C3hepMTCm3 U41rAMCBq0WmkgA9aTc7nti2FLXrXXhrUzBCB6cmDovrXSTuSg2pSKDwR1X9tOl1cXj1 QFoMbxy/SpMz64GyicQHgRruLteEmCV65Jpat54K2afpGOKxg29u+z4mAiV44QBN69DT ipOV/TGFML3Ncimp1ptlVkx8PNBEaRZJJ9DwnZf679Pra6GqLe/E9mxeTwhUOCa5uYRZ NXKVv3KZJQqIqJd7VawpAdjYFWOyEgooByFsLpq73iVSkSnJnWjKWd8wpn7bCVAiamJq i/Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175470; x=1779780270; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+Yxppoecnv6lUMs3okuA/xmMwVErI7Rlp5d15Pjd5Sk=; b=IBsFN0VNH51GT/LE86qZ+iI8tqTFjCh/ChPM59qAT4zjjL1XjvxurdNcEqJZ4rqX/D B8GlvRcCQK/q/KQ8DNvkDUOTvB01H23WISyiL0OlS91pgRuOL+y4Ouhm0kmUYCCWo0Bc 96BS23yot3W7Zh4ubGmu1LPDIpkPHvha1FfmiObIqX1DmgLzCwQ3jr+N9R/jmsFEkJGy G3FDuF+if+G/qdv1akSeaaqhtvmXFv5eZwyUZuU94pWb1wFcK10CsoHMBB369Ntp1RRS fFTk//WPPZK4GP1JxkPw3G47ho7HX3mODFPAPKLvcC7Tc5zESawaMUncruV4FTcZ3kKk 4nhw== X-Forwarded-Encrypted: i=1; AFNElJ8pbsXnOjH5cDLc4YCGZQ02h4w+tWuUPUOSk7C3FyO/rdrR16jLneNWlhYVz+wjJw7zsKnNpkNjiLRUekM=@vger.kernel.org X-Gm-Message-State: AOJu0YzhNO67N1cKX7eadnTOUHp0+clnH6G+VManDpOMGUmij6Q/N/E3 //HIoDeHleNdS0PiG+bIuMNKuu69TmWWk11g0bfEDpLfB39sMWuO6f0oONFsIDyMhFfSZoS/Zkz xgl6VYPSBAE7C9RWQJ6ASqWvTshMYTV2Xz3dRazKk3teyn7w1mAnuHgOArWvL6wTR3YE= X-Gm-Gg: Acq92OGfTEBq8RLpIm1j83MDOwrX96J0FsG+exP5kWL0ymSI4ffeilQGZR/8hoihqoj /H5kf0xjxsUoSphC6+oc4zbmCyk3pzVBMnjMdLOWBCHdbeSGJf0X/9S+14CQeF8l+E8y3904WHU BxvejZAQNqs+lIDN/gTVd30Pg4NfCq/C6/J/tnaiAUmmQNoOWUppNhOUW+TS8uoBZP5xLQoT6LE jr7PVtNKUAKTrmzN42WzZv4AONyWIGcasONVs6l8Ppd7ICPZenqzo/hjWq8UqDWLZAZWMEnNSjt ocp34hSHM4QbIQOyNHPvytyGO2hBesDTbMv8aCxACdXa7SAsgOQ2hUx0W6zf+6c0Pw3sWlAeZ3Y cwclOoPKQuTBZ71p3Oc4y0Gfuj/AuEBNnkNZv7EnYCYIF11jIfTlGIa1l2enlqBbgnWA6k5j5 X-Received: by 2002:a05:7022:6993:b0:134:df7f:910d with SMTP id a92af1059eb24-1350451e077mr7346436c88.7.1779175469981; Tue, 19 May 2026 00:24:29 -0700 (PDT) X-Received: by 2002:a05:7022:6993:b0:134:df7f:910d with SMTP id a92af1059eb24-1350451e077mr7346409c88.7.1779175469331; Tue, 19 May 2026 00:24:29 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:28 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:21 -0700 Subject: [PATCH v6 3/6] dt-bindings: remoteproc: qcom: Document pas for SoCCP on Kaanapali and Glymur platforms 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-3-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Krzysztof Kozlowski X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=16488; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=YuroHQl0RaEfqlcbPAw5LHxqeiE2B1J2dL3SPvMEUoA=; b=WceVYENDAM4QkQHqOexKGQbzvtkM0rugpnYE1bTY2zTOwPVPKlzrzYBwOiYxzdKwjByyICWPA Hd2EV4MVI0XA/y4jY8QotLtRkeVUNs3QOPwTRnVgEc0LgUzizQuQlXz X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: zyNnN4aZbdRDKO2yMc8EiRveW3OwtC2u X-Authority-Analysis: v=2.4 cv=eeUNubEH c=1 sm=1 tr=0 ts=6a0c102e cx=c_pps a=JYo30EpNSr/tUYqK9jHPoA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=HRkYIiX3aUEsQExlndAA:9 a=QEXdDO2ut3YA:10 a=Fk4IpSoW4aLDllm1B1p-:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfX4knH4R7yQ9Ii 3vzInO7VLGfVTlNWGvCywdx1ShAv4eOGuFE/txSoimcMF+UAb6VJTAYfyrGv2qBjoiRGI1FWCkj K7vZHxo31RBwRUDc4lfuQjtKhInNlam6RQbxlc8VcDpn9H9H3lQnECpB4i+HKFWx4a+B058ZMQo /L0ID8TtN3sNtNwwI3SCrKGz8jPXo2kaUxF6drG/9dLX3VN/5K7GaT/viuFzd3mMuEVEkS2N0Ug JS/E6wIJQ5ugxVPkBlUnoE/zXPp7bknFxW9rKQP2o9HngMHkTd5B7YErqoeYGiWQdL0M5jgTy4C huGKeaD4IBaPVt7FMmUudLMViX0mlu8QmEMC2tUSjjsgJH9o2E0C9JxBqmc3uCTsgACT4jmEgmp vJwnIHdH6lKDxv6W5+gasexUQFlOCCYvl4Vy3IWK332Rv4nhoJU/mhe/SKjcmb4mszaG1xHPmO+ lfn8JZZwZ9N9t/+givw== X-Proofpoint-ORIG-GUID: zyNnN4aZbdRDKO2yMc8EiRveW3OwtC2u 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 phishscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 Document the component used to boot SoCCP on Kaanapali SoC and add compatible for Glymur SoCCP which could fallback to Kaanapali. Extend the "qcom,smem-states", "qcom,smem-state-names" in the pas-common and add maxItems constraints for SMEM properties in the documents that reference to pas-common. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jingyi Wang --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 8 ++ .../remoteproc/qcom,kaanapali-soccp-pas.yaml | 154 +++++++++++++++++= ++++ .../bindings/remoteproc/qcom,milos-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,pas-common.yaml | 6 +- .../bindings/remoteproc/qcom,qcs404-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sa8775p-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sc7180-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sc8280xp-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sdx55-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm6115-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm6350-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm6375-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm8150-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm8350-pas.yaml | 8 ++ .../bindings/remoteproc/qcom,sm8550-pas.yaml | 8 ++ 15 files changed, 263 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/= Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 16c35e15ee1b..7e8ecae8e6cb 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -73,6 +73,14 @@ properties: - const: handover - const: stop-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - memory-region diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-so= ccp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-= soccp-pas.yaml new file mode 100644 index 000000000000..ce18460a949f --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml @@ -0,0 +1,154 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,kaanapali-soccp-pas.yam= l# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Kaanapali SoCCP Peripheral Authentication Service + +maintainers: + - Jingyi Wang + +description: + The SoC Control Processor (SoCCP) is a small RISC-V MCU that controls USB + Type-C, battery charging and various other functions on Qualcomm SoCs, s= omewhat + analogous to traditional PC Embedded Controllers. This document describes + the Peripheral Authentication Service that loads and boots firmware for = SoCCP. + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,glymur-soccp-pas + - const: qcom,kaanapali-soccp-pas + - enum: + - qcom,kaanapali-soccp-pas + + reg: + maxItems: 1 + + clocks: + items: + - description: XO clock + + clock-names: + items: + - const: xo + + power-domains: + items: + - description: CX power domain + - description: MX power domain + + power-domain-names: + items: + - const: cx + - const: mx + + firmware-name: + items: + - description: Firmware name of the SoC Control Processor + - description: Firmware name of the SoCCP Devicetree + + memory-region: + items: + - description: Memory region for main Firmware authentication + - description: Memory region for Devicetree Firmware authentication + + interrupts: + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Pong interrupt + + interrupt-names: + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: pong + + qcom,smem-states: + minItems: 2 + description: States used by the AP to signal the SoC Control Processor + + qcom,smem-state-names: + minItems: 2 + description: The names of the state bits used for SMP2P output + +required: + - compatible + - reg + - memory-region + - power-domains + - power-domain-names + +allOf: + - $ref: /schemas/remoteproc/qcom,pas-common.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + #include + #include + #define IPCC_MPROC_SOCCP + + remoteproc@d00000 { + compatible =3D "qcom,kaanapali-soccp-pas"; + reg =3D <0x00d00000 0x200000>; + + clocks =3D <&rpmhcc RPMH_CXO_CLK>; + clock-names =3D "xo"; + + interrupts-extended =3D <&intc GIC_SPI 167 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 9 IRQ_TYPE_EDGE_RISING>; + interrupt-names =3D "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "pong"; + + memory-region =3D <&soccp_mem>, + <&soccp_dtb_mem_mem>; + + firmware-name =3D "qcom/kaanapali/soccp.mbn", + "qcom/kaanapali/soccp_dtb.mbn"; + + power-domains =3D <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MX>; + power-domain-names =3D "cx", + "mx"; + + qcom,smem-states =3D <&soccp_smp2p_out 0>, + <&soccp_smp2p_out 8>; + qcom,smem-state-names =3D "stop", + "ping"; + + glink-edge { + interrupts-extended =3D <&ipcc IPCC_MPROC_SOCCP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes =3D <&ipcc IPCC_MPROC_SOCCP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label =3D "soccp"; + qcom,remote-pid =3D <19>; + + /* ... */ + }; + }; diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.ya= ml b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml index d22d50c1e1ea..99d7337e58ec 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,milos-pas.yaml @@ -69,6 +69,14 @@ properties: - description: Memory region for core Firmware authentication - description: Memory region for Devicetree Firmware authentication =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index dc5a9981c12c..e81ef400555a 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -46,13 +46,17 @@ properties: qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array description: States used by the AP to signal the Hexagon core + minItems: 1 items: - - description: Stop the modem + - description: Stop the remoteproc + - description: ping the remoteproc =20 qcom,smem-state-names: description: The names of the state bits used for SMP2P output + minItems: 1 items: - const: stop + - const: ping =20 smd-edge: $ref: /schemas/remoteproc/qcom,smd-edge.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml index 5854b3d2041d..bf9bf1af9ff1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml @@ -59,6 +59,14 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.= yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml index 7f287e55896e..dda2d144b720 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml @@ -74,6 +74,14 @@ properties: - const: handover - const: stop-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml index cb0a61fc301d..b20780e5e26b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml @@ -68,6 +68,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas= .yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml index fef9d7c39f3c..4bbe4a986c7c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml @@ -65,6 +65,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.ya= ml b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml index 2bbd427c6ea4..8c16b01c53e4 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml @@ -71,6 +71,14 @@ properties: maxItems: 1 description: Firmware name for the Hexagon core =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml index 987fac433fae..454ba82bd6f1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml @@ -71,6 +71,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml index 53ffb1ccd199..42e02c64347a 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml @@ -65,6 +65,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml index 6823a2a8d74e..274f87880e2e 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml @@ -61,6 +61,14 @@ properties: =20 smd-edge: false =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml index 8a1fae095a3b..5a7c5f8c92d1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml @@ -81,6 +81,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml index 4ea7518db537..72d0db5698c5 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml @@ -75,6 +75,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 74df49b5fbe9..0b44141d31ee 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -93,6 +93,14 @@ properties: - const: stop-ack - const: shutdown-ack =20 + qcom,smem-states: + maxItems: 1 + description: States used by the AP to signal the Hexagon core + + qcom,smem-state-names: + maxItems: 1 + description: The names of the state bits used for SMP2P output + required: - compatible - reg --=20 2.34.1 From nobody Mon May 25 03:55:48 2026 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 BE48B3D0923 for ; Tue, 19 May 2026 07:24:32 +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=1779175474; cv=none; b=Z0E+rch4FRVYgN6kOja356MjlpET64CJth04AUaN9JJ0AyUxsSd/x/y5BvMjri7ulxQa0CE5ZYet+Y9rvEoMBmXBDJ41qRw27u0gCYOi1TQtFC0eFG8BjSKzt4o7CmNVOj+RJw9n0i9G5a8rCU+ZWN9m1iZET87xwig9/Ixq0rE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175474; c=relaxed/simple; bh=zUZR7DaV9Z1gqckkghR4I+LB/NET6dfTlAYiLQbReIs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hGpbp1TmAAgKcBm1VVD/2pQIIiyWOtV9rvSo1h3xsNOl3VFH/xmyb2MXcwcUUet8lGciKvgPv73+KhOFlnmvuElKfsTDPFuhAGV7PNt7NUaWpzmivRpqE1gTqLG0vf7H4JezUUsCcNTOXc+IT4ug8RJDjjfVx0/HkHJNp4T4Dww= 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=PIVqtZic; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WIm8oqoW; 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="PIVqtZic"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WIm8oqoW" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64J6gma61737108 for ; Tue, 19 May 2026 07:24:31 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= KgZbprcQ0e6itNT2rwaK3othW4Yy4NP2EPKOBD18VBc=; b=PIVqtZicrFvCthW5 l4kC8+sj00JQbPYOP5F0O7E09q5yr9gJ3id5qVUMv/Mf8RKB1UL2yDdSQnUAsPak Zy29MOJdNUiki+k5PrvfgMIOB/W2VMNGpmRd43TF39lPM76tU51bI6IeT9vF3aLt qvuNgDiNKICYAbAvDkc3LaFRkx/l3wABAY18daV/DofIqmRq+SBxj45D0SfKdjGV WWxGdQOQAT5PE00h4grycHSeJas1zFla04NmPTlqxwmxan06m39OAtcI6KwLdkXS mosv8U2CFwG1JCgXLmaqfJlzh2QoP+DJsGyAeurUSb/GQNt4yCobOiFij9bMeWrW 16qCHg== Received: from mail-dl1-f69.google.com (mail-dl1-f69.google.com [74.125.82.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e8ju905q2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:31 +0000 (GMT) Received: by mail-dl1-f69.google.com with SMTP id a92af1059eb24-1353bfdbf99so3566311c88.0 for ; Tue, 19 May 2026 00:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175471; x=1779780271; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KgZbprcQ0e6itNT2rwaK3othW4Yy4NP2EPKOBD18VBc=; b=WIm8oqoWoVEZu3R1BSlOKsyinIgN24CBlAJKOnnbr+DB5/y+mOHFzT1+ye9HfiIXtV ceS5+2x7yAsn8qvQcpVuihGAwTqSA6VtrOsCa6Hh901UFUzuYM7owTUrUnyNPYuCvb8V gakhB+czWwfqW6g8FGsGyd2UWdNEOW3leqRKPBsRi8El5qvSn8RcI+BMQF8Cm1p9O4oN 8Rx8tXLdbHeMbj9ZRdazF1Fv/UIk9VHbKoRdlC62IWP78EB2OvxpCl5GJtEroBuSHhav xjMWmpu4CFMEDOz3/cArZHMPG1hGfEcBAWjsM6kNH38uzMYxGZflJV9KLL3Z2UUB2ryU wnoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175471; x=1779780271; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=KgZbprcQ0e6itNT2rwaK3othW4Yy4NP2EPKOBD18VBc=; b=CALI5p/4EWmk/V+aa6/fmm9FBwA/ZR3P8vbybcc5ItmaXfV9YIEfLMyacYC4cEy6s9 dHaWyUX5MrxZ3tk4kFOd489/f52XH1ABMLdrm4lAOgKzMMWnehIb3EGMv2oTZRkHDGas tK3Byv5ap89AllCzx9SGsncCukw2Md1h+MLBZawcJuPYKlWzr/YfaWBsDJUPxcNw+qgF q7SP55gnWh0xty24nmyPC3R2TKm+ksmvltxy1jhqMdORidgw2OvUfnhNswbp45/zsxYQ SunckBJV5nLbCpZgvvp+iqVEni8i6JLf7HKtrk8pFSQYZ4jOLFdyn5yFuwFkwpnWdnb3 KBGg== X-Forwarded-Encrypted: i=1; AFNElJ9N0BD98xzQfcazvaiwZol0ZjhbracsiO6rGD8WJgerf/JzBSOAOwQqz8lyPvXnNFdBDA5UdPvLQzrukWg=@vger.kernel.org X-Gm-Message-State: AOJu0YwdSthwEFn6Zzo/LWAe6nzT5wZLiWvyYgG/z8WAXtQdJZKIJHL/ XTsguOVJpm+Lv40rHz8HiSNt8vGOMhnDBR9gqlhHuyM4kBovIPaHUXnsrjUva7ytr2zfuu12tiV zcd3uAs7cFTkqnjRqQR4RfvKJY4BnEwQwCfWn2I6Z9W8PMajGYeOAqf78DwFfeAAzTBo= X-Gm-Gg: Acq92OFB5ngLZOhSv6roFrC+QZdg0AHRtmgwBt+g+9FIxklJ10WoVYmgzdOWU1ancnZ sEvykzdUJQ+YPr7G6RW+iNvMD2TAc7PFsSL+KCo+wMVOkdhZ7TFvlrhUL7gPkzszlpK67ayxRCI eRQ9lABLeulr/crRhgEM9/bzvEgI6lrzgzj+muH0wKSjBPXFqR9fFyXQLMdRLw3Lt/0kJ28luz5 3g8WNuj6vkxXEdeURhi5OJz0owUY1y0FizDIXEe29zCNUuzcY2P6XBMsl9ND20I7Py8gBR3ZP6F wM3UQiM15TdgVz3seaJej7PbNz86x2BgoSazVDI7MG1lP1q+wUwacZOz7FGeQSutc3EUwBJ/abD OkedSmi8q4Ax3QYTzChOvM/7QvNktWbs+xSCFNz+4RVUXr1IIev0XzAj1quCNJbF71XnvX9a5 X-Received: by 2002:a05:7022:40d:b0:12d:de3e:cc02 with SMTP id a92af1059eb24-13504a53ff1mr8182737c88.41.1779175470726; Tue, 19 May 2026 00:24:30 -0700 (PDT) X-Received: by 2002:a05:7022:40d:b0:12d:de3e:cc02 with SMTP id a92af1059eb24-13504a53ff1mr8182706c88.41.1779175470216; Tue, 19 May 2026 00:24:30 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:29 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:22 -0700 Subject: [PATCH v6 4/6] dt-bindings: remoteproc: qcom: Document pas for SoCCP on Hawi SoC 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-4-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Mukesh Ojha X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=967; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=Z9lh+zI7bk0b+Sujah/Bvi+pWI96/tEBHS7dOgWjLWE=; b=q2LKoAAiPBX7FjVBywQROb2+56qKeN7S5lgvFQg41VeThz/67DPW9oOPB0J1UWkdIfNCjPk62 AskkSQXXmi+DMaTkY5wp9b8LU+zNVkaI+p6bmyVlS/nkYNsIIhA5u3w X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: pXu8vJ9kxXTpOPd3jrtemc5qy1cJUgcc X-Authority-Analysis: v=2.4 cv=eeUNubEH c=1 sm=1 tr=0 ts=6a0c102f cx=c_pps a=kVLUcbK0zfr7ocalXnG1qA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=hXvcgRDSK2Dw3lFIK20A:9 a=QEXdDO2ut3YA:10 a=vr4QvYf-bLy2KjpDp97w:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfX2VklmQl8DDXp SBr9nqmw3IGlBXS3junfXRbpT0XOYEqSdMYqL1izavUTRLiyaMA2wYC4f0hQdjYWpvTO+BSLj7X aCe6wEnCwLncoNTLCamTbWemiiLxFJNxnXnuyqF9CF0tuejsmjfZSsHJKPZGyY8XUnyoAetozZL VONzfIwQ5AkaHjWAhh0ezKq8rlJOTSfavp+BRGNxSww9ZG+lK1tS2osMqf8jYE9fvrz0JClpR1O Elwpw7N3gKWKf07sr3TSuv6F1zRGvYZHWCZNv75KA8b92cr3pLoUvzHAuq/NN66LcuOj1rM4uQs bhVNVMGX98wUoI1j7+d18huGphg+bABK4CBl4fidayGTVYzr9UQ1UdC22ljBw+hPdTHz3/fAif7 qfKPoz85pUBsg4RTJ2Hv5nLJuWokheRq7nd0d2so/2nsxfsxwopbyJjvEa6Dl2ukdRBnzC03sk0 hYnKu/Yd2Jji6SB9IRw== X-Proofpoint-ORIG-GUID: pXu8vJ9kxXTpOPd3jrtemc5qy1cJUgcc 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 phishscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 From: Mukesh Ojha Document SoCCP remote processor used on Hawi SoC which is fully compatible with Kaanapali. Signed-off-by: Mukesh Ojha Signed-off-by: Jingyi Wang --- .../devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas.yaml |= 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-so= ccp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-= soccp-pas.yaml index ce18460a949f..d3b525ff2f5f 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml @@ -21,6 +21,7 @@ properties: - items: - enum: - qcom,glymur-soccp-pas + - qcom,hawi-soccp-pas - const: qcom,kaanapali-soccp-pas - enum: - qcom,kaanapali-soccp-pas --=20 2.34.1 From nobody Mon May 25 03:55:48 2026 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 A9A6A3D47BD for ; Tue, 19 May 2026 07:24:33 +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=1779175475; cv=none; b=lCa3rP90Q87jAfHHRD9V47bLA8OuUnpejb2oRrKwRb1DI4oV2OVhEZvQkGb6CoFv1pilG+13yXh7TDn4ygUx22dxpfzrqqNmZTzglmhMmullcXmNrBCQmrSF2YHg3REGgpw9Szyur5HRl7dggd6y6/0xiVjsA3k0rbZanQnj8nI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175475; c=relaxed/simple; bh=QN6kQHSZ7wMJTaDZlVY9p4d8+XLr8TFnK5FsU73schM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=g2rwjHCqWQFeJ/v1BkYEf91Chh3PgcR1A6HsjUWC1CNIVGVAZFUylDK95srtUbrTCy5QfBrY9xdz2G8GOUgHo3by/g0rw6qn9INzvaFY1ERPj+FeA9wZK7twz2s+WkiK1dFCl6zJ0xbTvWf/KdcU1GllvHFaJQKWgx/5LDm5iPs= 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=XS7djqFQ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GuT4uFsH; 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="XS7djqFQ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GuT4uFsH" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64J1RSxp1146368 for ; Tue, 19 May 2026 07:24:32 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= g8zBH03hz9ckfvwNSoaR7EiPr//dHF3WikoaKSBYWgQ=; b=XS7djqFQCZ4May5D XJ5EU5SHHCyeoe8/QcplgSrKPENwT28a1tVte8qHp7h8YHkjq/xSk2OEUcP012dT 3y/z75qIqiEBdN+CxcoQ1WFe+5D6b126iIwaDlNKB/sb/E507IYLNSfaBwv9Xges 5XY8V4JzwVTdzbNCs2a7zXK0RdWXYmOZYerOopVsP3AHaxXJ40crKukdSh9CSBWa STOEgVR/yZgrMoALNxohBCJ8VVMJImZHPXHwKCCFH3S7IVFewBoxqUCxcwqesifF my+2pzpNrnD94Av5JkICB76aQYA1nsU8xn5O28iocmYYKXwUHWYMFNX56wAGvjAd fxB6KQ== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e8e7eh6xd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:32 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-2ef62078ee7so4320790eec.0 for ; Tue, 19 May 2026 00:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175472; x=1779780272; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=g8zBH03hz9ckfvwNSoaR7EiPr//dHF3WikoaKSBYWgQ=; b=GuT4uFsHtTdD04WW4QYJqUHRizT9xlpkxwUuwKSeFtuKs2XZgu5Hqhs9tIj+wLXpLm S7Syq09bIv9vACJ3MLHPfu2kjhgvDGZ5RsAcGzJlyIAgGeBdHTCVY29M1ZCKrcwLA6Nb Q8z6MMF/IpC+0P5CD0+p+vhE9tNRgOCK/+c+7ZV5fNgMRcgtjleryT8bHi30eJnWMpjj 1ZoKFbs5ssJ52Ulqv9SdZp81+syfR9K9CCgseGg3DV/7HOagpS5Nyg0NVFzGQ8rU6rOV 3P2hwQ1Fa+GA3X9TX2hRViwVZINNRcgwA991UHCaxSATb73zGQ6M5MxFI8mQSKXxjJc6 qsCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175472; x=1779780272; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=g8zBH03hz9ckfvwNSoaR7EiPr//dHF3WikoaKSBYWgQ=; b=VVb2HWn2MBTXu8rot6/E60c94bN0UOjhlfp8ZwBfZ89FyCV2lr3DvTEObNA7J70urK SyYoYKFL3YvD3u2slQX59vBBPWc0A6ZdGXwJaCCDrwHwwS7Dmlp5lJSoJ/tGMUDM838M ybUtOvbtW2wm0IjkafXK5KA1pioWdiMhRdVGwAIrezU7mnGLueyY7mhYc8FXgbHS42m9 OLU6X0lnskkByO+V1mfdeSAqt0a80CR+E2avuWNIqv9qpWFsI8NBvjitN74QfqF0fHeg lzv2zYzLclLtNtL5NuVYNxfDVp4VejwOpO2+R4Gw4lzyFt2TP5VmilIt2+iLNJrgsA6k YTpQ== X-Forwarded-Encrypted: i=1; AFNElJ8TNi2LcHb6a4fGsxHfEtaRBZqfRMA4Mmg10qzfKcQZ82MShzyW6m1dbgHULnaWat3SbyrWEzHc++rdtcQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwgJikogz7tYdnwObdWoErNEp16tibta7YTnAU1h9OFnNllPl7y 4kkr4TPw9FIKRkGKMhcMw3twmgNwX5deexYo/4oUWqKPQRLna/66pGLyxaP3dObVUuVG8+sLrvm 0nYOnEcUJj/S44M2IRDTyh3Se04pNGnUlxBL/0T6t6KOsesWwGfY8jRPgUAWNtle0oUU= X-Gm-Gg: Acq92OHGJd3FYUSHRqZ0z4Dq/I1bBm+z1l3TKLqK5ta8/ugwhLbcT/AvmVYQPgbV0L8 VwFNDGmpa5zGgEMFEtqmxCZZCdkKN+vZIu8m2G0+EYZfEqjz1/gXCmNvxomlxyamblFS4LjeqMA V3awLCPFe90cEdnxz+h0XOiFMyPeqwmERnN9EKU2gMmerl8OJSBgTL0AWJ3bfL+VSy+6bQGavLl nbfqyvCfhGI3uwFj1wBiLxH4bTvW9SZmwSGlvOyNF6b/DFAJwG2CtgdSGBOb47gETmhxiXeTEAd CCDgNQL4OVzCZ9vgih64yx9By0HMqEaZT9tquyA9J1n/dx4NX+0iTDwtcov1PemR5HQpbwnbCX2 IIve2WJYwPX9el6nu3q4fuu61rlZfx/hEHz34MQi8mKm8Rn2iYfmOKthWUOVqfRFXpBF6k7Y5 X-Received: by 2002:a05:7022:388a:b0:12c:2cf8:2f30 with SMTP id a92af1059eb24-13504414f41mr7181972c88.15.1779175471625; Tue, 19 May 2026 00:24:31 -0700 (PDT) X-Received: by 2002:a05:7022:388a:b0:12c:2cf8:2f30 with SMTP id a92af1059eb24-13504414f41mr7181967c88.15.1779175471087; Tue, 19 May 2026 00:24:31 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:30 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:23 -0700 Subject: [PATCH v6 5/6] remoteproc: qcom: pas: Add late attach support for subsystems 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-5-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Gokul Krishna Krishnakumar X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=3683; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=QN6kQHSZ7wMJTaDZlVY9p4d8+XLr8TFnK5FsU73schM=; b=U9glJukBAUOjsfvyNq+Nhh0TZrFm7DSDSVRT37fu3rqk+uheQ2fkKGE7qnfPlqsqQxPipbAGm cvawG3nPFEHBEUhzhYx3DOPyNbKcbZ14h9gM6aKUHK85zqqLlI1CiK5 X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=Rt316imK c=1 sm=1 tr=0 ts=6a0c1030 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=jQEpcGcuKFcweVAcgyMA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-ORIG-GUID: QqJW7BwBp7gAxkalqDvNFqqBP2h88cww X-Proofpoint-GUID: QqJW7BwBp7gAxkalqDvNFqqBP2h88cww X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfXyCT4Grcr/gMa RzxXIJtgFv/ARAQLj388JAKuYBnxPPHI8402obgNyU5GYSZ6wkrbenz7l2t9TaWDJ7AxAZo+Pti v1pY7V2GNVGCCobeMOUlDuPqey1AOioE8aiUvTRKlxDRr8C8HczlzSDFxLIr+0aCiQwkheM9Ays 0I3TAGZdYWCbJuLaQGgAYpdqbP3XjsTzTeR+ozd5efZghscV9hAIu6JepdpH9NRIZLZbrqfl/tq kHqPJH/XJLY/1UxbjeErRAJ/uX2LSDCXdeYKMUzIlliiT/7hvhy2bctv4dNH+2+lpKFzF8Go6Hz nyCYiDrDGsCz2c4ejH6ZlnLgAQramimw3ikFUC0EZ1G5ukMTcxWJfjge0IBBR9/d46oMSRzDca+ 1OY2dhdnGRxApaWga9NYO1y9BqcvZEsRvU7HXvoUTPX/GLgakI7VYZUmtunlEIcaD37pEWpQuje 9v8ha1JkTcUVirsjkqg== 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 phishscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 Subsystems can be brought out of reset by entities such as bootloaders. As the irq enablement could be later than subsystem bring up, the state of subsystem should be checked by reading SMP2P bits. A new qcom_pas_attach() function is introduced. if a crash state is detected for the subsystem, rproc_report_crash() is called. If the ready state is detected, it will be marked as "attached", otherwise it could be the early boot feature is not supported by other entities. In this case, the state will be marked as RPROC_OFFLINE so that the PAS driver can load the firmware and start the remoteproc. Co-developed-by: Gokul Krishna Krishnakumar Signed-off-by: Gokul Krishna Krishnakumar Signed-off-by: Jingyi Wang Tested-by: Shawn Guo # Nord ADSP --- drivers/remoteproc/qcom_q6v5_pas.c | 58 ++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 58 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index da27d1d3c9da..ac2a00aacd2e 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -60,6 +60,7 @@ struct qcom_pas_data { int region_assign_count; bool region_assign_shared; int region_assign_vmid; + bool early_boot; }; =20 struct qcom_pas { @@ -510,6 +511,57 @@ static unsigned long qcom_pas_panic(struct rproc *rpro= c) return qcom_q6v5_panic(&pas->q6v5); } =20 +static int qcom_pas_attach(struct rproc *rproc) +{ + int ret; + struct qcom_pas *pas =3D rproc->priv; + bool ready_state; + bool crash_state; + + pas->q6v5.handover_issued =3D true; + enable_irq(pas->q6v5.handover_irq); + + pas->q6v5.running =3D true; + ret =3D irq_get_irqchip_state(pas->q6v5.fatal_irq, + IRQCHIP_STATE_LINE_LEVEL, &crash_state); + + if (ret) + goto disable_running; + + if (crash_state) { + dev_err(pas->dev, "Subsystem has crashed before driver probe\n"); + rproc_report_crash(rproc, RPROC_FATAL_ERROR); + ret =3D -EINVAL; + goto disable_running; + } + + ret =3D irq_get_irqchip_state(pas->q6v5.ready_irq, + IRQCHIP_STATE_LINE_LEVEL, &ready_state); + + if (ret) + goto disable_running; + + if (unlikely(!ready_state)) { + /* + * The bootloader may not support early boot, mark the state as + * RPROC_OFFLINE so that the PAS driver can load the firmware and + * start the remoteproc. + */ + dev_err(pas->dev, "Failed to get subsystem ready interrupt\n"); + pas->rproc->state =3D RPROC_OFFLINE; + disable_irq(pas->q6v5.handover_irq); + ret =3D -EINVAL; + goto disable_running; + } + + return 0; + +disable_running: + pas->q6v5.running =3D false; + + return ret; +} + static const struct rproc_ops qcom_pas_ops =3D { .unprepare =3D qcom_pas_unprepare, .start =3D qcom_pas_start, @@ -518,6 +570,7 @@ static const struct rproc_ops qcom_pas_ops =3D { .parse_fw =3D qcom_pas_parse_firmware, .load =3D qcom_pas_load, .panic =3D qcom_pas_panic, + .attach =3D qcom_pas_attach, }; =20 static const struct rproc_ops qcom_pas_minidump_ops =3D { @@ -529,6 +582,7 @@ static const struct rproc_ops qcom_pas_minidump_ops =3D= { .load =3D qcom_pas_load, .panic =3D qcom_pas_panic, .coredump =3D qcom_pas_minidump, + .attach =3D qcom_pas_attach, }; =20 static int qcom_pas_init_clock(struct qcom_pas *pas) @@ -855,6 +909,10 @@ static int qcom_pas_probe(struct platform_device *pdev) =20 pas->pas_ctx->use_tzmem =3D rproc->has_iommu; pas->dtb_pas_ctx->use_tzmem =3D rproc->has_iommu; + + if (desc->early_boot) + pas->rproc->state =3D RPROC_DETACHED; + ret =3D rproc_add(rproc); if (ret) goto remove_ssr_sysmon; --=20 2.34.1 From nobody Mon May 25 03:55:48 2026 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 E7B343D5674 for ; Tue, 19 May 2026 07:24:34 +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=1779175476; cv=none; b=UvKfpZ1WRaDQVN+Sgcikx0LalQ/w7IfT8iWLoNPnR2/JFCbYjlP+F8ZKoUdeRm3YjGOxX4meXODJRa7rKd9t2EaJwlLR919vDRPBmJi5ANwNXhICv97sNt1h6QXKeV9iZAI6KwFNiryPbyhhpfYPECrKsZQzklw6CnAt5KiRkQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779175476; c=relaxed/simple; bh=T44s3TASdJnSBhWvx3N7ChQPB/5DJbCT54AUqTmjxB8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YsYW+OKPO3dw46Li21gIcUw19lYVxKm/wFnkqiW3USb5wbKMfxpg5qpaPUvv27/HTALAUg0KGbO5IlGx7aK7aPPUfZU5JZQQ1XSKBT6f2+jd6LEpRJPigiu/KhvnynUB97KMLWK9iNJMJiqDCoyXpbYdMktULKPkCf+B9xllN4c= 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=gtLNAinw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=NY24tvAF; 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="gtLNAinw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="NY24tvAF" 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 64J1IOgj2975772 for ; Tue, 19 May 2026 07:24:34 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= jmqp3mmuKa++YH5YsnTqYgztsMnKTWnZkLg92GCMCNc=; b=gtLNAinw4jjDSCiw t6Mpon3EoVXm3K2JeSHFmbZbJs2P8jfH1L/5rjcI6Oi4eQRekElJ9lfl6tML6xhD SeJKzKCmtuwpUMtytRrjgRRcNtvrPUulG8bkcsxJE4L2vjeUd1owwSV82T46ESyN +LbisWhifLdSF4ZV/OhgV0EtDd7Ha+8qGFJqITOx5PCot0AhVVxKNURjQ42nIvfi 0zGw3hUUltJrHrBqDYVUT9oALDtXGTjdYF//JS0kcYRckAAKWBeUIj6UQD0lcWQt d8zKFhHiLGjBW+miY1AViLrLM2Wo0Q3iqy+Uyy94/cA+pDdfkk2q1nIxQwtTU6XM FM71xA== Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e84v4b6em-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 07:24:33 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-2f2d983d109so13842950eec.0 for ; Tue, 19 May 2026 00:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779175473; x=1779780273; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=jmqp3mmuKa++YH5YsnTqYgztsMnKTWnZkLg92GCMCNc=; b=NY24tvAFN+KuM8eVafyYnbCus0bQjkpJd3Q5HN3R46jC591UP98zKqvT6eDMpjmoxk e66f0mMLQwBCFdeerEORzlI6+tho1qThK3dZzSBoDDKsjEId2cruqPt6nnMVZwZz9Tav oIi8m+QtiqfhMxEhI52EsgKQFNPG+yEZN5PYpLlKAqVsl3iyryqx7UCZgB71XN6Dx/i1 iGuL5kBq8gvzVTYahwejdfaGO0d3Tqundg0Sn+hPUIm5uPQLTcUcPy5FQTMaY1pyEKgo a6bck3mQVXF1X7b/fIJkl1vwh9yAQshitI0vCmPb1QhhIUBEOd4ROPyVFbxAy0Yp1J56 C2gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779175473; x=1779780273; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=jmqp3mmuKa++YH5YsnTqYgztsMnKTWnZkLg92GCMCNc=; b=ZneGFhVyeVPoTPKDtAnOutbqJ6vo9MDPrkAxs1RBKKHDvsv4d0mItwyG5dJ4xtFDLc HwYoYf+Vs2LRrJqN9nVxPkR4BHJFUPyTwjyZg/T6jpbCMfnkbIW03w/ga6M7u6eiCRNy f83xDccwCMyWxOvQL4e3pdj+0dv3CKDJlm73zC9N+Wdgk9sh2YbNgnJZ+04Zm580hAcU UmTbTlQSKlfWqaajLHXwIqmZiSNL782K7T7FOdVyhM/GKSx6MmzeFPVrJN1WqcLGDeyH kq8Ebm8UBu38MXvVW34xnoV1gf5n87Y/LzTWHhYOPlnhipVmI1Fasksus/sdsR2pUeTQ cfgQ== X-Forwarded-Encrypted: i=1; AFNElJ/0rku4uOD0+roQrZOsx6FqDGCGFh1hYb1yiBadPTyDYP/9Iy84dJyjtnQOG/6Dk8d3M/bhlDO4wBZYrAk=@vger.kernel.org X-Gm-Message-State: AOJu0Ywb637zyX/CXBl0jwqWyUT6kZ4dW0C/4Kn5rRSpic6NEkNu8Ayp Y4etjDnrC+AjgMdj9i8XC7a5fUEYkct2+pJt2Yry+8MFWTSrOHpL1EB5+eF8STyA6QLABnybN2E 7pFPt245Am2zwwqeNisKd0gnImwAc41zmXSibtWSpmsUnkijrEIciMGlHWLkISDTzcRE= X-Gm-Gg: Acq92OFGJMcXx5DIZAuG8R/I+3IC9Gt5gXLSxC8TEAgNqFK6Ep3Ix/zbiKxquBE7AIE 2i52WkS/H9sBHtTO5nr0yhhvMu0iE3GHE0ruLL7Kx4rlq/9NiLZBYsFkwrLkurn6q2An8H0dDnE g/vuoZcSdVu0a5WAA4II1puhRIFolWx+CHsKyn9EyRjp2fHvh01gX/+o97g2/pissUC5gv10OwF XhpBIF3iJEq9COamqRgU7s8grsFQczGtzOgOiq1hU2Ld239bVCPTYNm9DBRt2Ceu/PkRLlHWkVr Ka5bNMXwwjRL4CToRUZhOZp02CCqt3LK/NRD9P4U7+fIYv7cdfC9QGgvAYDO6ytnAqhmOu40bi4 B+NMsCu00oJIehy4jpxOBwsRVN6AaTkXWUJGkF70p3d/Pr18tH2YzeqqK462IRApEoCQBlA6O X-Received: by 2002:a05:7022:2397:b0:135:43d3:284c with SMTP id a92af1059eb24-13543d329f4mr5539971c88.9.1779175472945; Tue, 19 May 2026 00:24:32 -0700 (PDT) X-Received: by 2002:a05:7022:2397:b0:135:43d3:284c with SMTP id a92af1059eb24-13543d329f4mr5539943c88.9.1779175472389; Tue, 19 May 2026 00:24:32 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbed2232sm23337779c88.7.2026.05.19.00.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 00:24:32 -0700 (PDT) From: Jingyi Wang Date: Tue, 19 May 2026 00:24:24 -0700 Subject: [PATCH v6 6/6] remoteproc: qcom_q6v5_pas: Add SoCCP node on Kaanapali 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: quoted-printable Message-Id: <20260519-knp-soccp-v6-6-cf5d0e194b5f@oss.qualcomm.com> References: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> In-Reply-To: <20260519-knp-soccp-v6-0-cf5d0e194b5f@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Konrad Dybcio , shengchao.guo@oss.qualcomm.com Cc: aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jingyi Wang , Dmitry Baryshkov , Bartosz Golaszewski X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779175464; l=1799; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=T44s3TASdJnSBhWvx3N7ChQPB/5DJbCT54AUqTmjxB8=; b=3R2bur04NLC9mbzUIEVCHdRIjCSiX7c8tDr4/ZvfHNleQwg5SpI/XwPd+VQtlHlQVM7lrDEH2 /KBVnDvsOKNAXw+teUkL2UaquJHrLlbKE5A/DTxSk9mO2XuyqlgSWnW X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=VJPtWdPX c=1 sm=1 tr=0 ts=6a0c1031 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=-54vo4t_4OUFHp6kYXwA:9 a=QEXdDO2ut3YA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-ORIG-GUID: w28vg6V4u5eYARfS4y6lO9NJB5bfKBcL X-Proofpoint-GUID: w28vg6V4u5eYARfS4y6lO9NJB5bfKBcL X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA3MSBTYWx0ZWRfX5jKd5de/w1SA PCCh80skCCWh2Ig0K+OeesN5NeyT8/6HX9XEeUhVlrNO25HiCAQTC9XSvhAhVqXTiWcBin2UGVC jlY297K6Ee4acjPPDaGNo00eTDHd3+xGY9+F6E2SioZTIE4XlkvR1rIaNXYE4BjkRS7QX1oay3U Wx1zGqhVKQZm0MCQPGK1pa1DmXAj0NDo+hZGUVw1IJIdzCo/QZhTj8pbJYhU7PYdAVxjAqOTW3+ QaU4y/czemqgwag70las1YO5gmf2eofXVBFND77JMtaFDDvgvLQ/R15iEVBQxT+fIrKVSntwFOL Z7slfObPyNerkGwDq5PpqUJv7iJT0mjMoGGrxtfvhn72IbA27owU5CSLtUjzS11J+GcWGNC0Fcj A2glBPr2tFx5Mh1Oshb/Q9XFr3DQ6BiLf7ymqMgWRTm5rQo3wlV6f25BaD9417FrJ6kvbqYBnNg XO1v3OgF3Xm5/Za2Png== 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-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190071 The SoC Control Processor (SoCCP) is small RISC-V MCU that controls USB Type-C, battery charging and various other functions on Qualcomm SoCs. It provides a solution for control-plane processing, reducing per-subsystem microcontroller reinvention. Add support for SoCCP PAS loader on Kaanapali platform. Reviewed-by: Dmitry Baryshkov Reviewed-by: Bartosz Golaszewski Signed-off-by: Jingyi Wang --- drivers/remoteproc/qcom_q6v5_pas.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index ac2a00aacd2e..d2ea26562c07 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1588,8 +1588,26 @@ static const struct qcom_pas_data sm8750_mpss_resour= ce =3D { .region_assign_vmid =3D QCOM_SCM_VMID_MSS_MSA, }; =20 +static const struct qcom_pas_data kaanapali_soccp_resource =3D { + .crash_reason_smem =3D 656, + .firmware_name =3D "soccp.mbn", + .dtb_firmware_name =3D "soccp_dtb.mbn", + .pas_id =3D 51, + .dtb_pas_id =3D 0x41, + .proxy_pd_names =3D (char*[]){ + "cx", + "mx", + NULL + }, + .ssr_name =3D "soccp", + .sysmon_name =3D "soccp", + .auto_boot =3D true, + .early_boot =3D true, +}; + static const struct of_device_id qcom_pas_of_match[] =3D { { .compatible =3D "qcom,eliza-adsp-pas", .data =3D &sm8550_adsp_resource = }, + { .compatible =3D "qcom,kaanapali-soccp-pas", .data =3D &kaanapali_soccp_= resource }, { .compatible =3D "qcom,milos-adsp-pas", .data =3D &sm8550_adsp_resource = }, { .compatible =3D "qcom,milos-cdsp-pas", .data =3D &milos_cdsp_resource }, { .compatible =3D "qcom,milos-mpss-pas", .data =3D &sm8450_mpss_resource = }, --=20 2.34.1