From nobody Mon Feb 9 21:00:03 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 7C7C03254BB for ; Tue, 23 Dec 2025 09:14:23 +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=1766481266; cv=none; b=lIHus9iuOrStLecyB3qXDrAU0gARM3AGuuptKFaZc12pmaMjf4XG614QXtz0E2xxS13oalOeTT/6kYI+o6crPfDDqm433txbIqamdsfg0r2IbFM0DuXcXqd6SNlr/BmQ2MI77Cxyv+QMM8dgUtMicVtqYPlUwVOVNbcni3YQBy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766481266; c=relaxed/simple; bh=dVNelUDH6wt+I61UleBWY/4CynL117BLMUYNpr8eDg4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rYhG9TrUK5LMHKYc8NYyV43fuRghLIrFwVaswdRA2ccHVMmuK8sO4Az+o0YmYu2pWP3+jj/IDE2q3YeUowSyUmPQVdidmVQP/fr66EEIBDNUxOyvVnFA94J4NKO1Og6VdrI4A5X1VeIf4AEt0+m+ciDZjNDKOJ/SuonrB5vAQjs= 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=XYUWk66Y; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HYYB0DDz; 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="XYUWk66Y"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HYYB0DDz" 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 5BN7e8C44044456 for ; Tue, 23 Dec 2025 09:14:21 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= 0WHxV26oQKWQTBE6tB5rFfKvmxUY7OGv2Gea0Fzxqoo=; b=XYUWk66YpTVh8idI zxHVRWBkSnEqa1AJH5jATSub05SELp7uV0NhUTn/4GoOGCGgkSkf2UzbDVkWqT6K GWBaDER/gCs7xnRM7bEH/nSJbgIgVhyJPjxszPmFxoNQcL8bseOVq7P4iHwKVLX3 yadJEq0zQd7OWgdBcLBPe4PZibrxKHGB8rcL8q4MlvmsyJIx0UkOlSOyQ/L9v43D OLrlFfhFdcJd3KmGseEknCJw+pluLtJViYvG/2W/hnxqbeFMovkK/qLKYsJ5i9m7 nmygYwiCdqXqcEvZhlkl/U3f72hzUyjWPnQpE2dBz2O0ol9t/KKQwDrqk++tPJgz 5BnxEg== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b7cuha0cr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Dec 2025 09:14:21 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-29f13989cd3so147978995ad.1 for ; Tue, 23 Dec 2025 01:14:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766481261; x=1767086061; 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=0WHxV26oQKWQTBE6tB5rFfKvmxUY7OGv2Gea0Fzxqoo=; b=HYYB0DDzco3Dfs+Yc9W7grYaE0zogaJp2g4wMdCcKIP/6PHvuxo2sW0k4uXbHyR0n6 IXT8aQD8fniy8uoYW30JWpUP8Kx7vnG3CUa2SfPFX6HdVl+wV5Sk/qdCD0RqkF8qHBUC rb9m8VtRl5Yb+FvbKaAHUdJY5EHNuYcXJf1JAMRwa3r7LkKthQftcwv3Yi5qRL1As+wU Cz++hG5vwZELZ0iWpOtVwmUfDnRIjBE0Mk6wfL1uLOWweMHndSz7uThQJohmi5zS+AgI h4MwDj5nHOKi1AR/btVJzaRyF9o0h7qSVl0dulvd57Z5xSvTRg/9G6vpeIckImp0mdpS L4cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766481261; x=1767086061; 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=0WHxV26oQKWQTBE6tB5rFfKvmxUY7OGv2Gea0Fzxqoo=; b=ggjXl+W09ezZl8/x9zhUnx5qP0nFaiWhLy1Kaeg7XFS5A8GWfput+/DEwNNJH8hgF4 7GYMS7bHFKduvjmxt4aBFhcXVoyCNyat3ujjWnpUAfu2sZtViYZ4lNqIrHZnU3y+a85t n7ihu5FP7NQHOs09PxaszeeYEkND5Z6VkvCKo3sINq7Wyxjh5gbBXq4+1+Q4XTE89O1R MZRwK/gvn5y3xuv+gXezgPE3HWStcM/m7ldokwlb1sqUazmdYQQdIuR5pJSo+LSIbMT2 bMhr9k4yCk2cBt9ktdsqbIl3z2YrV1Mq8vylxyUHT44SEXrj0rwPCGcmL1VREnGruUrt o5ig== X-Forwarded-Encrypted: i=1; AJvYcCUcDxRZyP1X5HNtIA/mHa7jKI31uVCqhKvGSLtEuZp5SDJbKpEbhO2mukB4/+sWqGAcC71FZb09ZyDd3ww=@vger.kernel.org X-Gm-Message-State: AOJu0YxLMXkTIs44IaTMyz6uSZ7e26GdQuEMt+SWaE5tprY+3gmNghZx /WfMy0IZr18qWuECBdKI/npAQlHyzgcoHfVP5wOPXnNpWyKmsjruGfbwShNR1O38asyv7ve5ahu ntFfqyT/D2BBO/qTwahEtG0F28wZUAqBtittWgnsrmVMh0DaSIgDULyEzicU+SaMbqPc= X-Gm-Gg: AY/fxX51Qo8CYvS1ucKTvZyBOuDbbsy5P8bwwbyf3pSyKI6baQOxlSh0VgHJKPN2Z5I WzDzHZfhWO3JU1WLgV99omcuMxqPlnHPIPRgRP+t8cab0O+JG9FmYr83bYl3BPJA1w3ShcTmOkz 77xtm1GnzZJCKMoGeKc6xDuPvq8yne279yTqRgvewgQBcKJOe+gxnzHpU15VnrLEqh6BnqqGo62 EZ8t1hpx84Jjru0vtIBdLkoQjkFHfUKIW8T9KBdoSijnjukZaFoRhYRGYDFMIBRiJrBKG5OkMp8 Zc7Tw5pKYAdcXfxSKiNgcxSTY7mxNElqVZX/ytH1pfDiU3iLgvBQgV1dGtNdTGZfPZfUd8T22MY fobQM049FQ8LDp1wVAoOwZBd+FZQO+HCqgCLawp7llH6hxrxyXzzA/hJDdXSF X-Received: by 2002:a05:7022:618d:b0:11a:49bd:be28 with SMTP id a92af1059eb24-121722a7da4mr17170369c88.4.1766481260936; Tue, 23 Dec 2025 01:14:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFr3dKFW4XMTotdJDXh+jTgOVqAFZITbg16wd6j4Y/YZR0DbPvTCCKwL7EYt/+R61nVVFVJ/g== X-Received: by 2002:a05:7022:618d:b0:11a:49bd:be28 with SMTP id a92af1059eb24-121722a7da4mr17170347c88.4.1766481260390; Tue, 23 Dec 2025 01:14:20 -0800 (PST) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1217254cd77sm56931833c88.14.2025.12.23.01.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 01:14:20 -0800 (PST) From: Jingyi Wang Date: Tue, 23 Dec 2025 01:13:49 -0800 Subject: [PATCH v3 3/5] dt-bindings: remoteproc: qcom,pas: 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: <20251223-knp-remoteproc-v3-3-5b09885c55a5@oss.qualcomm.com> References: <20251223-knp-remoteproc-v3-0-5b09885c55a5@oss.qualcomm.com> In-Reply-To: <20251223-knp-remoteproc-v3-0-5b09885c55a5@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam 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 , Sibi Sankar X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766481257; l=7040; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=dVNelUDH6wt+I61UleBWY/4CynL117BLMUYNpr8eDg4=; b=viJgLYA3UPtRLK8ytvVpxSVEmcr0/CX5rg8zBFRCca05mgQagRWxmil4Wpzi1YP5sOjKXo3p4 O2Dl/FDHFoWDRn1X44nvopySgEezlXInrFl7Apwb57tkdf8p9ZrIH/h X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-ORIG-GUID: UXOyeNG4PNMCAJEc60wB8Qu82OEcE6K5 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIzMDA3NCBTYWx0ZWRfX6x1FBhTdpLkZ 8VQfIoQwg0PAZHZ8YnT/M1/+Qr46bdGRNQh2j7jaEepsu22kxsujGL4IiKsD9Bq5BaoNizkIFc5 pOMc9xFI/TDfdF/jugK8lzXUM3j5R14e1494mrmCJTXZuWzm2pJnCK3CvOrRlehBVZJwcqU56MR 7X4/EDEcA+B90y4pD9mAUuWQ7+aFCXhz10xHPwlUv7BBrveOJK8SmYW+8jGIMRA/RPF+CSfRuMp +6YX8FafCq8mKTB6qz46FEo7BsCg//W17fZ0S4/bzsgSNwUuD4YYqwv6BFEGY0YoCUvdVkryn8N cukw7u8IBiJ1k6oqxmjvhbtxExARQFZtenuSa4ga8NUqRtPdc8sCLutM3Udl4S85orjvib1dmpc ob93UcG8tIXXAIjIwG7efd0mzjAQSLbSo3K+/A52VBsLYqfGkUkWR/GOaOTPTLVMz4OFDIAKEGA tHNs83RFISSNb0EqtIA== X-Proofpoint-GUID: UXOyeNG4PNMCAJEc60wB8Qu82OEcE6K5 X-Authority-Analysis: v=2.4 cv=NZDrFmD4 c=1 sm=1 tr=0 ts=694a5d6d cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=fcSY9j_v5t7x7WnnYxAA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-23_02,2025-12-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512230074 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", "interrupts" and "interrupt-names" properties in the pas-common. Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Signed-off-by: Jingyi Wang --- .../remoteproc/qcom,kaanapali-soccp-pas.yaml | 134 +++++++++++++++++= ++++ .../bindings/remoteproc/qcom,pas-common.yaml | 28 +++-- 2 files changed, 155 insertions(+), 7 deletions(-) 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..bd94ab9a3da4 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,kaanapali-soccp-pas= .yaml @@ -0,0 +1,134 @@ +# 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 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 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 Hexagon core + - description: Firmware name of the Hexagon Devicetree + + memory-region: + items: + - description: Memory region for main Firmware authentication + - description: Memory region for Devicetree Firmware authentication + +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>, + <&soccp_smp2p_in 10 IRQ_TYPE_EDGE_RISING>; + interrupt-names =3D "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "pong", + "wake-ack"; + + 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 10>, + <&soccp_smp2p_out 9>, + <&soccp_smp2p_out 8>; + qcom,smem-state-names =3D "stop", + "wakeup", + "sleep", + "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,pas-common.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index 63a82e7a8bf8..149e993282bb 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -33,16 +33,22 @@ properties: - description: Handover interrupt - description: Stop acknowledge interrupt - description: Shutdown acknowledge interrupt + - description: Pong interrupt + - description: Wake acknowledge interrupt =20 interrupt-names: minItems: 5 + maxItems: 7 items: - - const: wdog - - const: fatal - - const: ready - - const: handover - - const: stop-ack - - const: shutdown-ack + enum: + - wdog + - fatal + - ready + - handover + - stop-ack + - shutdown-ack + - pong + - wake-ack =20 power-domains: minItems: 1 @@ -55,13 +61,21 @@ properties: qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array description: States used by the AP to signal the Hexagon core + minItems: 1 items: - - description: Stop the modem + - description: Stop the remoteproc + - description: Wake up the remoteproc + - description: Make the remoteproc sleep + - description: Ping the remoteproc =20 qcom,smem-state-names: description: The names of the state bits used for SMP2P output + minItems: 1 items: - const: stop + - const: wakeup + - const: sleep + - const: ping =20 smd-edge: $ref: /schemas/remoteproc/qcom,smd-edge.yaml# --=20 2.25.1