From nobody Thu Jun 25 06:38:52 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 32F2736AB54 for ; Tue, 23 Jun 2026 10:05:39 +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=1782209140; cv=none; b=KFL75oMBlVeJ9JLfJ3fTB4aSsbTvqWWGH0IXJvAIkaFfLVJpeS20LJROO8MHAAeYNNYDyINfQiwj8sOVIKDB3uMV1YvhACW3Vymb+BwXWVmqB5GgRKaNuwFwyjtpoLSrCEgQqsQS4xdv0FFSi7BG3qUcP7c+uYSnvIj1ZeTOZaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209140; c=relaxed/simple; bh=/AyXfvDgL6xS/1UvCVX17NbhNe6WnF28CEFcPHn4+7w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bQheM5VU6eZzyIe+A/+g7sjlkcuGunEoq8hpCKMP4y6nAjQyKzC0QkwfB0a/euOryvhTRjO2Ya2b4PYdfosff0fsyMP2kbLrk39nYZNsDesJqBrnXybimwYfNzev1C+YXkxsFQycuI4EjKBrDWAOQFexS4iBWrv36J7+sKqVyZU= 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=m4DgDeat; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=RnA07xM2; 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="m4DgDeat"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="RnA07xM2" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65NA3IED952904 for ; Tue, 23 Jun 2026 10:05:38 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=m4DgDeatgXlwGJKX cgzU0Mj3MKNi3z2S7XCkDU3Ip9i1B+/emvWAIoNXRlF4XLH5UAQAYDo0qs5ZCB/S Jqr3Xs/uLZShgSIDVgvSrXKt7/q7u9u2tQ0Z8BniENJqeeV6LUmdbgo1Ise4hIZQ myqLJlIGFod6E1KwBEHwJYciNjjueBy35nA0QlAiC4L+Mdm76o8TZHm8coTqoICU C34/qiBfDAaCe/MWRiBtXQ4sOArXk6uloGnaSOqQNik2sUXV4+RDKNBMR9Byr10b P/OAZlbWdAlYmPUb6B0c7M/g7ycuOAKrlAE7sHGbzLyrlwn1Ae0bO0JwqHBOVGOd t4QG4Q== 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 4eyr28r0hd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:38 +0000 (GMT) Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-137fe4a3640so7364353c88.0 for ; Tue, 23 Jun 2026 03:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209138; x=1782813938; 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=RnA07xM2o6hSLpvZVhm59V3WVlR+uLBarseffIP7VdlnIGlSdkpsUSt0Nwgm3WCr1+ hQH+Croj77KoeKmot4nnqSoE9ANkai6UhNg1c1gdPp4slkkMg0S4YsTorkcoMQHLk/rL ebmp+wQ82PTnYJeT3WtrrtXeLr3iOgH4KnFzTz5/Oaa6aifwnKmfDnBWvyDK4dbsGbej 9nMP3FFWWosMpWhDN2NmG/P44UYol57xJtlseID+mVGP5bC11my/AZS6LnaLiYSuY99g mAMUREcisAylmwL66P6OuCx9hRVzsLe6dxcsFGYAdRkax1ASTUkf4K1QTrYpGcKojOdG m6VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209138; x=1782813938; 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=DJy7hCjomt+LmZHhRluJ8RR9eBCnXqAnetySvFj62JB5V65VlXwlrbjA5jp4DvWLrK 4oIEZN4JjUyde4qG+Dj9WOrBpSfex4o7RuoYn0e1cYG2noX8GiPKXoTA9wXIoRbKKv+U RD3LU+tZyqQECkoASB4k6uuj0LmjIDwVvSVRMnFyb5xkvp7h+ruTL68s6S5223fQiXue fu9AIIRBX+gNfUFeJwu7BohBEdGXoHHHHb0O7HDgIReyeVJdSc11o/4o7v1fXZYCpdro 2UY9QdGNrkqlqiOHTynXcIrLLL8YoRozTc+y1qUChIufP8n5lhOR+p9owud5I8ifn3p5 hsnA== X-Forwarded-Encrypted: i=1; AFNElJ+XkWYG5IzFzOmShTvpzy17cFvfdErkLisVjU7CDVXrs4sgkA4qxpkujW5tWXHVRQ82qLN9F7aRBjJ171s=@vger.kernel.org X-Gm-Message-State: AOJu0YwSJyun3bu719QCxLmH9OZuRAg6FmCnkcVFqJxYAyonU9+fpIp/ wDuEvS+nK+a48ae55hdn3puwqgmbM6qLWs0rK9QWbTM4V/Q43K95CaiivygQaKODCrQjlGfBRNO Kt2X2NwgKLm+3vQyDkZ2WCKDbFRBcmCRlsMf46EooI6mQ7zwe39iEufMUKhLQT0CA2OE= X-Gm-Gg: AfdE7cnRt3DiUkIKXVz1qDzBob32W4kajLZhCGA2vn8CFQ0BCdkzOBwP0SnwZjkWmfR 3eajBxgndoehmNhmSzsIs07aKJBLXqOsL+o6o0c5DR0+gqv0fl2BCySSSRUGF8vmtbqTEjnA9Qq DlxB3gna6ddIv7H+2lE6FQb7rT30H9roFDCEkLZUInAgKG3SUdDs5yjdffXAYKjhb2X1y+b5vpZ HN6FUJ5uQzbMGeFcl/29zwzA9gMmQk1rZEYduGqQ+31Ij14odHimajxiIgjOJEdzbYoodEdWSee ZVBiIKjF6bekPrPin/M7k6d5tN/6+HbNwTkJpaz/jGLnY6C+hewXh5NNn83M/oQF14NayTm9c/s xfSZnvlmsT2i/v8t13I/9BleSpdJtLp7vqbbIqVmahKjpqliB/kVqURIOEZAipg== X-Received: by 2002:a05:7022:6093:b0:138:6027:b768 with SMTP id a92af1059eb24-139a3880c01mr11720692c88.27.1782209137644; Tue, 23 Jun 2026 03:05:37 -0700 (PDT) X-Received: by 2002:a05:7022:6093:b0:138:6027:b768 with SMTP id a92af1059eb24-139a3880c01mr11720674c88.27.1782209137153; Tue, 23 Jun 2026 03:05:37 -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-139add5824csm11607495c88.10.2026.06.23.03.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:36 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:17 -0700 Subject: [PATCH v7 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: <20260623-knp-soccp-v7-1-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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=1782209135; l=2807; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=/AyXfvDgL6xS/1UvCVX17NbhNe6WnF28CEFcPHn4+7w=; b=7xdpDTCpx2iK7E3J6J2bs0WvfqwcdzG+erfMrjBxniPOikOuzIlJnHnStAJvqXKbmxanC3C5j wKRkUSg8lyYBwTjM4Vllbuw0ajwBPgji20LmcA8HjQESh2Wz8/7FvgW X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX61P85xtJXzMZ dtCJxQu0rYbDFofwU0128uiaYa3WdhEzURU2ix0GE0RO9wkcoxkEnLHfpwkrB3o7PjhAhDxQfxa ivDHhaqBj1YA1rlZwDaSfecEZhhnEdk= X-Authority-Analysis: v=2.4 cv=b4KCJNGx c=1 sm=1 tr=0 ts=6a3a5a72 cx=c_pps a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=VspIq9AKIDY_7iLw7w4A:9 a=QEXdDO2ut3YA:10 a=Kq8ClHjjuc5pcCNDwlU0:22 X-Proofpoint-GUID: 7frYJ5eHDBz0WCk-u3v2TPi4moapbiSD X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX00ucnbAoJ6kM 2pkmlGnEmHoC/XlFlVyqUOZeyAJ4dR2xnHEJkLldlRFs9cnMRpbwPBmxguhlRafxtnWwhVfYpx0 dpDD7lbDodyuuksC9Olc4kjgWiJt2VS6dg8OtpeWuJHCkTrAP7wlnc0nms8r9zq+q4inqwA78Tn P+MD9hS9/Lwzcs85jVZY7bVw5LrRBnKRE1zXc5afV7eMYo5/LjBw09dy77Bif2xrAXXlCwHLd/C t1FZrIpRc9UiNIwnIvrOqUutK/gJIFRIuYaPuJR0WU8beK0rpuw20d6Y7X73X7coKZhJRyKqm1h jXwRzd08j//Ppt6afpAj5pQU2S2f2WgpMJHZnFRIM531L6kqFHYBLcfcIPOCwM1TLA0VXKsyLhp pzzM1CfhBKqJUqkklZXr2YBS5lWULSJsXfez9EKQjEuygAaVDBCpTq5HdOQj2Stuo4nggY74Rv5 oedmh92ZFpR/r8W+ObA== X-Proofpoint-ORIG-GUID: 7frYJ5eHDBz0WCk-u3v2TPi4moapbiSD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 adultscore=0 impostorscore=0 spamscore=0 suspectscore=0 phishscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 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 Thu Jun 25 06:38:52 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 A434A370D57 for ; Tue, 23 Jun 2026 10:05:44 +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=1782209147; cv=none; b=XYtGnFZGzZtiIFf4K0Anphbj+B2O9X5B/DbAwq0WxiWb0J0sKU+u6z/tx3GaQgaUAa90QZNKaymsV6WvtXzyxz4ZCIO8pH59XF6iD0BmuAS3Z8seKLie8DcE7mo6PLDzf5W2IdNy+gRvIZrk3e0xsrcMPWtKXhnyUW4E5KYxiLg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209147; c=relaxed/simple; bh=VAQAb4bSOBDcsfXJ1hNf63PoRgGAYkpk0B2R6P1Kp2Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m7okzvm4PuTFrWCMWEoqwS9R/IUKaBHwTfCQpCzNRhPfK8j3c98xdgjyblZiNkZh88QY0xSZLFd5pg4M4+m5W3PPewwIkfF1jsJD5q6WVQQmMQExGT494n41PCvziLboGAeeE5RKAjKvMGZthHqjzVpEPjToPDBR+lw0CWEkFGA= 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=HZt0Nb9V; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=SJhA1bpx; 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="HZt0Nb9V"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="SJhA1bpx" 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 65N7kq7P3228498 for ; Tue, 23 Jun 2026 10:05:44 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= ItuDPn030Sz/KpTaWrZ7IH0MWV+V2TQ2rKGI2XzsR7c=; b=HZt0Nb9VoTQhK6NM X3fZk6FgEynpW5mYkivGYwSJJn9ZaKGc/XQVhnE57A6aAzZtXk0ok2obf0nPUi18 5r5JUVCPH6AsAz2xmk45GhF+ZvvuNhCLHykgzfEpbgIE9A5oup4zh2VJyn5XCTuQ FIh6mV6Rs0FzK/tkbGlJDW5wkxOIdmsT+X6XmyKwJGlpMNrogGfg6E2b1OOXvivG tDmfOrWNu4CFTyGEPk+JTeSu/4AG1Hqbtz4uc7u2JL9h4QJmwE8M6jKQzMtALTAG vesk3jVWzCFBaqOLjW8uHs6xmV6CzTUrvfEak+zITneFrLjN4CbiSS/F2hWeVCbN wF3fOQ== Received: from mail-dl1-f72.google.com (mail-dl1-f72.google.com [74.125.82.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eyp29gkm5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:39 +0000 (GMT) Received: by mail-dl1-f72.google.com with SMTP id a92af1059eb24-1384427c3efso7294169c88.0 for ; Tue, 23 Jun 2026 03:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209139; x=1782813939; 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=ItuDPn030Sz/KpTaWrZ7IH0MWV+V2TQ2rKGI2XzsR7c=; b=SJhA1bpx0e8+x4oBlM3VK6ZhPuv73IWHsIyauJyCdncZWA36j73uSbzWw57k0Wu/1R CDiKNjIccvTepjAoqmX3glzN0y/rcR5e1k1zOvH4Wf8SH49SsGhlRxIKZloYfjvoweRF TCmivdV0YSpV/XZ+Fxf/zSltGa8wDQn9ucSwISQabEvhn/gagYW2nU2Udjx5N9bWwz1Y /MD0xE8cNzTeuQak5uAIhAS6/YB/qHa3powzr6yTybVXi/tAWUHMxKSXRn1YutDQyXoJ +d4vBQT454wTRzNP8Y4fWDtkBLc2M87ShIZy3VkGc5/iXAnZ7k1G8CjJN//JUHsx7Ur8 +5Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209139; x=1782813939; 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=ItuDPn030Sz/KpTaWrZ7IH0MWV+V2TQ2rKGI2XzsR7c=; b=Ll6zDrmCY1TPNRr3eb+RkEdDfcDOCZaapQxULlhR4X7XtEEt8pLQl71dCiQworuIjp 7gKXjAagucqoE5ttGcs5rfxkAYvCA82V47V7rpJcklDzatSKid4Q6XzOjo4ajFrANzHH FBfbQlaipaEyYcYVeMaX69MyzfylxEGqf9UBlYH2TgeMSw/GAkAt/Zjz6grFQj2s5ym5 qqU17Qfd+vIcLa6IHHdedq88dRhue4e0rPshTbYkxMPrepGSxCJAVntlkggchu2rKEgJ CgxB5tKS0VDDHWxbuhW4uWYgZ29cxCqHVVdy/S7a/EmpwRiCM6SLS8G3WzZxmzl2D6Hj /rhg== X-Forwarded-Encrypted: i=1; AFNElJ+OJiSoQCWUh2hGphVo/WgT/g8rc2CMsYQ5k75v7bNh4HZ2y3BekSSRBVSIAXJ0CXbE3ByGk3eazy7JCcs=@vger.kernel.org X-Gm-Message-State: AOJu0YyL67+cXoN40vRsbN6Y+5f0064AB4Vq8/hNMArzG/5xmaDMJYa5 ltJeDU88FYoGO4laeyosi9MW/8TQyi/j6FXVanZUMk+UUhMoqctOtuAERw0kvviZSNyNxIo8uAS dL7m/il9+kOx4ts4Knuu+4g/xaH7Bygwoyyhhi8JuHDY48GSuztsNeiniyqDQtpgEge8= X-Gm-Gg: AfdE7cnGtN4eUjjOOeIlekc2/HTu6To7dhrOHUS9djaUjRDgTB+kjvEConoKPXPf7dL ITnRuAGAgxA75+EYtZxDiD4KLw+1iX9xF/vLT4bpGyaNcUV0Vx+ynXqFg58avCSj/qS3JHCu8LZ Kfj6KWuc417xb5yUDGH++K1lf9UdtJedMJqc3jSo6ZX87lC52J7TzlRkDEh/WRxnIKilHVSu/M0 jNNM8+BmHrtjYBmUEG85tgsUwbc/ir50lsy+tCA/sTmYNr0f9hbH1fx/4xf/G/eqVl5S+kBeZMu BagN9Aq6a2x5ZhD/PGzGCnk0znV98Wa41Fc2vIT/KQkae33FL2VlK/1EBIcu52zqjdvaCLs7cha O5LG75ZEY6PwvhXWHtwQvHtcRg3uMaZGTufUtWweNjguYFI1D7TCZIsmib7E8dQ== X-Received: by 2002:a05:7022:6614:b0:138:2f96:dc0d with SMTP id a92af1059eb24-139c5d059dcmr1387876c88.9.1782209138811; Tue, 23 Jun 2026 03:05:38 -0700 (PDT) X-Received: by 2002:a05:7022:6614:b0:138:2f96:dc0d with SMTP id a92af1059eb24-139c5d059dcmr1387855c88.9.1782209138088; Tue, 23 Jun 2026 03:05:38 -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-139add5824csm11607495c88.10.2026.06.23.03.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:37 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:18 -0700 Subject: [PATCH v7 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: <20260623-knp-soccp-v7-2-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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 X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782209135; l=16191; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=VAQAb4bSOBDcsfXJ1hNf63PoRgGAYkpk0B2R6P1Kp2Q=; b=hFiDVpfUS6wvqGHuAZbCab6dBwAIjx79NUtyKc+/iBAfI7V47UqBR93/jb8+5Siw7+BU4pTRl 8xyBmSB3Fy6B1TN6k89y59XEIXq7yIHMY7bDnp0NADFXvLsrdQBDwX9 X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=LdAMLDfi c=1 sm=1 tr=0 ts=6a3a5a73 cx=c_pps a=bS7HVuBVfinNPG3f6cIo3Q==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=7WW1IXKuA6bLCH2mmpYA:9 a=QEXdDO2ut3YA:10 a=vBUdepa8ALXHeOFLBtFW:22 X-Proofpoint-GUID: r1aD-qog4Jbq5F_pHqK-2qjwdwU1GWmq X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX8CQwoH7mQAAg a3TauZGi4BmiXmYpWFdUl7D6Jf6ZHK2fa6QVl/rgyGg8U6uKvzbBESK7cfu4HnePcM6ywiQm1B/ VsRYfRUGm4ZYAFHR45OvzufKll7XhfU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX24DRzoIcwWSu LRoA6oEXXYUk3V+hORSsderFmYyHgMGJQyNrWEQUjL3JZH7cxY3rvaINQLwpbBIxXB8X5hqipCN ZN5SqmR0fUT7iBVcZWDAxbiypuiqdyx/uH2HZDRPPLKe0k6EnLbbwag5GOos2WBxhKTiZ0XqwQ4 HlN2j2g1pAKM6t4/L05T9gneUwsQeEZezBNC16Y0W7rJsIOzsBdNMhon/rIqZOdjPoc4dIquAhG E2fuEq7RgZHH5reVxZ43Pt5FTzptInSClY5jDw56kZ7WSNl4l+UYlVEEQlxeLwojcLj7oT/eWAD ZMcPTjrmFnpOhhXKT2oFFSvlo/Xwf+ss1eS7CKF74awG7XqymUvoboOA8FrjYVWhMr1jUQbjCOy Stsn0JnfikhXJvGN3gPfVWAA6kG7NA== X-Proofpoint-ORIG-GUID: r1aD-qog4Jbq5F_pHqK-2qjwdwU1GWmq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 Move interrupts and interrupt-names list out of pas-common since they will be redefined differently for Kaanapali SoCCP. Signed-off-by: Jingyi Wang Reviewed-by: Krzysztof Kozlowski --- .../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,shikra-pas.yaml | 20 ++++++++++++++++= ++++ .../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 ++++++++++++++++= ++++ 15 files changed, 246 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 4607b459131b..3847aadfa980 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,shikra-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml index 253b14eb2b59..34a2f15e9361 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml @@ -51,6 +51,26 @@ properties: and devices related to the remoteproc core. unevaluatedProperties: false =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 + qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array description: States used by the AP to signal the Hexagon core 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 9f30a38152a3..4721c04ce09b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -75,6 +75,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 Thu Jun 25 06:38:52 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 582D3370AF5 for ; Tue, 23 Jun 2026 10:05:41 +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=1782209145; cv=none; b=KitBBcBPRDZkv+6hXEk2I4b1JXM4y6Vq+XLKMHLktM1LOOWgapl9Qyh6kzk/oGNdvW+6D00gDzLf73GHZKIAPYnqVLPvieXST4l6LiJfjd+MV4ujwaaOmnMLHW9YpCDRXGp/xvx2D1ezAuHMyMTPUUaHsTvBvGBbE1ygjAeB+sg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209145; c=relaxed/simple; bh=nXiAAawPLhLJRJm9YSj4W0wPzaTUh1FOFk1/klJrMyI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tprW/ZvHApmD4+pnWcaVHCF4civbWA2MQEMqeJ+h6HBEZBSKJ7d3Rxf9xiG4l6jFz5XgGv+Q3vob6knxWAIQETpm2elgPlD8PBLXHZhpdsMQbhfC2ab9nCOx6yuDcm0PP5ck9cjoYZq2dy3WqNNgninA7XtNU0w5WaU2/nEgE9Q= 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=ObLtrWxK; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Pwos8aYF; 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="ObLtrWxK"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Pwos8aYF" 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 65N6cbJV2992191 for ; Tue, 23 Jun 2026 10:05:40 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= 1xeHnULDfR0iY7GZfQIgnT5M4WB6qHmJdqawGsun4bM=; b=ObLtrWxKEDNxJmHy xckJcTUlCrVo3mV63uUk6fONTC+iDEpbOQOYOnWnZ3nHlPAAmIyUohu/Mfweif2t s/oFFashmlC9cL8JFnMtH++/33YbAwD6TiVAkptRxXFUOS1PSw2tz2uRL1jBPgL8 lu0PmGU8ghZjwegbYzXOLfhCHkWJzH03UoHxIPLv5ckRtNemVYAMo2whhrB9nqiq c2TxI1/fqcNCSzGoD+jLWGlMD0cWD06s1zAtBHQu8GGjBQftzmIJ1oiK2WSyRQcv +Rd+ocneZi1M6uT1pBunByVOJzh502wsGeXpXxS6qV4QhrpmEwpuag4YEZ+GL3aV bYd+RQ== 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 4ey729uvhn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:40 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-30b877ee493so1023175eec.1 for ; Tue, 23 Jun 2026 03:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209140; x=1782813940; 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=1xeHnULDfR0iY7GZfQIgnT5M4WB6qHmJdqawGsun4bM=; b=Pwos8aYFcU0dF+876dEspzQHzJiY83mEZu9Gp5eMQxRbePbEty0Kw0gBM2EUpDLltg shLGITWqhwMfquvnsqBHb7Zn9BNG+SFgO5XmLqQJlgOrTTa5iWWh843WnKBT16mwjBXA dDZW3hzlleoYyjkZtaSRUoerXPBHeP64S0TuwaAMreP8moNN7g4oPRa3UxOD03JQioOg YkoiNM+PfLQYtgvjzupbgsxPjCFcOg1l+XouhVkA3CR29x5/SEiMLisxjhcr4ROrsa+Y zFQjPBxFvSItjNOuaI/OJEE0m/rxMBuO+F05lP2HPUoKMayYZsdXH/MUCjfEbCiU6v1E 4pnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209140; x=1782813940; 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=1xeHnULDfR0iY7GZfQIgnT5M4WB6qHmJdqawGsun4bM=; b=tBwUD1SvbwzdCkSLXIbjt8d2j/KyBHBFKeGJL2P78U1zayz8vcK96xC5c+d2wv0tWf Gf71qmVYBZTaaCjZ1thm1BGBSCYgUtG9TI/hOsYTbfjH2q+jXvHirsABgurO+cBJXi/L KCROVU3FTQcrs6VjciaklB/iJyUtCdy8F2FU9G4L2BumCysZo06/4Xo6jzvpt3FofRv8 FkDh/q8qTiAFoxFxFx0f64Wm7CzAfw2EADC8pZ4ouNfhZ1AnIAReTwFm4mLgJLY19ctL ETOWGpJMwApAYLp4JlciTqTGXvMvsL7st78AFNzZoS0qcCRpLbuThffUP2Ts36KN4Kmt 2dCg== X-Forwarded-Encrypted: i=1; AFNElJ/FRKhQwjEdZIaFLG4Pcer1dCQKR6Ci9p03x8vb/wB3FDDCFbNp9EqwePzE0/AMNmPLFPMEskBKiNSPdNg=@vger.kernel.org X-Gm-Message-State: AOJu0YzUBYfsy8XgbiDJrNhx/vNMi85MFW2UoT/qEjNHE/+iuOFr2sEu TY4lS7pwjRZrRfnLXTD+g8PKcjzfjwCnsFfL/HhO+D2u2yT/RLabqRq6yIKkbZHOLlUDnxr0rIe gKZ7dOtgEz2D68k+c+6Pq+QXbuDM4hdatjNa0AFUoDuOK4ClO4jJbu1zWOScxlyS95tg= X-Gm-Gg: AfdE7cmKnPfD9Sb3NJOFeZ/tgKTyr3bL37kEmhMeS/BQjczbgZRoDEJnvybEcCncYRK AmAiY4uDiP5Xhz9p6bYn+3fMx6OjK/BkEAGO5nNPH3IKzNr8LyP83UmrupdXXtSPoeNdaT2UShx aAVpaV57aDpJREIGJsaucT+uHoX+oSjhdAZ67mdN9M+C/Sd1JK6KVyTCd9sNj4qFz7K0QiEu3X/ 28oV2yhcBKDWOY31f6XeMHtf7+dRVq3x9QXtze6gS+yJieC6zK5IDiae+Lt3ZVpLVg6bFQrwBQb MSY9Ca56eicVXJEq3lHdq7m2EAswn+7Gi8OvL4aQ8NrGamuHyORyJKwycsM7Y7Z2GdEyyEzafpz NUTUY8bSEMAZMR9BnzEzr7asPa72Z9ScYpyVNT+yaoY4F2EaTfMZ4bT5t+KZMzw== X-Received: by 2002:a05:7022:410:b0:132:133f:63a7 with SMTP id a92af1059eb24-139c3c4c40dmr1889577c88.8.1782209139826; Tue, 23 Jun 2026 03:05:39 -0700 (PDT) X-Received: by 2002:a05:7022:410:b0:132:133f:63a7 with SMTP id a92af1059eb24-139c3c4c40dmr1889532c88.8.1782209139182; Tue, 23 Jun 2026 03:05:39 -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-139add5824csm11607495c88.10.2026.06.23.03.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:38 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:19 -0700 Subject: [PATCH v7 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: <20260623-knp-soccp-v7-3-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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 X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782209135; l=16906; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=nXiAAawPLhLJRJm9YSj4W0wPzaTUh1FOFk1/klJrMyI=; b=BeTaDy/5mQ0UDAQ4GOU2Gd3nX9Mcksx9QeDR0RV0D4y78O0r4Py5381x0VyuEgPK9qxzC2bXQ GoCzFYfGRZYDmvlJ9YwOmkbKkQi+akCc0kR3//1wd3LdkZIvkTOEedB X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX85ca+ye/rb6A 6+tCNZSpbg3h1aNV0PSIDRINhxBK2hBckyNdzwxnKoMz53WYmOSvxYNxUfikw71pHMUuQODO8bA kCinae9DN5v57NfrMobOQjV5HR9GDho= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX5H3tthWaPs5a bUNwwklkJk0PmH+5LPzzBesYzoVlYQG7Pj6Rau7tS2xcCL63aF/V1VeGv/AsTpZLoMPbd3zc3zK h7aUgRempf6E40zuR1/p3eMyWINKa0jj6vamRbALCWOuZO/quU8BsSjbqz+EngMm9qEwaTwfygK U19Gf5Jd2U4fOe6JkLN89TDRkiUT0AeuQST0NIu6ShszRalrXk435wLtthq9uQeGdDFxrX/yzoz cSFmd88PE5lAgZU0VQElZKJNclQC9sv+5piDyTZFpVLnz1mHhEFMPqbeisAvmaCT929Bv8H4sGd pQo1ufV7oQ10Lug6qE2Se+iOgye8EoQ8YCx6bOiU/H89dzLVS7JDEkmfd9ANELOW6pJyluIz1Ff qj79GdGa1L9lCgtRWQYnMxubY5b9OPvuUMtPJ0h8D+cbO4yGwqKXCIYQIL/Pm68YLuTSaUW7Loc HqutXvL27ZEnK7ZtoUw== X-Proofpoint-ORIG-GUID: TxYyptNcEDzsGa1Va_j8QpkIJ40TW4yw X-Proofpoint-GUID: TxYyptNcEDzsGa1Va_j8QpkIJ40TW4yw X-Authority-Analysis: v=2.4 cv=eN0jSnp1 c=1 sm=1 tr=0 ts=6a3a5a74 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=HRkYIiX3aUEsQExlndAA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 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. Signed-off-by: Jingyi Wang Reviewed-by: Krzysztof Kozlowski --- .../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 | 12 +- .../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, 269 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 3847aadfa980..11faf655f530 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -46,8 +46,16 @@ 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 + items: + - description: Phandle to the Shared Memory Point 2 Point device + handling the communication with a remote processor + - description: Single bit index to toggle in the value sent to + the remote processor + maximum: 32 + - description: Ping the remoteproc items: - description: Phandle to the Shared Memory Point 2 Point device handling the communication with a remote processor @@ -57,8 +65,10 @@ properties: =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 4721c04ce09b..faf7b2890de8 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -95,6 +95,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 Thu Jun 25 06:38:52 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 19D0C370D6D for ; Tue, 23 Jun 2026 10:05:42 +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=1782209144; cv=none; b=FvAcweGvMTJDKoaWEryEdhpRTcoDJSlvFxmANfqgTyWKM2NcbpiFN93mGPHVkp0QYedojUwLTamPWoGX5dDznJYQGKtE+uTzM8CJk6U7eKg6t/HWzTOeAVIXqan/h2tuTnxe5sfc6UNzYqeQqrdSUbuzTDKEnWzwM37v75qkRok= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209144; c=relaxed/simple; bh=rojkdL9HdJ8xwqHtrA8vSCQ/5DQ4D7fL/dKa23jycp4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VZU3QDMxTSmwzUaI0sbETshO3Gt1ier0vyzHeC/ziE4ec+l3RISf96EnTPd19kWI9c+W1gomUAgNy1e+GTA7Ksmn/34VXdGUqfL331H8mEFwz4Vw4BaWVaBFBVZutVNS+thviCC/GCBIYs4DdLDYYNLwHfBIsEOYIUXaZw1TYD4= 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=acDN/84t; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DxVFnMFV; 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="acDN/84t"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DxVFnMFV" 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 65N6cfbh2992374 for ; Tue, 23 Jun 2026 10:05:41 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= lxdruZplTQcy47X9eQcAz6WzLI22oSqo7+jwO6S1zpI=; b=acDN/84tyMJDKCqf NpkvDkIu4Y1yiJDtNiflg21n5w1puD/MKVS8MhcUJdEP3/ewnH3IJtP9bl0LPkxy tNMOslvezK81/K4MFDVCfs7wp2bsTHEjQhSOdZ2cBTE0/8OVyf9qupYe5jSsp0vQ 4lUJwOh81CPpuZxW40vvoruA2rcOIgSFjuEPZ3CkQ62GoPZqIu/cIFNZ7cN2MCgH ODMzenMiSA2GA8Fsolhxy9hm091D2KdBNciS1ZSedK7INsqypLESzSjM6aS4QJY0 WsW8W+ck4es9vOn2QVpb8jSXX3Nm5+QjfbZBkIENwIi2YkGnvdV8wyMsZDRyuhl9 id6PMA== 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 4ey729uvhs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:41 +0000 (GMT) Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-137fc6f8e9fso6043181c88.1 for ; Tue, 23 Jun 2026 03:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209141; x=1782813941; 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=lxdruZplTQcy47X9eQcAz6WzLI22oSqo7+jwO6S1zpI=; b=DxVFnMFVl6JMR732LVQ/Yl7MFg7GtcIbs3rsh+PgrjxBkxKRi9eMK04U/CTjLC9URz GQKdE8nWOVBDg6D37SUzu4I2SSSfDCW9i0AHeMjxpLh+lJryJ1C7x7eSVokBCN0dlh+l HpFQihpq6UpKyLhgol71PUHHKtFkPiL54HctRbB49nUaKQVKRgxDxE2OwtGAE/x37euL Kql4bSiPkPfO/s/cgblHoTrnbwLDyrDCQAsxtbDGh/irxlkiZRB0ckyFmUWQaqkWNioU 6OEA7fachtF1POgi6mtlaXKQIAGu4q3gH+8r+h+QwL+Pu1QLD9mA/0trnGA9p4i5azcv MRxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209141; x=1782813941; 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=lxdruZplTQcy47X9eQcAz6WzLI22oSqo7+jwO6S1zpI=; b=Ws2+a20RomSXqKOsReVzAwaBLib1UeBUN4x3tmdwgeaJ5P1nxt1NLFIUBeYIG/iFuT C2BB2QjqbpAF2fv3ydTZnKrIk7jf/Vo9/RefT5viY+jC93g8aYGKGQEmD8OszIHioJ+v UuEmozGMZO6LybQrafA2fiTMp7t8lBucrF7OstxETTWGDJhBu5LgPUC0eal6vU+2iSEV XC8JrrzxEF18QBjaL052OqACfz0KzAJlJp0PV+3UfZR3NM7WRYOqlyRpZmsXtCXqQoTn CF/O9DXZoenhLEjEaXlRmvRVtnFTN07XJJYepnEeSyH7U35ZOYAJQd02xie6yKBwmcUV y8OA== X-Forwarded-Encrypted: i=1; AFNElJ/SdA3sRMgzgM0TTkT4k3Vst2zmcolUJ0LhAZr+ti4qlDDp/t39JKgXe+4+bWbxyXtywJlydzg7UyELOeI=@vger.kernel.org X-Gm-Message-State: AOJu0Yzmhv51k4rsaNcxLm2T5Zq+eDXi25W1dGFYfPFsZXug24TB3eB1 RFrYBUe6K0YAiL/wxwEb/nyL8FKK2a5Os+TkEnemp33otj3SBB7YTvP7hoxtqCkKHCz161HHjdZ iC8BrXFldfltH6ypSt2BJS+7Gd0zU+ONm5Zjto/HqMVN+RFq88BNxvwUMl1M+0k6u2B4= X-Gm-Gg: AfdE7cnBbgiRSw5ZDUQU0G6j4nNg6Yv+UASg/LGWniI/R5XxrNrB7KgnrrzdVXDYm0v RY6Fg1kf3rzhPAlpqWupEkT2j9DMy1U5isCd+EmWKkPGoYDYuUce+oEFgHaSegCH3EdQuQ6DVe1 Fcg9pUGEUsf3ZKMErBkzeclgBh7WawdfXSwibpILqYRtyXdAv2+BvtG9U4Vhdc/+5F2w1NsmQop ckH6yabG0qpCBssjpTFPfjg5lDw9jG3xSi/9KTML6i5raLPFIY0WliLQRdXZiqdvd4/dvVSLXeB 24LrNPKAd9b/pTr9n7CvSETeh4mbaAqwje362ddv3BcC3N1KnSISX5sxNzaCjINWvp9Lj/w40xT UtrmgTiJyX4cZPzvkIc+26LBAQDUUcjG3IflF1dL9jVqpa78AxPOu6NsCp6E6Yg== X-Received: by 2002:a05:7022:609a:b0:138:51c:c5aa with SMTP id a92af1059eb24-139a367c994mr10792777c88.27.1782209140770; Tue, 23 Jun 2026 03:05:40 -0700 (PDT) X-Received: by 2002:a05:7022:609a:b0:138:51c:c5aa with SMTP id a92af1059eb24-139a367c994mr10792750c88.27.1782209140242; Tue, 23 Jun 2026 03:05:40 -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-139add5824csm11607495c88.10.2026.06.23.03.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:39 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:20 -0700 Subject: [PATCH v7 4/6] dt-bindings: remoteproc: qcom: Document pas for SoCCP on Hawi and Maili 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: <20260623-knp-soccp-v7-4-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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=1782209135; l=1142; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=kVZW6MLZNlpei8K/F51SeFGWZUnYzxZeJH1Eb6nEyLY=; b=sJ+4ktaC4M6PlBcC3E/phsN9o/m79MIoi+upWAuG9RN/Bb5FHEfy0ywOUjLumMZTSIgMFVjtU jpwAFJqhHgfD0UweuaLuQcEwAJ21mNeDp5hNuTajXd20fcOcXOh6uHa X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX9VXYrMdTSpzM 6Uzx0YpCseRXFyNWTbFvU0WtSp5Y0zG8NLwHmqiwS5PYayODozeh1/ZrTAwUfPkxj+Q+M5FNig6 0KBZEFmt5S64TzhsD9Ntxs+A6hge8kg= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfXzL7KMBOSz1eb PPp5whM5ksM9USYgw19zz0r8XmOmktShpcYXoh+Yom2B8ZAHyI6VbKsfmCY8ZneNA8RpKy0QXAM Zl/vHm4u350UpXzMfvJZvJZ6RnQALYns+5IPKwNiRF8UmeguMsoZW5RdgYDc0JJboHPkIyzeljt X9apa5fM+CG7mC3VfWD3PEYA0QNf2vUKxsCwB/TOPQbNdUZ1faGOQpDtZQ0GUxn8ji0YphEmau+ lWEJJJzHkZBNxdPWL9CMuEMExxri3Ap/5w9ezWrjkyYLlYCotzDCCeDmtV95VoY0efFNBLAHWvt pPOslqQymDABCqVSFrZ+5YFnKGFmraHNtk+T/BPRaEOApOQH7L1meA7xHzPzgBSlDiErHsM+Vvk l/gJiSByic1qKgemP5vrgbffq2wMGuPGskbJfUP/4wGklO3mZUrG+Nj0NQndbEVYqpaVZzyqfd1 KFv2AE/GMKzAqMrc3Qg== X-Proofpoint-ORIG-GUID: qVFNRcxxBPRhqTctNEBhnVuYiaFxBD6g X-Proofpoint-GUID: qVFNRcxxBPRhqTctNEBhnVuYiaFxBD6g X-Authority-Analysis: v=2.4 cv=eN0jSnp1 c=1 sm=1 tr=0 ts=6a3a5a75 cx=c_pps a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=hVlIsfzSNREJ4Nl6LHYA:9 a=QEXdDO2ut3YA:10 a=Kq8ClHjjuc5pcCNDwlU0:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 From: Mukesh Ojha Document SoCCP remote processor used on Qualcomm Hawi and Maili SoC which is fully compatible with Kaanapali. Co-developed-by: Yijie Yang Signed-off-by: Yijie Yang Signed-off-by: Mukesh Ojha Signed-off-by: Jingyi Wang Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas.yaml | = 2 ++ 1 file changed, 2 insertions(+) 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..8fd6913e414d 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml @@ -21,6 +21,8 @@ properties: - items: - enum: - qcom,glymur-soccp-pas + - qcom,hawi-soccp-pas + - qcom,maili-soccp-pas - const: qcom,kaanapali-soccp-pas - enum: - qcom,kaanapali-soccp-pas --=20 2.34.1 From nobody Thu Jun 25 06:38:52 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 59CD536EAB2 for ; Tue, 23 Jun 2026 10:05:43 +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=1782209145; cv=none; b=f3WYkTAjVU33rB6Ipa2mb814bFgjcC6QvHg2kYVihL7ScwaDcvCXhkPijfysv7d27jklW5mD5FICEJx18zFIffuj01qPaM8kkx5rDjdAHl+yRrRKvdFiauXBH11twNCJohJuon1d+gUFaVu6HXQD4HYbJ/1RaRWuoi/Uj8OIdIo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209145; c=relaxed/simple; bh=7KFr550cWvHxKyQ9CcCG6oCAK+uV1dQAvp3/3+OTIRU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LQU9mGzR4r4fKlX2fVZymvjHM7G9MJIl0ez/HKjYUpNipjXiDWEi17intPapkwBCfL8TfEKxYY25vR8tR1vjrTA6H6It2AgzfPmKurdaN9MJ1nynpj9Bl1aKozb0JhJYKJgql3eF7eNRlOVWpRivEG8Qj26Y6A2GrVsSM+UzECo= 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=WRK4/Mlq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=eETBDknB; 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="WRK4/Mlq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="eETBDknB" 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 65N7jOcT1778429 for ; Tue, 23 Jun 2026 10:05:42 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= T/N/vYY+Gi7+uGnuQk94OBv/y9moy0GB3wWdee/AsGE=; b=WRK4/MlqxndV6Vgn tBRNMAPZycj5cS5pQfSEN8Sr4r30jyqqSyYVoyQgvr/7bnLhGP5aGSyFPHQ5ZuqJ gJYYoNNproZrYvTpwfoXJFnPcSrbEq1sD0VlJmY6cbkTOaLwf6VJ50vTQ/I/TOVm E48y0oF5lMU0Lc6CvgsGLkkEYlQBWKo9kp8/jXNfGbAqsfGw/CIgQ+xZH3tpZY9j AGCepZxDhzXj1BP4FoYRop7FdmSXRLGqSMdB6yPIf9aR5xAj9JiOC3PIIdvSGkxm ZdgWQW20hTqZRaAjSPMQ7ththa+rXejdOnjf4vz4w1CqzjgalVEUiTUsQWqf8Hmi u9I9WA== Received: from mail-dl1-f72.google.com (mail-dl1-f72.google.com [74.125.82.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eyp1grkp0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:42 +0000 (GMT) Received: by mail-dl1-f72.google.com with SMTP id a92af1059eb24-138acbc0e69so20038936c88.0 for ; Tue, 23 Jun 2026 03:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209142; x=1782813942; 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=T/N/vYY+Gi7+uGnuQk94OBv/y9moy0GB3wWdee/AsGE=; b=eETBDknBnNMD9IqIeHU7jvFEJlIUI4S+sIJ76i4Fwz84wn1E4dQuFk4QVr3RuoiPsP CMSjz2DD7GjiyzPHhMs8y8/CzqvS41tsX5Pwwaqufj/5dp7RPvxpSxq28Yj9Cb5aJq8Y gXuJ3CMa1CiyN69ayi7s81u1C/GNu/7bT5vydcBFs1uIyfv+5iHuQwwb3f+AEGsWMN30 BWSs0fq9hglB8393OgOZyH4/qDkKfvtmjsGy1k5KUqSl5F1U5/VW/jLt+i0QdjVKVxoO y9ECF7I9A4oKfJKFoE/4txgOoAv6us6XqPXqTaYJcyNBrwzzVy/fijMgFgHqwiPyUvuZ 5V5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209142; x=1782813942; 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=T/N/vYY+Gi7+uGnuQk94OBv/y9moy0GB3wWdee/AsGE=; b=irolB7EJx7fel5GD9X4AyVlzuqSVNWiWktzhWZkvh/sui49Si7yHRTHt0y3vf8Ic7u aEKDitKe7Y+sHh7JDG8PNp99Bh2Pqgjkkb2JkKMfhP0i+It78bHfHi+WCHwAxsSQfSzT 2IHaHdFn/kpjqd30P+0+msd5y94I9pLBFOS8L5Dwp7y9DY2YEF4icytjegqk76iVVHtJ eyyZKaiO8M5qRP8rqBoKz2JMtPjOUVQ3vWcoxkkGwbFYZvYp4B7+jACxtcUEE4htSspf krO/OTjbOzS9X8WfsHtWrPPnDi70ARIRQjzvBfw1sbEuvCDanu0M7ih6SFvYNiCjXtPi 61SQ== X-Forwarded-Encrypted: i=1; AFNElJ8r6t2OinHRXU/e01AjUxB9wSoP1JAlUx2oqaNv2msrhCroawbv5pIvxKYRNC7i0X8wQTR2bubANh8NHCA=@vger.kernel.org X-Gm-Message-State: AOJu0YwXileSbfBOqgGxq5K+kOhGBJ5OOzC7GZo+5jWnL7EdYFKwLs2r n2H8eCfePkY9U3fcFQJY9odOT49ZbKJzeHow2ke688AnQai+vg5rhyZDQwvetfmKCclK8nmsdfL ePKNR9jnJ9QdgtGAPXOdGW0c0MIOdrXvaVhMrBkc+8ztUpwP1h2aBdgtm1XSFh6SgVEE= X-Gm-Gg: AfdE7cnAYzuSQtXO8jAWa0F0miyx+dhljGWg5eBu0aPSAvoeGnlrZdMahtuKjRZ2BS7 TwtQXjKgXUZrfkacLusV/MQlXuPyFm4GWcqQ6BZUAc+wnW0aDk8h/Qj5jMPNagHyj5CAGAFdY4p Hhb8uIYBr01s6vuRToYua+tDmznRCSXMn9H20KQ2SlfP+IT7IfkGE124Ht9LTr7S/9Y8YsTiEvq ncxto7A04M+f+YEn64IkIl2Y5V54/N8X+tUJcuBnlGKsksn8iVjL6Nwg2BtCOjUK3yJg/wZVUh5 12K+mJlJMkUzWl7wsZJKB72DeGkCnrK0qciROIY+0LH3UaFyPKRK15ZzGCdq6iR+BYF5Ex0erKb n9BrTIrdg8F00HoXdQtzz87pTz1eb0cSn8GJ/sFKDjp8pUOFLvrg8UjJDCj7+/g== X-Received: by 2002:a05:7022:3d83:b0:128:d4be:7438 with SMTP id a92af1059eb24-139ad71294emr11455116c88.30.1782209141828; Tue, 23 Jun 2026 03:05:41 -0700 (PDT) X-Received: by 2002:a05:7022:3d83:b0:128:d4be:7438 with SMTP id a92af1059eb24-139ad71294emr11455072c88.30.1782209141317; Tue, 23 Jun 2026 03:05:41 -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-139add5824csm11607495c88.10.2026.06.23.03.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:40 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:21 -0700 Subject: [PATCH v7 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: <20260623-knp-soccp-v7-5-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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 , Shawn Guo X-Mailer: b4 0.15-dev-3d134 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782209135; l=6724; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=7KFr550cWvHxKyQ9CcCG6oCAK+uV1dQAvp3/3+OTIRU=; b=rrZTqCfrp8XYG0OoeNmZgHiyJKHYsFvB+11avWSy8lfhAKFi2Khc7PP94S6Q2XySykpdKbDIY Rpbp4olJ/F7Aoj+ItNQXo6PnySbpEDLGUCocbaB9D+8Suu5zo6bdkm8 X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-ORIG-GUID: suNX-Ots_D3rtCyJGBCHLMuK0vH4mtr4 X-Proofpoint-GUID: suNX-Ots_D3rtCyJGBCHLMuK0vH4mtr4 X-Authority-Analysis: v=2.4 cv=QJhYgALL c=1 sm=1 tr=0 ts=6a3a5a76 cx=c_pps a=bS7HVuBVfinNPG3f6cIo3Q==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=KEoK7t2FL3BCqjfwJwAA:9 a=QEXdDO2ut3YA:10 a=vBUdepa8ALXHeOFLBtFW:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX9BjKUQPRNTFP fjJVRsHAjfMiOCib/cjmydlpXqjs74mh92R8FTMNWnX/qIcJSQVYUSIGl7Dh8MbT/aleXciZt61 FhSZO7vjBHrGTXy8xJNJe1WwlkEv9RU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX9EqwPhVi+//4 HSPX7D0AkIbGLXRfOHxTjFlr4gTg6jiSEidAzdHRhxyZo1WBjrUPRUV22sds1tNS727FdT25Zjp Pi6S/dkOR1I1T4rnNnwcq1NRw+yPeUoxqfXzUBE+ciugSKvB1xVgpTGIWLB2q7GTv39NJZODq28 UoQEfXZ3Dhn4qkQJUUakqMIMAfPKRhO3KjiygACvW7h+U/HinKcDQVAbB31osMv0lPLviIJsPEH HIJxaBG1y8hZ0Cgfs8MaF4wSjz+P6Yx/Y8qJ6y8napj2PftTwqzIeRVoCh6VCD6b82ucKuuF64x TZjrK2Zb6sP9xic4+Haj1c/o2h2XEJwy+STceqEs6ZwWtJSvEsD1oIuxcLsyJOaEKtiu2fgUOeQ HUQ/xbLANrupqc+z8G+oqqhskGvCfu+8dC05w63SMSt5GlaEw/leLlCrwtZkM7GGvOHjmw+TGjA shL6iHt0dl6Vf3EvJhg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 bulkscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 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 crash state is detected for the subsystem, rproc_report_crash() is called. If the ready state is detected meanwhile stop state is not detected, it will be marked as "attached", otherwise it could be the early boot feature is not supported by other entities or it has already been stopped. In above cases, 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 Tested-by: Shawn Guo Signed-off-by: Jingyi Wang Tested-by: Mukesh Ojha --- drivers/remoteproc/qcom_common.h | 6 ++++ drivers/remoteproc/qcom_q6v5.c | 3 +- drivers/remoteproc/qcom_q6v5_pas.c | 68 ++++++++++++++++++++++++++++++++++= ++++ drivers/remoteproc/qcom_sysmon.c | 19 +++++++++++ 4 files changed, 95 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/qcom_common.h b/drivers/remoteproc/qcom_com= mon.h index b07fbaa091a0..b0e7e336d363 100644 --- a/drivers/remoteproc/qcom_common.h +++ b/drivers/remoteproc/qcom_common.h @@ -68,6 +68,7 @@ struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *= rproc, int ssctl_instance); void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon); bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon); +bool qcom_sysmon_shutdown_irq_state(struct qcom_sysmon *sysmon); #else static inline struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rpr= oc, const char *name, @@ -84,6 +85,11 @@ static inline bool qcom_sysmon_shutdown_acked(struct qco= m_sysmon *sysmon) { return false; } + +static inline bool qcom_sysmon_shutdown_irq_state(struct qcom_sysmon *sysm= on) +{ + return false; +} #endif =20 #endif diff --git a/drivers/remoteproc/qcom_q6v5.c b/drivers/remoteproc/qcom_q6v5.c index 58d5b85e58cd..a11d8ace554b 100644 --- a/drivers/remoteproc/qcom_q6v5.c +++ b/drivers/remoteproc/qcom_q6v5.c @@ -202,7 +202,8 @@ int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, stru= ct qcom_sysmon *sysmon) q6v5->running =3D false; =20 /* Don't perform SMP2P dance if remote isn't running */ - if (q6v5->rproc->state !=3D RPROC_RUNNING || qcom_sysmon_shutdown_acked(s= ysmon)) + if ((q6v5->rproc->state !=3D RPROC_RUNNING && q6v5->rproc->state !=3D RPR= OC_ATTACHED) || + qcom_sysmon_shutdown_acked(sysmon)) return 0; =20 qcom_smem_state_update_bits(q6v5->state, diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index 808e9609988d..8a0bb4b2e71c 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 { @@ -507,6 +508,67 @@ 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) +{ + struct qcom_pas *pas =3D rproc->priv; + bool ready_state; + bool crash_state; + bool stop_state; + int ret; + + 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.stop_irq, + IRQCHIP_STATE_LINE_LEVEL, &stop_state); + if (ret) + goto disable_running; + + if (stop_state || qcom_sysmon_shutdown_irq_state(pas->sysmon)) { + dev_info(pas->dev, "Subsystem found stop state set. Falling back to star= t.\n"); + goto unroll_attach; + } + + 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"); + goto unroll_attach; + } + + return 0; + +unroll_attach: + pas->rproc->state =3D RPROC_OFFLINE; + ret =3D -EINVAL; +disable_running: + disable_irq(pas->q6v5.handover_irq); + 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, @@ -515,6 +577,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 { @@ -526,6 +589,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) @@ -852,6 +916,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; diff --git a/drivers/remoteproc/qcom_sysmon.c b/drivers/remoteproc/qcom_sys= mon.c index 913e3b750a86..a0830a48b1f4 100644 --- a/drivers/remoteproc/qcom_sysmon.c +++ b/drivers/remoteproc/qcom_sysmon.c @@ -736,6 +736,25 @@ bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sy= smon) } EXPORT_SYMBOL_GPL(qcom_sysmon_shutdown_acked); =20 +bool qcom_sysmon_shutdown_irq_state(struct qcom_sysmon *sysmon) +{ + bool shutdown_state; + int ret; + + if (!sysmon) + return false; + + ret =3D irq_get_irqchip_state(sysmon->shutdown_irq, + IRQCHIP_STATE_LINE_LEVEL, &shutdown_state); + if (ret) { + dev_warn(sysmon->dev, "failed to get shutdown_state: %d\n", ret); + return false; + } + + return shutdown_state; +} +EXPORT_SYMBOL_GPL(qcom_sysmon_shutdown_irq_state); + /** * sysmon_probe() - probe sys_mon channel * @rpdev: rpmsg device handle --=20 2.34.1 From nobody Thu Jun 25 06:38:52 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 40A4E371CEC for ; Tue, 23 Jun 2026 10:05:44 +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=1782209146; cv=none; b=Fe/UJcBKoK0F+ILPWpivsOmySUtLE5AGvUJooI+CBtb9MPIDyuZC/87+aSXRQjB05FKHsZDHwVhtnjv46n5JLzsiiRJ5SoCEF9V25ttgA/JIpuB5kB54nnLkXGuJJcyYIZVk3tO5fX8cvwmLWgR+oN91P1oWxewFuSRjWw99VY0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782209146; c=relaxed/simple; bh=LDEf1yOnCnDfS3qRRj2JXTv0cT4mYQsmy7cmAYMnlvs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uYWNY/yzZYT1ohx+j3JzxpNIYU9F/qTvfM7KfAsv33iyegBSCZFbYyggOF6YsumOXr+uOxH/1l5568d6bS6NB+fn6ZKitDmWj/0ql4NxHP8GIX9A+w2cvHdv9zG/QGf1QL2hVTja1xHfIlq4iuaLWqfAjVnc0mlZdE1Se8fMpWY= 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=EIc/eZuB; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gu/H6D9O; 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="EIc/eZuB"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gu/H6D9O" 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 65N8kASE3354712 for ; Tue, 23 Jun 2026 10:05:43 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= bc9Gq1dJvi12WTS3VXEXEna53dTCi3FoTXBLlw5ECQk=; b=EIc/eZuBoQ5off6L +3KENKfJgfxyncCdNG2ZQsxcLeFCT61zX8R+H0rGeUEYjNjKbv7m80ykC2UGR0IP vjZKvsTDSXaHJVHdr5//HOIm5HejKJPIiFDo2mQ8fFF3ah5gD7d/AeTuSdf/TVKo zBQFbeegNVmPREPcqXMCLk/C4y/nU9TlLfJjv68UFX2uvQm/fCvS9mpWOisvQgDy AN53AVXoxUqr/bKogMKFxc9HIVXU/AMeMBue4trMcJWH8UHY3Rh5d+VxNW6grAWw cEzGwb/EHrXoJy9Vl/PqiBmirPwOieRqdvuVhr1/QWr7IRFexfjSs9kMyTJekt1G 3gpYKw== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eypx38cx9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 10:05:43 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-30ba395b047so5086215eec.0 for ; Tue, 23 Jun 2026 03:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782209143; x=1782813943; 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=bc9Gq1dJvi12WTS3VXEXEna53dTCi3FoTXBLlw5ECQk=; b=gu/H6D9ONx+pf0ZrOFr34fXV9BETZH/NZHtlkD1d/fnuYErsCglaK0fW17T5OmyLz8 5H0EpsAcKaTAS5oXgfSRvbBK30M/QaXot4zHs8nIdhs7ZKLp6C0+KXlqMfDr+8yAnx4T sn5pqSSuRioAy1AePTfNqkRTWegl9RmAdpQrVzpjMKX/kEjZlj0uhrPKYT5TCUiYQtr7 jwvn5QP4DW6R+dwT2hM9QLqVVctnJcJJZYcNjrnGMhl32z7Uek4ouibFeWYHDE1FC3BT aUxzomR+0Q7PoVDYTEgaGTJnYT6wnHilHSMN77+JcgpkeWCeiYEf8RrZlVQFVKkfaLuF L8vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782209143; x=1782813943; 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=bc9Gq1dJvi12WTS3VXEXEna53dTCi3FoTXBLlw5ECQk=; b=hJJcN/2eTe3tz0w+f3Edx240tDj9tiJb6KD5772gi+47oF37sZ6cQzATCMkq3zEigD YshS4CatsqOWNO/3fUD0fFanF/ZZ00upIaxZhMjpfNlnz5U778+YgLAGEcDbFEB0lMaB d+aX2677wDoz1TvrEOYweoXJZ7+g8jYWsQ6ROz8ohIFOd56nzn87K5KG+0OtQpiuNbhU ZmHQLDl1BV7obZu4EeXNp5R/OuvFai6geTvEuvSP3bCZ46VVTwtMc73CbwGruvnprYxs 2y6zYfyTNfEN/gJRRmCRXytwyG1ejMPl2CIs57CDjb2APj+zytB9y6aX7h81krMSK+8O cf8w== X-Forwarded-Encrypted: i=1; AFNElJ9d8ZZ2PeXr9QUqndjam4nDMgitp8IZ0tcyT8BDIz331PSxZk7J249EVpgsWKzbbwaRWU9bDlLDTJ9zhqA=@vger.kernel.org X-Gm-Message-State: AOJu0YxqEMBXpxqUGTvDLGydtp/DQGMQ0lDtWj0Y37SkPM04zQGrHZQW Hia7llNdIxyiOCqG9eQa8lv4rbWewxiXiWy0RiqGWXS9xCymiDe5hLyJHPQ9D4iX1DsRW92m2Na 3ZuXDA6ZULt0K1iN38l2ou0M/X1Vt2evihyKSU5PvhxD6Bo1Ybo16ikO31H22Doztrvw= X-Gm-Gg: AfdE7clTo7+Ypkj2Ovw9IDvGyXFshOC4fvxRCrWGRX7Bi+aO+O12ExgPTxfCw47EnKc 74FbktrPrFjfyksxNwF0iSmWsqOdKxvGr3bUqER0YNcjI9umABjsz0dzip70uHpNLqlNGsZXVdC B5QDgSKf4elXTpE86WtHVHR/JlP9pgICE3F2ajq8EmapTPhk/U6EWpZ2eveQN0YrOnFjpHkiBt2 l8PqEM+UHEws6g50/N22VZssTtnHi2zpp6u8vIUI+obUTs/mpvfBHagVNCln1KknHq/1XwIizEN PeCvv1am0j2IG04fCPDrBVXSD3Bg8LaaCXeZn9wTOca7xX7ug7EXP7nbLyReUZjWtNT5kLiveAT 4khjzxmuT/J95G0A8SSyP0jlfHGkCicPQ/fhlxkCS8OF8R3OMdZGNixevleFidw== X-Received: by 2002:a05:7022:68a7:b0:12d:de3e:cbfe with SMTP id a92af1059eb24-139c706ea53mr1092600c88.37.1782209142704; Tue, 23 Jun 2026 03:05:42 -0700 (PDT) X-Received: by 2002:a05:7022:68a7:b0:12d:de3e:cbfe with SMTP id a92af1059eb24-139c706ea53mr1092577c88.37.1782209142231; Tue, 23 Jun 2026 03:05:42 -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-139add5824csm11607495c88.10.2026.06.23.03.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 03:05:41 -0700 (PDT) From: Jingyi Wang Date: Tue, 23 Jun 2026 03:05:22 -0700 Subject: [PATCH v7 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: <20260623-knp-soccp-v7-6-1ec7bb5c9fec@oss.qualcomm.com> References: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> In-Reply-To: <20260623-knp-soccp-v7-0-1ec7bb5c9fec@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Luca Weiss , Bartosz Golaszewski , Kumar Patro , Komal Bajaj , Konrad Dybcio 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=1782209135; l=1799; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=LDEf1yOnCnDfS3qRRj2JXTv0cT4mYQsmy7cmAYMnlvs=; b=jBTzlXgMEO3PsYRFMkLFIM5mxg4TQqAHerJESxOUtX6wbodiMs+tDzr6BXBWY/awIxcwKxASn l85DSFQBVP5DqOgTuF6szzSF4lmuhF4QhkhHizfDYL88dBEas1w4V/f X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=EsfiaycA c=1 sm=1 tr=0 ts=6a3a5a77 cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=-54vo4t_4OUFHp6kYXwA:9 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-ORIG-GUID: IxvLR0Jmb_OCEv-zbPAkvNPCPAKAB1Z1 X-Proofpoint-GUID: IxvLR0Jmb_OCEv-zbPAkvNPCPAKAB1Z1 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX7Zt6jHzr18So MHb/drKAmqisufx61n10GIC19aVL+8Oo+DVeOaYIdoLPkTcFCEmE2ioYbiZ+2gR3mKzjbGE1zXn fG+jJY6tsARUwDaE+eEnU7lZpfDO6P8= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA4MSBTYWx0ZWRfX8Y2UGoK5BLgV TspOXukYzvT8nVjpkgciJK7Q3EUOyemJkQOyxk+icAJmP4bNyj08ieSI+iNztSdrSVd2mAwsh4J +fh8rW9NRslPfvhgP6ps/fmnAhWtGtAYKVmC5WMu3zTUod2AfWO3/xWkpXKPd+TjuNiDRAi9Rqn 4OHYbeHKehxBPQ+kI3JMbmBMRUPRpU9ZEQWaSZWFnZ8ONcZjsrNeo65I7kDHn0EvPN5jTrN6mTC 5sYeAuViK7pgoCn4snUNxk7NQUAxMXpM/9TS+6sc/MZgVF0co32G3r5ZJXoS+2AZtGunkIoxxxx x/dSaMrRo/ZB/YsLrKGEsBCqmzLc9Y4paOmwRqHki1XNt6bsaYNcAvBe2v/KOva3oy6NsUGA/3Y 4j3GeKoyisIjI+m8qZEE76hSjr24ww0ZQqk262Hi9KWD319fvrG5UplPycmlMXNcW8p4Ipq8NMx TS0CJWg7AB0rk9cYB7w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230081 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 Tested-by: Mukesh Ojha # Hawi SoC --- 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 8a0bb4b2e71c..60a4337d9e51 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1640,8 +1640,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