From nobody Mon Dec 15 18:55:56 2025 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 DCED131352C for ; Wed, 29 Oct 2025 08:05:49 +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=1761725151; cv=none; b=GHylIVWwaaf/S3gSF5Y9u8xmq8nd9Ipz/rR+3YHNoBoCYrKqzKVyg+Gc6Uy71QPMJVDwHMg6ibwxqJExGhVTE6UjlTaqGquXZ8LTGNWb8KcUqWmONiMn63xdKOemriUA+4oSOvFzhKCOI4tJSWvPE3fUcwVeoQAB04/AGX+Y/7U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725151; c=relaxed/simple; bh=xT3Z0RX9zoOKMq7jFVYf2pwqfhxYhtw1nSQ1v0B4npw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=actUZE3KHHcle4wOrPVamBpd0LYlWNvB1dVhC6Cv2LEk3G+x9Zp0UFjSHQ/Ll3bYYMasdL0ZsD4hQBDjzp6d5TKoTLwW0U5RVyiuJaSeRhOzO8zGpwZ+bous6ta+3M5qr/CumeY/C6mwm1bqmXtwp3TneeRKzTls1IgtyhEK3pM= 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=A0w/uUqQ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=CrfdGina; 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="A0w/uUqQ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="CrfdGina" 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 59T4uon43757460 for ; Wed, 29 Oct 2025 08:05:48 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= 15z0GkALFdQCnt2s+WGZIOpr1bmUM7lJKI9p/mPcc4k=; b=A0w/uUqQs2/QXQyv 8UdR3QBtDw+7ejy+baOmzqS75/aPPs7XmoVZAJjStdsYGQqRnaIi+wB5H+i1e3M2 BbFfjRGZwRsH/tAV3GWrBjcnL0pptsFoyvXEeQybNs0rqN/sIDlHL1quznSm5m/G U5eYcCu5BJ7ilTtd6El3NMSufKIdh06u7EOXD2qWqDt4XyhcOLy+EcVcAxkuwJqE ieapnjD+A4k45T13hdYP6wMGKdKiSVvvzblcB3FcwxtuEsY3BrWgh9p13TG0LSK3 yoMk7N47lFOGujqx1I7A9gPqmM/gxWtM1mNOAJBJpTDK6dph2kkPn0rdVrgS7EdC sQ6OIA== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a349y1qda-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:47 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2909daa65f2so8272375ad.0 for ; Wed, 29 Oct 2025 01:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725147; x=1762329947; 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=15z0GkALFdQCnt2s+WGZIOpr1bmUM7lJKI9p/mPcc4k=; b=CrfdGinaLCsIWoAW8STl32r1SGDznvHzyiHcmtUtF7daxUbf3PLdFYUQ3i4VTYaeAc 8n9rPCGQP3gIW4RCsFDGlaEmUqlrrqaaiayPTJ5noB6LjVawl2LJqf74MTtP8rrH+WHm OjOtq/Vuckfg9txg/gVOvDQa3cDLyjCOizsdxFkffEJK/aQmprF4bYzVOEXEOz76B9xV KT7Jb2Q/BJeno6/PZtO/FPPeoVt97EQb3JqBa4Dr2aPHXDWxTacuxn/tXg1cac8XExFN xHOXUviJUysyNbnPx8NmR5fSyqmRP042aIlqRLvFrf35EKzUXvuvSHvAqsl00uz4tbSP yLew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725147; x=1762329947; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=15z0GkALFdQCnt2s+WGZIOpr1bmUM7lJKI9p/mPcc4k=; b=alH6+NU/MlMaeZFUgeVtpDCkKAVBdHZjuuGU4p+ln4/S36fQ45AWSrXqffewK32kWE j5wEhbtfdxJCYCNrcXevCxvuB4PZWT8APaBKspTM+AQeQrzSIUM2wPj/NrZsfcBimH4/ 433cMvlgQ+FbCppTU0Os4LzrptXWh6LQQLKNRIA3ZlyB7M3PJmC6l80Q112cNXncIPsh YhYMv3vOHI0qYrlVjscTzhVI+1n1Gk4GYGcract58jlnOMJqe8O+DlX2LBICo3JW8NVO BJUJ/4Z99cWCzjzn37cL57HFP7IDwk8ovijua+kCqDdaudE3Xxn4nmj+3P6m+Ob/+OwL b3Tw== X-Forwarded-Encrypted: i=1; AJvYcCWA8qMP6jqLaTkwTQTYH4aCwimVKd2sXOOBL56w6deIgKJaujeTe77jtA69XW3nv0bRHcU1ir49KbnWe+w=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4mKxMHfuqQQtNtvhg87j/ar/l4aubVkb5LWVRcYs81QWUtWyR 0tpDRwEvUK5CfLhEVRJZHLHkuyDY1zWsxQVOkqSu6nKKVVIjNV/8vtYyCvE5/S9IAFUUfBCfR4b zYmzH50oDVMK2KuSal1vkfnKRPr3GJ1113RJ/RBrn4YQOGuQ7R1H2GyUJCfZ9qGng5lg= X-Gm-Gg: ASbGncu/AeGVVyRS4b+qsPt8C5OMDpcDIvhNr9/OHZ1vl9IqcgzYa1QZYKS16PFnST6 M6mr29dc6OvIf3eNi2lxvnjhq7Ik7N2jfsbUOjQhgvNuU9k4oZFT6DtGv8KLvfcIaLTnmIn6Xts mb8FXfZIlLfrolLnUgDegOgqi2JAARkdVzvUy396FInOJB0hheHN1Gym+y4r1oMhwU5LdYpiyZg rdUXb3TLAH/OcYVayEfOA0H1dKnB4jm12cmaI2E6oyGdgFatnh7M0SuE60Y/I0iXtGMUug1U4ed V0kopwsORDe+ZFAHN6SaoHc211vLDSSYuSlCWEGvWYavbKZvDs9N9DF+ezTM+M+1sbQ++IVpeiG SKSM81qJy1Oti3KH2jhoLOjp3dvGCHDzvh5fb9zPUHY6J40hWaA== X-Received: by 2002:a17:902:db11:b0:283:f19a:bffe with SMTP id d9443c01a7336-294de814667mr26218955ad.7.1761725146982; Wed, 29 Oct 2025 01:05:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZLW9t7z/EPvn7h4K3SuJB+l5enpw/B+1K6KrQmn9L1REZrtp4lxhJR0N03EZlfiZVsemxHA== X-Received: by 2002:a17:902:db11:b0:283:f19a:bffe with SMTP id d9443c01a7336-294de814667mr26218555ad.7.1761725146379; Wed, 29 Oct 2025 01:05:46 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:46 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:39 -0700 Subject: [PATCH v2 1/7] dt-bindings: remoteproc: qcom,sm8550-pas: Add Kaanapali ADSP 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: <20251029-knp-remoteproc-v2-1-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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 X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761725143; l=1292; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=xT3Z0RX9zoOKMq7jFVYf2pwqfhxYhtw1nSQ1v0B4npw=; b=LReoG7MZh2ShoPt8h+j9v0Zt+JfqeTIJpg6UqCsJ2gKg2Y9phjn4ZiKv4IKo4CYTPBhudX5Z4 1PcvQu3U/wHDQNzvy8mvwDNv77iqWxBzCQs8rTjTIDouo3IfnqR/jxV X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=D8RK6/Rj c=1 sm=1 tr=0 ts=6901cadc cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=7zWBZCs1gTFKjwm3VpwA:9 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-GUID: r6WqX7rHVgQTQtCeO_oCKVR3TFYoLRKM X-Proofpoint-ORIG-GUID: r6WqX7rHVgQTQtCeO_oCKVR3TFYoLRKM X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX7tVFw6cpl2Yv WEOYidRrpRQmcRPpQYG2zoVlf5KOpEbj+M8yhHl/wq/36juqm4tJPDm+a19HeA3Lwoc/epXfVnM e+OwPmX0AjWgfj5yzqDR4Xkl+jqvKTt1YzHJeqRTh+DwNMhT1uzx3dsn2Q6fPdLFC1naT5Tgu1Z zh2Rn8L7pHM9NJaSDbClp4+tnFTbQpuzGDYCKKr+zc6aAi5sH4WpfB1GdqhtwW0wnt8IOAWOPsY UfaIGhhQ/YKhP7qQASNF6+tJ+gl/whs+Yu17o13+kCI9WymRmxmcppqNQRgJNq2JhcxxqMNWXnv 7q6cC/rQOyIbeJJdg5htdBON8yVR/OBM6H2lb+zrmYOa05BvbgVfMd19VeUV2kX1iJwXU+SdZq/ y3qdCf9pKcWGPUFwe5BJF3nxvl4Fag== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 Document compatible for Qualcomm Kaanapali SoC ADSP PAS which looks fully compatible with SM8750, which can fallback to SM8550 except for one more interrupt ("shutdown-ack"). Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 2dd479cf4821..31dffd02125a 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -28,7 +28,9 @@ properties: - qcom,x1e80100-adsp-pas - qcom,x1e80100-cdsp-pas - items: - - const: qcom,sm8750-adsp-pas + - enum: + - qcom,kaanapali-adsp-pas + - qcom,sm8750-adsp-pas - const: qcom,sm8550-adsp-pas - items: - const: qcom,sm8750-cdsp-pas @@ -95,6 +97,7 @@ allOf: compatible: contains: enum: + - qcom,kaanapali-adsp-pas - qcom,sm8750-adsp-pas then: properties: --=20 2.25.1 From nobody Mon Dec 15 18:55:56 2025 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 DCFAB313531 for ; Wed, 29 Oct 2025 08:05:49 +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=1761725151; cv=none; b=TdmbBmYU1RKHCxrtruPY813sS8+m93YhWQcah20GeMW0l+KYLnnSud8hn94KUHh0OrYM0Z6KTWgVUAN7jUrgncAC16aZ4/6Lt90VbS10p6boFm84/PxqRTeehn8ydexfqBBNylXhDRhTuB1UIXHHQZmqaDSvwBXlDInbQn9+eHI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725151; c=relaxed/simple; bh=Y6jOHq4W1u2qm06T2h+sJqsZsHdgNBpFta4hr0KK6gE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ipZqSmzWpbZjX8itvDr0QDZxgjoWhj+Unxsr7id/K0xLPGYM7fjdr1mAdtXhA1oF25GJBe2/IOAr8909W3BBBzJAFpCgV8CzDhJ1rUux5sLzL8N+yADsAYURfdbKcSO7nhOF21svBWaQSQ/LBmI3Yo+GITk32uXfAZiIrQMFaf4= 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=gIt7Z1Ti; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ilXPC4aD; 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="gIt7Z1Ti"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ilXPC4aD" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59T4usmd3720352 for ; Wed, 29 Oct 2025 08:05:49 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= Ei7mDZ2q3MlVYEacUwJ85Fk1uHEmR1bOQjZfe39rkRc=; b=gIt7Z1TioWnETg7l XthjNZfQUl3fSx1hbaKyQrRDBRIFwkQnTIFLpz8xfJxCTKjEXS7doe+VdLlMMznI K2KDH3M6HT/YjRFjGq9g+BKYiQ1mWbaK+D0i0VizHqXzwTmohdtl8q8ApJ7rYxpW JcSe465z85YZyhrS56OyUcXOv4YZKkoMppB0qWH/DVXL2WJ2olORgQDZuH7nQYZo eGMbSo93Cz4G0vmBaEZmFa8ZFc1LujmAADfadZsVXSFw2CQOndasBL2gtp0PwN7m H7CeW+KR5Azo7oH7xrDkvrJIuw/MhRICuykhEIQ6WIaNUgRi0Prlj9W7spZNeDdl kPf6Jg== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a34a21rcs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:49 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-290cd61855eso60194545ad.1 for ; Wed, 29 Oct 2025 01:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725148; x=1762329948; 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=Ei7mDZ2q3MlVYEacUwJ85Fk1uHEmR1bOQjZfe39rkRc=; b=ilXPC4aDaC/V/G+/mii4V1/2izE31w8b13EO5hUhwyHSwGw82LCMINJWRuIemB2iNh WMLJlt8wrT7oX5tOzPYp0NVqoIOZ+cwkSJkitvyvxzQWGofasrMRcIrgcCLKxBHyAHub WoR86KYypu/GfcMcL57trGMMDjRVX2SGqbLgCIog13sVHLVXuG0c6KJV3BRHK+QaaW/d anJN+ZdGkZCyix9lsT1vrQ4nmC2g8i4GSYWWJ5mZ1EpVd9KkY0LWmeJTtldfT5fbkBFT rgnSONjArUmFkh5iSG++Yg4839p7Y/TxE2fIy5wEwA43m3pplNUjoFsmpRX1R58sGC4R 8fmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725148; x=1762329948; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ei7mDZ2q3MlVYEacUwJ85Fk1uHEmR1bOQjZfe39rkRc=; b=PNvcxz22VEi1EQkV8iF+yNFhhkU2tB1r0it9Y9JAYvE0KE3I0M+i7JWddaQWG2rNhV NaedAQ9L6ZXpNiK5OT6Gbaid273lJF/knvTTJ8K5Du9G5whGeys6mU/GQdm3fjOiZAuN jLtcSyVQZoEZ3YuWTMmd1CqeZwtfnTTrd6JbYuokm6sa6Ihfj/iUoNym9i7EEsT8BVor joGUvRJYcBxtIKSTT7n1U27CN8vjV4NCt/2derY3KV8b+WdLqPcFImDlPwchUa41eVQ0 YtRdrEGDAYyZRTf7UfMrfZ1lUk6G1LLwmsdIo1pXk9Gm1TmMyRClDEg1/ShRrpYR2i0O fF9g== X-Forwarded-Encrypted: i=1; AJvYcCWSx0OKycHcwaKuVm9gSNH3YQD5+mX3xcDynxiWVsDws+t91vHnNczQmoL6+5dRA1K8pgjtCrhnzyFDgB4=@vger.kernel.org X-Gm-Message-State: AOJu0YxaEiwaSx4KWVGhSfiqlCIEFsm79IdD6GH1OkDwzx2fXydS7iP5 DlEmmIFHghoPH6K1P8QB7fjxrGnTTYcOpkxuYr8DtISpgYKu+s1oBeYiU9LzRlGDkTcSSaFHqUd +vydaimL/Bwr+ySRH7YqJ43/FYbM+jYCF0Q6I4YOqxGZfUPYE4jcmWkGSgp4lyNjhdVI= X-Gm-Gg: ASbGncsmUEkPn5uingHl4KRbiAd2mqwVZauRHlQvv4qxlW4FL/RPJJ82HfLzXsu3i/y OhNXh7abvo/JULKuLr9hOAAcetKD6X+t0eryGd/JXVBLNLVReJORSIgyB4qH0L4OwpYqjjhbeUf VBsK6y0+rw6rIFQMETQTVts/hsQVmlCNAeqqHURkHSgtWzWqmo29Gq5mh9B2oeDRPLl+Ea9HPn6 VDBX3aNJeN4K1psi0QRXPSMg3Polamj4lQ9ztjSWLHn/d9BqELcYKYBIbE3NFTRn81peZgweJw7 qaBUoIVrbCsaEzw/j6Q6OBfO22ehBmJkGAtxxHYuCsKu2L+2UYjVuYSCKGqs/eKZKclWUA4vEDY QRe4EitfulnOjI0Uo2qUohQlL2ZAcsOKajqZUiTQqaUwkmpQeUQ== X-Received: by 2002:a17:902:e94d:b0:294:66ad:113e with SMTP id d9443c01a7336-294deed6989mr28798515ad.47.1761725148353; Wed, 29 Oct 2025 01:05:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/eNJvA64JnnnSsz7eBeEKbDI+r5Fc0Hs1GYj7WxkUZW45UFFUeGDw6W8iX17wmr/4G/0oQw== X-Received: by 2002:a17:902:e94d:b0:294:66ad:113e with SMTP id d9443c01a7336-294deed6989mr28798015ad.47.1761725147719; Wed, 29 Oct 2025 01:05:47 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:47 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:40 -0700 Subject: [PATCH v2 2/7] dt-bindings: remoteproc: qcom,sm8550-pas: Add Kaanapali CDSP 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: <20251029-knp-remoteproc-v2-2-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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 X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761725143; l=1361; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=Y6jOHq4W1u2qm06T2h+sJqsZsHdgNBpFta4hr0KK6gE=; b=9ijeTFo6Hk5cJ9gmJvkjVY8Iso7IC7uBXoKqasWgrL4s2m2WP8/0Pxu2xQtxdlRZGN6gKaGi3 PgwybymLq3JB8zfyPpqYlZXjm8lOFXeNEyp/sDLZkfJj/om+APx6Hax X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX9BQFKp+nokOb AWgvA4p+DsNsYWvP8IT7zjmgnTKDTcWsJyDsr6X2mZ5neQWBO51t9whHik3fPqjNVMjNibW/ySX TqvTp+H/f5oEse9t3fBLX6SrOvJMJTeA+mqVbhOBeFs7BbQb5XwiLRQb/QsXLIjGvcmLiRGcNhE qfWfCPy+6NebdL2KTqpxZ7S+dkm3Ch3fU/X0QMXWWLPIluYm9PIDxbsxtap4K9pooLrl1MsS5HT d+6+VbxsYNatsvuchkjWI1pzCUqLhJB0EBY1fkF8fpRh4Qe5XMkqPE5k2+hinfvU/xxkcdIiEKU 3ID4pqm1SBz6HfUVK9DkQQUTl3CEwpolEvzSEkCAkvmxW8zjZYPb5GWul7fTi6hZtouTYYBjK/q JsUlBpNTaLU7SUoIi489LpLXhO2tnA== X-Authority-Analysis: v=2.4 cv=V5ZwEOni c=1 sm=1 tr=0 ts=6901cadd cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=JO5o7z23AXsBd-kSPjkA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-GUID: 4oRIa9FhorLjp_I5A2MxnwzcvQu4-WQs X-Proofpoint-ORIG-GUID: 4oRIa9FhorLjp_I5A2MxnwzcvQu4-WQs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 adultscore=0 suspectscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 Add remote processor PAS loader for Kaanapali CDSP processor, compatible with earlier SM8550 with minor difference: one more sixth "shutdown-ack" interrupt. It is not compatible with SM8650 because one memory region "global_sync_mem" is not managed by kernel on Kaanapali so it is removed in the remoteproc cdsp node. Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 31dffd02125a..3b66bd106737 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -35,6 +35,10 @@ properties: - items: - const: qcom,sm8750-cdsp-pas - const: qcom,sm8650-cdsp-pas + - items: + - enum: + - qcom,kaanapali-cdsp-pas + - const: qcom,sm8550-cdsp-pas =20 reg: maxItems: 1 @@ -98,6 +102,7 @@ allOf: contains: enum: - qcom,kaanapali-adsp-pas + - qcom,kaanapali-cdsp-pas - qcom,sm8750-adsp-pas then: properties: --=20 2.25.1 From nobody Mon Dec 15 18:55:56 2025 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 751DC313552 for ; Wed, 29 Oct 2025 08:05:51 +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=1761725153; cv=none; b=NjwLjOKlPh1tOYcrcx3/gEsX/w62tDwQNIND5paQL9TKD1dJzmwE5tZYUnRIbjoc8y6hMx7W6QJQiiJG+QffXh926/Do62MA2A/+DJ2c8dp9c7b5IuqjOmaEei0F5fnbyBuG+dnY8MUhJavD7mp8o0HZxD3yzx4XfOMrCChBfEo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725153; c=relaxed/simple; bh=qG8Px462pi8D1xm7m847bRTx1J9HM3N/XH7QFhMPMJ8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ETtEa9V1jdSJqiGtuk0UzxpKtjIYCVYl8/TFRNXPFsaZ6EbENqdOL4/ZjkQHn7wIPYl9amSMXyIakGYIbIyKf+5BowRPTg5To+XdUxHHNER8jSRfJqeJa3jrkmP+e0NjnSZ4TmBefF9LMSQJQiWzlNErhCzUZ3bHpK5PhSgzRC0= 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=VQLajDd6; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GXHaIGqn; 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="VQLajDd6"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GXHaIGqn" 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 59T4v3sq3663722 for ; Wed, 29 Oct 2025 08:05:50 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= MEzud6d+24miB+oycic8odzPE+LUagpIZeXTQc4w4LY=; b=VQLajDd6YDP7ttaI 3eiIGqKEGT5OPCv+mJuoD4BD0FbUeWY0TOSsOmKO5YmCuAu9nOYido7G263+K98t eeu8903wWh02ID4629ZGfj9WE7WavikPEGfABzAt23sXhT0L6S0CdNsUG6q9C8to aNkMo41n7mZxWM1ehJ7vYu65xpMoNKA7P4hsxmOFwYoAG20PItPNaghdx1NxTXzW vy2wSNW8WRMTQKe29CbOTTqHvUV4ieozRet9kPGSgOulN/vfhMC6Lpcl/dn+93YV YRv9UntRYR0buybKWQyhPeQ+1b3nNZIcsEA+w4WcJqj2TToOFr6NYgBQiQXubEUM xF0M3A== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a34a1spv9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:50 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-b8c19e93a47so176180a12.1 for ; Wed, 29 Oct 2025 01:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725150; x=1762329950; 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=MEzud6d+24miB+oycic8odzPE+LUagpIZeXTQc4w4LY=; b=GXHaIGqnLvafSlpIs4iUbVn7NjM529gJYJcJXWpHscq1r52HufJz8Ryo97ep9Xnrp1 86R5MImOk78E2n2cl4WpaLzqxTIdQDawpSrR6Fi5EhB+GuDwcVubetrA0+miHhrc3q+p E6ketDPVnapDGSqaGWos1YYlfknjvqUFRcFSUPjKxaNuhRq9jYeyOsnC0YokncjQLAXZ RpqVDsakHMPkvaWi13ICzGn6rDxyGELYPjq9UJTKmamQ5KHQRWnfoE9ValOMMQCilC6N u++nUc1ZPt54p/PH8MPQIm/e5reBIJCWeqwP37d2POwKkcZiEYWih5w/vDNh+A7KNU4d NnMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725150; x=1762329950; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MEzud6d+24miB+oycic8odzPE+LUagpIZeXTQc4w4LY=; b=R77c8z3GWReRMl1GbuwPtjLgIEAadjEnGZ/i/IW+8fGCWYJcBGhXCELOVrhnb1X/hT iVIVSfg2sDPMmltqdA0FoJILXXi3+3uXp2LLFYM4Ml4GJlC0+XHBD9MYSa0Krw6KLI09 vWmmZy9SACGwjgKbR0gFHJxJZrgrmAqqY80DK9gSKWVDLy2TCAv4bTef+fQPLMuQpOPf J9dLpyhrrYBy+aercGf4lYkOAxRCqhbBTNrch9zkfPRM06M2X1aNgPqsq/s0JRBpS6lD D9a8zt09nGnBwx/SNKsNCj+YpoiuYygpfrU1BcwnMoYK2nGdsLnMMtWM4KzMtor8Aj0D An1w== X-Forwarded-Encrypted: i=1; AJvYcCXVWl5sRUY+XOXPTf9y2rf35+6AoppURG7CTxPQViTs/uESfFaNd4NMIHyAtSlE9lTtfUgtczEG4z+gOhU=@vger.kernel.org X-Gm-Message-State: AOJu0YxsvpZgmY1MsPbuYd1CFsVqxFplIsKb0QNg7X5t8l+RW8/NMvhH IZ3NNDUNbvb+vld8lEk70jgf5M9wnLZizyoJTaSsYQI51et4W49JalmR5zzNI2/lh4GrgPgQtAk 1n/qr/ZmPVdI182ma4knES+fiREUpSFEfLoypJdREl4nf2YAVId6bnOWiDdwXLyAujYc= X-Gm-Gg: ASbGncuWRYQmZQGoSr9Jw9cJeUNMSIrYA9g+9oXfRqjG96i7zhBUm0FX6rOW/ISgMBm iISxQ/dAU/oSCosiYopT9i3N5blpQzRe06r8EdYZch4t9QYJehFTV+RcOmHzwcklYa9jkP/J7Ki NdXWRfxm7y74c9olVcd0sXm+3Y24/FWe61Rgb+NVILjWCW3+WrpTbVZZV9G89nud9ekFybHdot6 7kt9KuP0Ylr1gw0p0QqXNwElB9JWT97c1/1UhJDmX6jh7sgML/RzM1g+euSQasueMmGXr3hKyio qWT3OEIFqKhbTU6YacVdB0y4vgyTq3WD6BE4B+G7DApSc+8YxZ18FZ3I2brQLtOGakgxE6hHcdv z4tkPz4H28u5SPQR591t9/Du6hL/TZGnfSwC7Uona7m53oTs9fg== X-Received: by 2002:a17:903:38c7:b0:25d:510:622c with SMTP id d9443c01a7336-294dec55dedmr25087095ad.28.1761725149638; Wed, 29 Oct 2025 01:05:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1h9VyNYFKsW3SdER0jTE51bvlWsilQKQ7k2ZMC1Fu2p3IoJPMrmarrPnim2LRDDTu8v79fw== X-Received: by 2002:a17:903:38c7:b0:25d:510:622c with SMTP id d9443c01a7336-294dec55dedmr25086725ad.28.1761725149019; Wed, 29 Oct 2025 01:05:49 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:48 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:41 -0700 Subject: [PATCH v2 3/7] 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: <20251029-knp-remoteproc-v2-3-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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=1761725143; l=8744; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=qG8Px462pi8D1xm7m847bRTx1J9HM3N/XH7QFhMPMJ8=; b=Pzm3RdAFAhrmpkuKTIL8LFd81hMBua1H2VkVyFflrZgXSQH3KE1b2YN7Z/1+FPaCvx/o5EfQC Payvy+FpWYwAsQKn/v8YgCfPa1Osib9aHSqd1/3mxB9gjUR80f0j3qr X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: U9oILsHAeivbCbA1bZJjQKb1KUYRx_Zx X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfXwYEgwfEi7h71 XmQxMM/2ou82SXN2TcHU91K5VqKThADtL8R4kwTQKRVj6STkK216fw/DAKoW3Q4JkQ4lQs/j17P DCSbKTothxSdHMfWMAcdppChP408V0UbroEml0EovUBe/sYdpTGQ5oo2bXz0OB4c8ouL67OzLe2 GMelS40q3ybhfiB7hdUCfsPGcW5t36F+Vx+W/l+KT+lysVr0osJPm/oGDy3qKCGzQ77WjCnZwRj RigVBveJ9cPQlDlIqxyi+FTBj2vSzmU2sF9KQzHfGJu6Z3SqUWl3Avlc9Mnd7WHxL410bM3h8lR IztiJYaAMuGgouNM1IiWJk7wkkZndCqfJwjIsWt5DNXmHNmybTrKOY6HK/uiEG4F1w5LDIZ/yjZ AgUtVuYHv06x0VvE2no7VLYvm9nNKw== X-Proofpoint-ORIG-GUID: U9oILsHAeivbCbA1bZJjQKb1KUYRx_Zx X-Authority-Analysis: v=2.4 cv=UObQ3Sfy c=1 sm=1 tr=0 ts=6901cade cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=nqtFTnZwU29f_90lC4EA:9 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa: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.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 phishscore=0 bulkscore=0 priorityscore=1501 spamscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 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" and "qcom,smem-state-names" properties and add conditions for the "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 | 83 +++++++++---- 2 files changed, 194 insertions(+), 23 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..6b53121eede1 --- /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: + $ref: /schemas/types.yaml#/definitions/string-array + 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 + + 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..f81d088c2bad 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -24,26 +24,6 @@ properties: interconnects: maxItems: 1 =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 - power-domains: minItems: 1 maxItems: 3 @@ -55,13 +35,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# @@ -80,9 +68,58 @@ properties: required: - clocks - clock-names - - interrupts - - interrupt-names - qcom,smem-states - qcom,smem-state-names =20 +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,kaanapali-soccp-pas + then: + properties: + interrupts: + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Pong interrupt + - description: Wake acknowledge interrupt + + interrupt-names: + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: pong + - const: wake-ack + + else: + properties: + 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 + additionalProperties: true --=20 2.25.1 From nobody Mon Dec 15 18:55:56 2025 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 D16643148C1 for ; Wed, 29 Oct 2025 08:05:52 +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=1761725155; cv=none; b=baFj4euAGyHQyG7zF1dPrVTB3dj7nWVG4dnkIKm7kxnNc5FAh0hl1Opf047jBuIlgKyOJIiR4/ePSeNyY4BgLjLi5NDCCkx9wcrCL2a1cK5F5IPT3OGqij1/EHnK52q29dYasJJWFltWkvXapR2DkAYwUeBoDCBR37HH48WgtQ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725155; c=relaxed/simple; bh=1sXb3vQHiwjZYekJJiXVfBuTTVhw+mrGhs/ehzoJIV8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h08AL/1+H+k/o9F0YebqMYMfT2HCJ9Nd+eY9jeBkadzQqhcZx1j/q1HyOrcZbB68OPybTsWxYJIsWoqP7pLexgwMU2/D5DlIWjOkz8if8Iv1vLiaGKLvvKbNMxZzX0XL3M8fytgoLHu+Vw78K8xrbDzyiCdqh0eXlsk+49d3FSI= 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=ckxiUUMo; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=JMTQS6LB; 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="ckxiUUMo"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="JMTQS6LB" 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 59T4uspR3757545 for ; Wed, 29 Oct 2025 08:05:52 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= XEgla+U/xa/majtIDImyoCO5Hj6TQNLmn2xUytVMi9g=; b=ckxiUUMoHxDu4hSh ePGHT2u8mo4Fk/6DIt81rld1ddMyIAYBMSJbIom9V2U9DK5vNvrANGK7PMBqa7Nj 6WdQ/Q7R/8HKegIxcpVe+ktIo2lDnfDQNg5c7VqJ5BgeBE1fBz3tDXQRrNYA6Nko ZJTS2w4J0H7frvSIqz2e39xaLljyfzkEp8L4A5AYTjx6KCatbemY/y0GuYIsG/Lt CubHi+/SdglBLAHisL2YwCHEumLg3ciHjM9lpZ0zqPmIEXIQ47CO7tHo9hNVuRUs BV4K2JMpcqEAtM2hEXU614FMcdpAl/vXuNLVqDM/oWPIaxHExcIIw4ohigXRmVi/ mF7V0w== 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 4a349y1qdn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:52 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2924b3b9d47so62115425ad.0 for ; Wed, 29 Oct 2025 01:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725151; x=1762329951; 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=XEgla+U/xa/majtIDImyoCO5Hj6TQNLmn2xUytVMi9g=; b=JMTQS6LBG6BUazVNd+816dxgJhXRCVVMRFsqV3UAxZhRRWubkE9IV67y0vQ3Qw5Ixq 0HRfGUjpQJ0Wc16GL40nP6I53urfZX6EmHQJjUInBU7dWMAapwYPO3FIETeJVa1YGxxf Xv68/QbUt/2Qoklgezoi/DCh0XJ4o3UWz8fcWWSDLt3IcY6RwZsCj7dXgC39wo7J8vjv vjxm5tt475lT2q89ecoRVu8QM/Cwaka92WxSNVFDZ/18DGiJxKCdtJeiAHFgM6qzMXom 1UME0iBgSU9+xxIaIaN/AkgG0mBXm3nEVSU0PPlOaqoGE/USc0Nqqa610H0+PDcnTbRM GlRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725151; x=1762329951; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XEgla+U/xa/majtIDImyoCO5Hj6TQNLmn2xUytVMi9g=; b=S/cHHTGsbIpiJnjwBFUR6paGZEfvzmoYk3a32mz8VSDxsG430UvzQj0xi+WvCzx35j 3ULNQabJ0DFKxldiLhb5YinHekiU7ox4Wx8H7g3FBggm+Oj/RsvxZjfe6bYc65ZPdhcU GXSx56+0EInNFijFRZVOMQfzYhFQw9bry+ndFIL0Gpivc+NN7XX0m39VWQfnfbDrHx/n FlreCWC4JH10wDaTgTXQ856MtB8XPhoQz+oKrpsPLe3hDwr4qhAL++wvbInjCq/e67K0 xK5leQgkJkJDOqG6691BsYw/Or8RRknRxNXgvLsDdbnkgaaoi1OxDm8U353q6zP7Rjay ysqw== X-Forwarded-Encrypted: i=1; AJvYcCUxOmO1KNaPFdKQVAPu6t+uDu80FQvRuvFIzCYKJT4/XrvacVQI3ZQROFxff1HHa9RGPzTFpiKo4KHaSVI=@vger.kernel.org X-Gm-Message-State: AOJu0YxEgSWT+jeDjWEt7e/82adjW62sVDnJgfPqu753MHK73YcU2RtU zU7yMVGcTa6AHWUSm7vRFvP/PQ6oClNnvBvTeK/+ohjTRYkBs7mYvFkIBes+S7auaStmmiQhlhs SVEsaTAkkmOpTL98WzU5E6VbAAJ1ZGDKusvvoKOexeSTJgcY9jr8Fh7B+GdkTK0M6CCw= X-Gm-Gg: ASbGncvgsdsxDB8qJxcjWEZFH0KsMgmmVnXCiVrZvJQx3hw4Cy+0btUeP5cx7nRC6xz 3WjDhkQffGSdimAkDa1Q6DbP+K3pEilBe8+mypjW3ySMCrgtS2hTpE4mRlARTTmlVPuj3TOQnqz 1MDaQQUejuqIpuEuyTVgBvlPZmh+/618smcXynVFsfo8VBqXIOMjW7+oQIJyfB3IfKJMT5ldZ+Y yVekaC3+leDWcrXYgQBiRZ7GYbtfjqRLnTf7mFmznJrQ6QZn3Nn5+DaUBDCkB8T59cesRadKui+ aW/L1B8augM60w+VzrTlqCtaHN4Zc1WrtE7up+iN/c3fcnkbzxz+r0sunXL2ddDlt8GGfdcEUPr W3MFOPiIhVz1PWO6RHgAi1T66YTKzrz/nbq1TzLKwCQ/eM1Kp5g== X-Received: by 2002:a17:903:234c:b0:28e:7841:d437 with SMTP id d9443c01a7336-294deea30e2mr21878975ad.38.1761725151026; Wed, 29 Oct 2025 01:05:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpPEi4WlbwcyplBboH3lz1aUsMT6TGZWISfoeX9piVsY9uVeXbcb7vee1wbh8/wgkwQpHavA== X-Received: by 2002:a17:903:234c:b0:28e:7841:d437 with SMTP id d9443c01a7336-294deea30e2mr21878595ad.38.1761725150343; Wed, 29 Oct 2025 01:05:50 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:49 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:42 -0700 Subject: [PATCH v2 4/7] 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: <20251029-knp-remoteproc-v2-4-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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 , Gokul krishna Krishnakumar X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761725143; l=11300; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=jxg1ubpFLul+9Myh+/9LSiuIQlv2PwyeKqAQEjPjUR8=; b=mhWyExVi8eo/QDElZ1PIiMwwZ9xz7hDcVyRK7cVziN6I7VRSIwhyM2lZ8awVkXIRm3ms6UfsW 8YdvVkYBTdxAPyKnBSIqWcsfp0mtKx5aOv/6aj5FDhYqmn3wkBr3VOs X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Authority-Analysis: v=2.4 cv=D8RK6/Rj c=1 sm=1 tr=0 ts=6901cae0 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=pkFH-dftJZDyodMaESMA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-GUID: dxjxGTj7tw8vexX__R4gE6O-rLHRoHd2 X-Proofpoint-ORIG-GUID: dxjxGTj7tw8vexX__R4gE6O-rLHRoHd2 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX/DP3dMgVQFph 7OvVoSiwKKXSh8WydzkPkXNgixSr9QZciBne6bR8ajiZpD9F+LEq3eR0bzwfmHtIu81oxpKe8TJ NB+Bvq9YaP5Z8bb4gONlhtJ4jzM6bA8OTR+c8wcdJr0p0YMa4D/lPrshzpyrbhWOYEmB6vi5cLs /sPjIxK0zQ63SDW2XbvUfBzeHe6FWhVB5bBZI4ADSXyfsYDU/8x7Kw7DzNL57QjoskrMmwKvN35 uftbZJPmO2EalXOr1voHcpbDfAReF8YbmDXK97T75suLqyJd9Hdx4xJPDTSVsQAZ4678P68IzAk nS9KbP/WIwwXowuxaXuHnIkNxdhv/hnQAM3O4EMv4RHm/AJMsuuqLVKPkNkaoczQ+ktEvRx10vB Gv7W1nXHx2wLlg4WvhO85ykdztW7VQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 From: Gokul krishna Krishnakumar Subsystems can be brought out of reset by entities such as bootloaders. Before attaching such subsystems, it is important to check the state of the subsystem. This patch adds support to attach to a subsystem by ensuring that the subsystem is in a sane state by reading SMP2P bits and pinging the subsystem. Signed-off-by: Gokul krishna Krishnakumar Co-developed-by: Jingyi Wang Signed-off-by: Jingyi Wang --- drivers/remoteproc/qcom_q6v5.c | 89 +++++++++++++++++++++++++++++++++= +++- drivers/remoteproc/qcom_q6v5.h | 14 +++++- drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- drivers/remoteproc/qcom_q6v5_mss.c | 2 +- drivers/remoteproc/qcom_q6v5_pas.c | 63 +++++++++++++++++++++++++- 5 files changed, 165 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5.c b/drivers/remoteproc/qcom_q6v5.c index 58d5b85e58cd..4ce9e43fc5c7 100644 --- a/drivers/remoteproc/qcom_q6v5.c +++ b/drivers/remoteproc/qcom_q6v5.c @@ -94,6 +94,9 @@ static irqreturn_t q6v5_wdog_interrupt(int irq, void *dat= a) size_t len; char *msg; =20 + if (q6v5->early_boot) + complete(&q6v5->subsys_booted); + /* Sometimes the stop triggers a watchdog rather than a stop-ack */ if (!q6v5->running) { complete(&q6v5->stop_done); @@ -118,6 +121,9 @@ static irqreturn_t q6v5_fatal_interrupt(int irq, void *= data) size_t len; char *msg; =20 + if (q6v5->early_boot) + complete(&q6v5->subsys_booted); + if (!q6v5->running) return IRQ_HANDLED; =20 @@ -139,6 +145,9 @@ static irqreturn_t q6v5_ready_interrupt(int irq, void *= data) =20 complete(&q6v5->start_done); =20 + if (q6v5->early_boot) + complete(&q6v5->subsys_booted); + return IRQ_HANDLED; } =20 @@ -172,6 +181,9 @@ static irqreturn_t q6v5_handover_interrupt(int irq, voi= d *data) if (q6v5->handover) q6v5->handover(q6v5); =20 + if (q6v5->early_boot) + complete(&q6v5->subsys_booted); + icc_set_bw(q6v5->path, 0, 0); =20 q6v5->handover_issued =3D true; @@ -234,6 +246,77 @@ unsigned long qcom_q6v5_panic(struct qcom_q6v5 *q6v5) } EXPORT_SYMBOL_GPL(qcom_q6v5_panic); =20 +static irqreturn_t q6v5_pong_interrupt(int irq, void *data) +{ + struct qcom_q6v5 *q6v5 =3D data; + + complete(&q6v5->ping_done); + + return IRQ_HANDLED; +} + +int qcom_q6v5_ping_subsystem(struct qcom_q6v5 *q6v5) +{ + int ret; + int ping_failed =3D 0; + + reinit_completion(&q6v5->ping_done); + + /* Set master kernel Ping bit */ + ret =3D qcom_smem_state_update_bits(q6v5->ping_state, + BIT(q6v5->ping_bit), BIT(q6v5->ping_bit)); + if (ret) { + dev_err(q6v5->dev, "Failed to update ping bits\n"); + return ret; + } + + ret =3D wait_for_completion_timeout(&q6v5->ping_done, msecs_to_jiffies(PI= NG_TIMEOUT)); + if (!ret) { + ping_failed =3D -ETIMEDOUT; + dev_err(q6v5->dev, "Failed to get back pong\n"); + } + + /* Clear ping bit master kernel */ + ret =3D qcom_smem_state_update_bits(q6v5->ping_state, BIT(q6v5->ping_bit)= , 0); + if (ret) { + pr_err("Failed to clear master kernel bits\n"); + return ret; + } + + if (ping_failed) + return ping_failed; + + return 0; +} +EXPORT_SYMBOL_GPL(qcom_q6v5_ping_subsystem); + +int qcom_q6v5_ping_subsystem_init(struct qcom_q6v5 *q6v5, struct platform_= device *pdev) +{ + int ret =3D -ENODEV; + + q6v5->ping_state =3D devm_qcom_smem_state_get(&pdev->dev, "ping", &q6v5->= ping_bit); + if (IS_ERR(q6v5->ping_state)) { + dev_err(&pdev->dev, "failed to acquire smem state %ld\n", + PTR_ERR(q6v5->ping_state)); + return ret; + } + + q6v5->pong_irq =3D platform_get_irq_byname(pdev, "pong"); + if (q6v5->pong_irq < 0) + return q6v5->pong_irq; + + ret =3D devm_request_threaded_irq(&pdev->dev, q6v5->pong_irq, NULL, + q6v5_pong_interrupt, IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "q6v5 pong", q6v5); + if (ret) + dev_err(&pdev->dev, "failed to acquire pong IRQ\n"); + + init_completion(&q6v5->ping_done); + + return ret; +} +EXPORT_SYMBOL_GPL(qcom_q6v5_ping_subsystem_init); + /** * qcom_q6v5_init() - initializer of the q6v5 common struct * @q6v5: handle to be initialized @@ -247,7 +330,7 @@ EXPORT_SYMBOL_GPL(qcom_q6v5_panic); */ int qcom_q6v5_init(struct qcom_q6v5 *q6v5, struct platform_device *pdev, struct rproc *rproc, int crash_reason, const char *load_state, - void (*handover)(struct qcom_q6v5 *q6v5)) + bool early_boot, void (*handover)(struct qcom_q6v5 *q6v5)) { int ret; =20 @@ -255,10 +338,14 @@ int qcom_q6v5_init(struct qcom_q6v5 *q6v5, struct pla= tform_device *pdev, q6v5->dev =3D &pdev->dev; q6v5->crash_reason =3D crash_reason; q6v5->handover =3D handover; + q6v5->early_boot =3D early_boot; =20 init_completion(&q6v5->start_done); init_completion(&q6v5->stop_done); =20 + if (early_boot) + init_completion(&q6v5->subsys_booted); + q6v5->wdog_irq =3D platform_get_irq_byname(pdev, "wdog"); if (q6v5->wdog_irq < 0) return q6v5->wdog_irq; diff --git a/drivers/remoteproc/qcom_q6v5.h b/drivers/remoteproc/qcom_q6v5.h index 5a859c41896e..8a227bf70d7e 100644 --- a/drivers/remoteproc/qcom_q6v5.h +++ b/drivers/remoteproc/qcom_q6v5.h @@ -12,27 +12,35 @@ struct rproc; struct qcom_smem_state; struct qcom_sysmon; =20 +#define PING_TIMEOUT 500 /* in milliseconds */ +#define PING_TEST_WAIT 500 /* in milliseconds */ + struct qcom_q6v5 { struct device *dev; struct rproc *rproc; =20 struct qcom_smem_state *state; + struct qcom_smem_state *ping_state; struct qmp *qmp; =20 struct icc_path *path; =20 unsigned stop_bit; + unsigned int ping_bit; =20 int wdog_irq; int fatal_irq; int ready_irq; int handover_irq; int stop_irq; + int pong_irq; =20 bool handover_issued; =20 struct completion start_done; struct completion stop_done; + struct completion subsys_booted; + struct completion ping_done; =20 int crash_reason; =20 @@ -40,11 +48,13 @@ struct qcom_q6v5 { =20 const char *load_state; void (*handover)(struct qcom_q6v5 *q6v5); + + bool early_boot; }; =20 int qcom_q6v5_init(struct qcom_q6v5 *q6v5, struct platform_device *pdev, struct rproc *rproc, int crash_reason, const char *load_state, - void (*handover)(struct qcom_q6v5 *q6v5)); + bool early_boot, void (*handover)(struct qcom_q6v5 *q6v5)); void qcom_q6v5_deinit(struct qcom_q6v5 *q6v5); =20 int qcom_q6v5_prepare(struct qcom_q6v5 *q6v5); @@ -52,5 +62,7 @@ int qcom_q6v5_unprepare(struct qcom_q6v5 *q6v5); int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sys= mon); int qcom_q6v5_wait_for_start(struct qcom_q6v5 *q6v5, int timeout); unsigned long qcom_q6v5_panic(struct qcom_q6v5 *q6v5); +int qcom_q6v5_ping_subsystem(struct qcom_q6v5 *q6v5); +int qcom_q6v5_ping_subsystem_init(struct qcom_q6v5 *q6v5, struct platform_= device *pdev); =20 #endif diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_= q6v5_adsp.c index e98b7e03162c..1576b435b921 100644 --- a/drivers/remoteproc/qcom_q6v5_adsp.c +++ b/drivers/remoteproc/qcom_q6v5_adsp.c @@ -717,7 +717,7 @@ static int adsp_probe(struct platform_device *pdev) goto disable_pm; =20 ret =3D qcom_q6v5_init(&adsp->q6v5, pdev, rproc, desc->crash_reason_smem, - desc->load_state, qcom_adsp_pil_handover); + desc->load_state, false, qcom_adsp_pil_handover); if (ret) goto disable_pm; =20 diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q= 6v5_mss.c index 3087d895b87f..ee9bf048820a 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -2165,7 +2165,7 @@ static int q6v5_probe(struct platform_device *pdev) qproc->has_mba_logs =3D desc->has_mba_logs; =20 ret =3D qcom_q6v5_init(&qproc->q6v5, pdev, rproc, MPSS_CRASH_REASON_SMEM,= "modem", - qcom_msa_handover); + false, qcom_msa_handover); if (ret) goto detach_proxy_pds; =20 diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index 158bcd6cc85c..b667c11aadb5 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -35,6 +35,8 @@ =20 #define MAX_ASSIGN_COUNT 3 =20 +#define EARLY_BOOT_RETRY_INTERVAL_MS 5000 + struct qcom_pas_data { int crash_reason_smem; const char *firmware_name; @@ -59,6 +61,7 @@ struct qcom_pas_data { int region_assign_count; bool region_assign_shared; int region_assign_vmid; + bool early_boot; }; =20 struct qcom_pas { @@ -409,6 +412,8 @@ static int qcom_pas_stop(struct rproc *rproc) if (pas->smem_host_id) ret =3D qcom_smem_bust_hwspin_lock_by_host(pas->smem_host_id); =20 + pas->q6v5.early_boot =3D false; + return ret; } =20 @@ -434,6 +439,51 @@ static unsigned long qcom_pas_panic(struct rproc *rpro= c) return qcom_q6v5_panic(&pas->q6v5); } =20 +static int qcom_pas_attach(struct rproc *rproc) +{ + int ret; + struct qcom_pas *adsp =3D rproc->priv; + bool ready_state; + bool crash_state; + + if (!adsp->q6v5.early_boot) + return -EINVAL; + + ret =3D irq_get_irqchip_state(adsp->q6v5.fatal_irq, + IRQCHIP_STATE_LINE_LEVEL, &crash_state); + + if (crash_state) { + dev_err(adsp->dev, "Sub system has crashed before driver probe\n"); + adsp->rproc->state =3D RPROC_CRASHED; + return -EINVAL; + } + + ret =3D irq_get_irqchip_state(adsp->q6v5.ready_irq, + IRQCHIP_STATE_LINE_LEVEL, &ready_state); + + if (ready_state) { + dev_info(adsp->dev, "Sub system has boot-up before driver probe\n"); + adsp->rproc->state =3D RPROC_DETACHED; + } else { + ret =3D wait_for_completion_timeout(&adsp->q6v5.subsys_booted, + msecs_to_jiffies(EARLY_BOOT_RETRY_INTERVAL_MS)); + if (!ret) { + dev_err(adsp->dev, "Timeout on waiting for subsystem interrupt\n"); + return -ETIMEDOUT; + } + } + + ret =3D qcom_q6v5_ping_subsystem(&adsp->q6v5); + if (ret) { + dev_err(adsp->dev, "Failed to ping subsystem, assuming device crashed\n"= ); + rproc->state =3D RPROC_CRASHED; + return ret; + } + + adsp->q6v5.running =3D true; + return ret; +} + static const struct rproc_ops qcom_pas_ops =3D { .unprepare =3D qcom_pas_unprepare, .start =3D qcom_pas_start, @@ -442,6 +492,7 @@ static const struct rproc_ops qcom_pas_ops =3D { .parse_fw =3D qcom_register_dump_segments, .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 { @@ -765,7 +816,7 @@ static int qcom_pas_probe(struct platform_device *pdev) pas->proxy_pd_count =3D ret; =20 ret =3D qcom_q6v5_init(&pas->q6v5, pdev, rproc, desc->crash_reason_smem, - desc->load_state, qcom_pas_handover); + desc->load_state, desc->early_boot, qcom_pas_handover); if (ret) goto detach_proxy_pds; =20 @@ -779,6 +830,16 @@ static int qcom_pas_probe(struct platform_device *pdev) } =20 qcom_add_ssr_subdev(rproc, &pas->ssr_subdev, desc->ssr_name); + + if (pas->q6v5.early_boot) { + ret =3D qcom_q6v5_ping_subsystem_init(&pas->q6v5, pdev); + if (ret) + dev_err(&pdev->dev, + "Unable to find ping/pong bits, falling back to firmware load\n"); + else + pas->rproc->state =3D RPROC_DETACHED; + } + ret =3D rproc_add(rproc); if (ret) goto remove_ssr_sysmon; --=20 2.25.1 From nobody Mon Dec 15 18:55:56 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 497F2314D0A for ; Wed, 29 Oct 2025 08:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725158; cv=none; b=ByWWKxbBnhrrCd9szbJePUK1YC7uztNERVTorrVqSO8a9JvelV6AN3C5NAb9OT0bTHaCCB/Kv40pqVtv23NaOjkhmtBo62p2k/EURW2SummWDlG977OrGRaBzHcMpEFP8XV37CtTHbjmhQuwtTdnTMiOjDKBYz+yljD0wO7v08w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725158; c=relaxed/simple; bh=CKt8Skmgsmi0xiNgmGVCB0ByG4/WRoa7PomttZXz7T8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PdFMSe0valVtN5775/H+j2X4+2Y9czZBGQ/QgAAtWXt3Xy0AM6KBuX9xxQnR6Tgbm+xKQFYWpz/Uh8uCS3BKy3ivdJ38Q7h8iPoo9zJOUtXi7a+VF131Ou1ojXKyuaQaxT9bsReQjSEsV1Nd8Rx5LSM3QYyBEtw/tHEXzxLH9Nc= 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=GUOFph9W; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=I5uTtXS9; arc=none smtp.client-ip=205.220.180.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="GUOFph9W"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="I5uTtXS9" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59T4urHI3764247 for ; Wed, 29 Oct 2025 08:05:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 9NX5wX2YhjlH69BNTyfzdigy0bOKooGYLfSt5kediBY=; b=GUOFph9WbtWcfYcn dWH9N+oLNxurnVngya+Plj1u7SIm/5vW1dtefqT7xFXud7iV6WGLhiHf3LUdwRTp ZpqCKYEd1K/8tjaY5JbIy7LWbV57TU4LqAMFOuBO/z4izQcPy5wdk6jktSOfT4Ia aq/b1R5+kZbIsIv7Pf0c0IFLwh77BJy+xYNOsWEt3+Le6OsyWJlJd/fPytZqNnLy 4YPLRzlW5uwiBG4LzDP2uJh+v3hC9uoESw9/up321gb+5XrIh//8JWUG+aAqRMg8 yj6IAUGEqpAIEbiUiyKJeUY0pQUn8/tLZSmIrGuf/QK6echwdgx2TS5JdLc7wfcr pqRnGQ== 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 4a34a11q3m-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:53 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-290b13c5877so139963225ad.0 for ; Wed, 29 Oct 2025 01:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725152; x=1762329952; 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=9NX5wX2YhjlH69BNTyfzdigy0bOKooGYLfSt5kediBY=; b=I5uTtXS9qNV0QVHGVKpkG9fwvDr3yp9oxJA2eRkkGSgkh9UjiUF8fsfFs+HLUpOEdZ GglU/fozFWicOm4OI8CUHJntfcOnLsRZhRxpB+Vudc6fyu9b44gH+xmjdj8urZtQgBGo /abc7RPczlOsZUQqZ7HR29bs7GaYXdB9Fna25y2A0utfrGohfDROHS1Zxrxq3yeWDP/7 195MiEziePaGY+8FxALJSvm609DDjLNKmIuW/Ux6Z8H9vQzDLFZylLMPdyIYIdZvom4Z c5jXR1H04G8aIRvyMMqtzQPwJrxwDa42fjHsmBzSmMHY+isCcf2muC0cG5wXQwui6nOV 7x5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725152; x=1762329952; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9NX5wX2YhjlH69BNTyfzdigy0bOKooGYLfSt5kediBY=; b=oqpPiOP0ioNUojlRMOFKfMnKCeQKSVQqwixharPA0MYDTGDYvbW13Vbc+0so50jwo0 BM+6LxBnPC/LiPwGYD65lbfKxja9E7kC8bcklrG6bomN9nW4Lsi+JADHtXsMiWzq6zH9 rmsyCCArTNgr33alhwHxwiIT5Kn/5ouv03C40m+CB3aNE3X/o+ZOTCdhKTPwZyuZVGHJ T1zg9iXD6hLrU1WlrrmXL6C7BJwAMRA3+giiNSz2rnLWnVX5+QqleQliQ/jvMnm82Euv wXtYcipiZZzWMSOPxYJr0UQtcAMvYCH3wpJcx5nqQxQUT/9yfL1raYPHpaS16X1DrXrK a7Uw== X-Forwarded-Encrypted: i=1; AJvYcCW6nb6krbnB7RJggvlGGe2PqjLMlcfqzatB7n5lrK4k3KuW5l5wNoV1dZSbT8nLYU5EHu7b86HC1YCNyy4=@vger.kernel.org X-Gm-Message-State: AOJu0YyfJ5PUqW72F8hd6Ef7o1iSmm64LeHgT3INp4JQe1xTNHtxiwC4 Lg+aOvZQyizZMwrCj70lsHRRNq3AvvCoFQ3UAXHNjdb1lHX3bA4m7gdQNwNpMqR3jutkwxhkGU4 s160imdQktJ8QaJvdnUwcDMZHLshdGRPBztj7cmxfhnDzxeDQIn86ALKwCr/YX9yYbaE= X-Gm-Gg: ASbGncvwiWH/Do7WV5MuHoTw1PkBermwkLn7u7lCzhjFQz0J9x2Ub56uKhUZ+SjEr2F AVjNHd2t7g0iTdj1hNNzE6x1ff16XCFum+ZJWmg+nQnhAamObNHzBZriCe3KMwS9Fp3ymai1u7N CXobyEHDgmUStEWJyCJUsfjwnYDJ9zec88EI2uLwqhNO2EfHT7pUG1Egzi5xi/wrpx5H7Nd1nTu LeYgtwbwmxo74FO+Cn+IAnPrvbRQoKPL2N7h7oHn+hRPl9hymgMVzehpXZJjLs6xdVebDZi4YzD FlXVZ/3oHOV4ApbGx+XbCvQ1duXtecwp7hBxoQBFk0QM6ISBf7nsx2LpcceX2TQ/+3goFaAkH/7 xb9izjkIODAYGoiIqlA3QwpuyS1HJGzDzP9jKkjW1rpl+UQ+nzQ== X-Received: by 2002:a17:902:c411:b0:26b:da03:60db with SMTP id d9443c01a7336-294dedf453bmr24761495ad.13.1761725152057; Wed, 29 Oct 2025 01:05:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpC4Yaz06BQLmNZjQOHk+DUr2aZgqq8Ytc//6fK2f6hDjcm6LdFNuXkxUgm3UGJLFIDbAaGw== X-Received: by 2002:a17:902:c411:b0:26b:da03:60db with SMTP id d9443c01a7336-294dedf453bmr24761145ad.13.1761725151516; Wed, 29 Oct 2025 01:05:51 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:51 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:43 -0700 Subject: [PATCH v2 5/7] 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: <20251029-knp-remoteproc-v2-5-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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 X-Mailer: b4 0.15-dev-99b12 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761725143; l=1580; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=CKt8Skmgsmi0xiNgmGVCB0ByG4/WRoa7PomttZXz7T8=; b=zraglLPDxf1FKILsB9DgQV6I1xCTmrtSZ7BHX/DHCEQ7LWe2ccah/FiVFuUGYjOFWgT4OaEzJ xFTNEcPE+NuBfoVVlXVkPoj7L5kbV6xN+1sm6wPn9uVHEhpZn2C+FVk X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: YvlCfAe_9xs-yb8rWFThiDREmmV07CQR X-Proofpoint-ORIG-GUID: YvlCfAe_9xs-yb8rWFThiDREmmV07CQR X-Authority-Analysis: v=2.4 cv=A5dh/qWG c=1 sm=1 tr=0 ts=6901cae1 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=-54vo4t_4OUFHp6kYXwA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX/PtkEkVxoP9p be26VnGG+BPtOWbq9ePDPwtsseJIb5H865Z1GwFeNWmymMnr0P1CzLTCckKOX2O98kJ2rnRkR8N Ny0FNf9TR7f813EuJ8xI6qE42qiZxCk6zN8vrEMqLjBvxGQblA3POfgkNWPNi1jKvuxhcOvOfIa L6GFiS6ys7kOf0CUPQgOsdRYgHnMp7yz5zlsmBvwh5Kn7wrv71ZBjS1+8ktdrMrFeZkxYpMVem0 60qOYmNjIn7idHr9FwjlpQMgpW9inOQWbaGqK5ZfKQCMtvPZnq0HpUPVwDmZZSxwLlEtHOq5atv jo+V2dRoV+pssM3TQO+j8Qa7E0tpUkG9Xtv8LAz7TGvukKLJLH0BVMwbfBBwzwNxdq+MYn4VeGA PdUO1waS+T7PZV/adRgEEnG17j5fIA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 spamscore=0 bulkscore=0 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 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. Signed-off-by: Jingyi Wang --- drivers/remoteproc/qcom_q6v5_pas.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index b667c11aadb5..c470b139afd1 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1515,7 +1515,25 @@ 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,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.25.1 From nobody Mon Dec 15 18:55:56 2025 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 002C5314D3E for ; Wed, 29 Oct 2025 08:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725157; cv=none; b=dWS9tYfhITMRQhwlXh/blfzCS4ShPmtJ9eLDqe0Lr67j/uXJxUSb1Ac14lAVSbTIF6H9IvZZ9uh5bNFPzPtXoSfKCqbl1cOSjwpcz5tOzgMc4VLQ73vD44WHPsHhsZLWpVU0HqtfxpWcvVNxTcVyM4QsqN251gH4afI+GfoqV8s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725157; c=relaxed/simple; bh=wSsC/m90UcMlRas3mHaUoFTcsLJkym6KsxiJChRWUvo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rd3xLVGSaNFJ33OMKeONvCeqQM1CdxtG3UB7h6OcmWjmJq0kS887EKRDTy3u2wGHnikaYldhJHQ7VaIfx2zzrM+f1+QDoYXEzWph9pdAoOnksF1mxrK1S/PiNN0WjLXbFKsNnNf1YtawfeOmmZqM9hZhoelhM3p9171t5haqeHc= 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=AGJDmc9D; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=bBMXCBlY; 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="AGJDmc9D"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="bBMXCBlY" 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 59T4v3Hs3663756 for ; Wed, 29 Oct 2025 08:05:54 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= WyCMuRsQwYryKroqDg3C2kFC0X1+TeXJPv9gZBeQfSs=; b=AGJDmc9DJHmTpVc2 WvYAMcxQwEbia0qNhbRMuVUsQVult2FUHNENsrpIrTErBHOfZI5fyixNsFn7ZpnX FF2Ek6JAgi1uIxM61r8lXJnzAPRbOJMeOCBVoxEllO8WoYevoiz7dW4VxGjMKFov PtZfXyX1y0qAuvJvOe0XuqCDNjcfrUUBgbZFyMq/pGCmR6FHm8wWnuTnARhUGdpA sdyeCC7Cf9qBlHVZcoIHk/9Ig9ANwuCBrQmwCPtwgcPpYqHl5f8QZeVhPsVnwxH+ SWNkJZtJ5dQIYRsslnVhyzw/TSGUufS8L3/YSe0AvxlaYSTNIgbML937acmmelKH a5nlLw== 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 4a34a1spvk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:54 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-26985173d8eso180985895ad.1 for ; Wed, 29 Oct 2025 01:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725153; x=1762329953; 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=WyCMuRsQwYryKroqDg3C2kFC0X1+TeXJPv9gZBeQfSs=; b=bBMXCBlYvzIhmNJ6ZXmQ12u6vTC7WCsXbFswnmX8CQR+5EQVGCPO6N2SlN/4yPiVwk 8BQm1FWyWvN97sHuir2TCIQDzLX071xfNkQUwMwovLcqzymkTZkrX1AAphTBm0hGzzV7 Y5X5Z0LK0cTDQbJzG2dg21Zc3SNRYj+ye1tJKPzHo3bAVCT7hihhJE3k1cXPQDpJY1Zf wJIXMKxyh5j317QwQFJ9IQGZMs8JgFUP0KXxCBWAIqpMTnyVfCIUM65dZM0PVjMRv/OI xuUpa7PSv+PQNmFzrOblpuA4U3srxSWkmqDLx1Jw/GhntRjwyxzEZbEiR1UyaGt64Qku +T2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725153; x=1762329953; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WyCMuRsQwYryKroqDg3C2kFC0X1+TeXJPv9gZBeQfSs=; b=QtW8Wlxnn4bhKx7PtkiB7OD9HRZgTHPqgdAj5QtO1dv/PHN3Y3bMJ+mZYJqRk66KJE X7p9Dy2Ifd63VSQ/Vm0EFmVCHGFWzxlspL35kanG5fLl/+Sm21/kTSPUnsDpI+cl8Tod tiw+LApCisyyhQCn7UamxwyNggztZ9N5IgwRjSrJPlVEgyy834xEkHOnIP284PLYpWEZ h/S+2XFYd/ie29+LF9A3MANixnqXg2U3qWAmRuibnyP1B/ru0oiagZ5epxlkiEgs3DBr Vc0q4DeqjNzlnA3VseZLDK1dOzZvQKkbtKu8KZfC4kXV8sUhgHc/Cc4+yLxN9EpKnYnQ kcIQ== X-Forwarded-Encrypted: i=1; AJvYcCX2sxhaWEKmVGwcBpSwRHtBLubo5cp1W2PclXSwvUFzsTGIeAnl8HfnQbHWCSOvc1Y/FePM6WfPd6zD9V0=@vger.kernel.org X-Gm-Message-State: AOJu0YyPWwV+lN+oy285uMRGnS4go2dJfr+gHdQdLDkYxLDFHJUwViMt RinrkRJRoQaD+bX3926BYtlMrypXCJkxCXm8DoJfAuWVT39rEyGrZA6ZFL/TDImjEV/DVlNSMmZ hAd02a8xAaisQp1n8FBMmBjejWlOhAxQiAGd3RnTwCK/KJD8rnUxRPMU4U3Wq0gpZi7Tgzsnn0C OjTw2V X-Gm-Gg: ASbGncunSXrfGv7AMt709oNGBTEPCd2se2+kU1gFrh2zu1Wd8JdHjLtS8FZuA5QumiV r0mLC5hTF0o/kxs39Y8CJRTS0+JY6ImV3LhYcOaZdGeXPVmjuntWIrDT/mi+1GQfLN2Fj0jSHqN ZxSUPzXepPHPLnHjm9iqWp5uksyzM4dNRZMh29KPlu2zBo1rVlZL50yOaBt3cWDCVLswQZCfual YsYXGhA4nyZoMlhkR/yBCTIcXG9ZA9cziBoiY+nMrCNbq5HaNbXTXw7fxUQMjIp/OEw1TwJLwpw tAiWdjz17ehApZj+rYwA+k6+cwiaTVZwc8fBhfaknF/yIsb5QoxCJr7UVCcTpxbjhs89OUHoZXs vlGwziLs3ML+Fwy8ZhhvIAaoQ8QzSk5/e9aK6BnvUSq1kr+WD8Q== X-Received: by 2002:a17:902:d4c6:b0:24b:270e:56c7 with SMTP id d9443c01a7336-294dedfa77emr25415095ad.7.1761725153399; Wed, 29 Oct 2025 01:05:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAY5y1XPZmwwX/bye2S8cDKGJs6HaLWTblBH69Q2eN1bFSJbsrs9FLTLCUpKeXfl4vf2jwhQ== X-Received: by 2002:a17:902:d4c6:b0:24b:270e:56c7 with SMTP id d9443c01a7336-294dedfa77emr25414645ad.7.1761725152784; Wed, 29 Oct 2025 01:05:52 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:52 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:44 -0700 Subject: [PATCH v2 6/7] dt-bindings: remoteproc: qcom,sm8550-pas: Document Glymur ADSP 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: <20251029-knp-remoteproc-v2-6-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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=1761725143; l=1709; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=MbjJGjYI2p6gxBQQC0Iy4v/3D5XLYqqgbONuf+0Bivc=; b=mIqI2Fn3tZsYy5tef004AeqHk+HfppmB5mX2ylArmDyyZkhg29XijEm/2juY+QDwt2wdGs4tk 6kjJUm5xiNgB+q8TfsGi8xaA3kcUnMlJvRX4wMNtB+uKlAhvCf6/d/t X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: z4bE82Z3bRNtO1D1IYfBvZfRjAEH-O22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX2niD/8rudDNA P6uvYBMyJpLI2o/B4AIVkQXYQhysGDXQvPajX1qP1mKdUZ0rO55c+/b5PQbIZA+PNcdTRB3+Scj uh5iLrQNlB7uOzUxGLALsuQqoBm1IsqBcEHwLVimoBh6omQr+CP4ZBQJckApBy4eFJkpwMqP4dD IZAR368KN61XhhqpmPLnIk1N2irZ7HNirHBb/ZyFGxSiHsSMx6eZctZtAuZ0NN4tALD8dGAq9pu 4G0bTClUNbNEjxLo0BDKpKzYtp7Mvb1JFNOdIYhAC8M6/9AtM1EUIW68j+cUN1dqE+Q47H43umb BQv7rAyjYfCOT+agn/r1fytmS4WTYr7/813RdAzFwVoItZEzd69b4zG6HrDL0/V3BdoebrNKkHg hgSr9oo0F9kDBg0N/LP9g5NI/WDmSg== X-Proofpoint-ORIG-GUID: z4bE82Z3bRNtO1D1IYfBvZfRjAEH-O22 X-Authority-Analysis: v=2.4 cv=UObQ3Sfy c=1 sm=1 tr=0 ts=6901cae2 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=JsIBf0UYXXKOit1WgS4A:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 phishscore=0 bulkscore=0 priorityscore=1501 spamscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 From: Sibi Sankar Document compatible for Qualcomm Glymur SoC ADSP which is fully compatible with SM8750 ADSP. Also with the Linux Host running on EL2, the remoteprocs need to be hypervisor independent, the iommu property is mandatory to ensure proper functionality. Signed-off-by: Sibi Sankar Signed-off-by: Jingyi Wang --- .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 13 +++++++++= ++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 3b66bd106737..8cb839ba1058 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -29,6 +29,7 @@ properties: - qcom,x1e80100-cdsp-pas - items: - enum: + - qcom,glymur-adsp-pas - qcom,kaanapali-adsp-pas - qcom,sm8750-adsp-pas - const: qcom,sm8550-adsp-pas @@ -101,6 +102,7 @@ allOf: compatible: contains: enum: + - qcom,glymur-adsp-pas - qcom,kaanapali-adsp-pas - qcom,kaanapali-cdsp-pas - qcom,sm8750-adsp-pas @@ -247,6 +249,17 @@ allOf: - const: mxc - const: nsp =20 + - if: + properties: + compatible: + contains: + enum: + - qcom,glymur-adsp-pas + then: + properties: + iommus: + maxItems: 1 + unevaluatedProperties: false =20 examples: --=20 2.25.1 From nobody Mon Dec 15 18:55:56 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 3B43E31691C for ; Wed, 29 Oct 2025 08:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725159; cv=none; b=rTj48MsC73MpYzHmSKpHgR5iwbyXfYmQonbCvAViT3a2lqDr//Hd8b/BhiLPXoj9i7GvYD7RAnCq6q1b0nOZnF21+2esgnmMoCmL/mEnihMn5647JfsjWjn8Xoqs6Osce42k7D+a4bNVBPYuy/MrWAp8diLv0tPVEUr7JQYcG/8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761725159; c=relaxed/simple; bh=lHEUneC8ZRFILfNpU6bdJg56I1ugvFyyWle4SHV6vRg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lcBPrchZe7WCWq3Gwm2oqqPT0mY7kqkltPC+sgGMxUQxkmsOL56gJkPwWeB5uC45LTghWyd1DqOclRAms0CLjP+LQeTBrVZx9zSmy4WjlS8V86AE4zVVTJZyOKd/j+SAhJZiO1lGgkQ2Ku29nxh2XyDdjywh6a07BY3Rh/FvEUI= 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=C89gTu6R; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OhHDVnkR; arc=none smtp.client-ip=205.220.180.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="C89gTu6R"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OhHDVnkR" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59T4utGn3692128 for ; Wed, 29 Oct 2025 08:05:56 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= ofFGdSp31WO2sezoGGdCs4u+anOTrI9jfL6DeUVdYjk=; b=C89gTu6RsSLWPS77 0rupFkGUaZID0MJ04Ex9X06Pfbl1DliJyHpXRJWM1+41ymoCEIxvkE36ABhpL22J Yuw7PhJg3RTqeki4qddbP40XpAZdmYqXX3lwuscIVJvwAqptpgEiNdCX5XAdHUvM Oirg1ARVEklCqvEDiamT/HZkpi2vneP1Qq8sAYagYQ+NaCw0CNbXlM8V6J+isc+n +bQzHR+Mz9nJ7fFScB03cPL4HaHBV2N2i5ffXE9hwSHQCKI3+G7QegEdmrqrdFK9 oRz/hY4Uirhh+Pyb3Y4HD2vJAaDLR/7v+cCLDs2ehpTxWcC8iOI++KlVVTt48+f8 BkuuQw== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a34a2hpxt-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 29 Oct 2025 08:05:55 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-294a938fa37so83744565ad.2 for ; Wed, 29 Oct 2025 01:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761725155; x=1762329955; 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=ofFGdSp31WO2sezoGGdCs4u+anOTrI9jfL6DeUVdYjk=; b=OhHDVnkRSI3XCryVQxShTKuj8DWKeZmZC6/wY5Azwlg9mahsBZLot4LDFKIvgQx4gP P+TdgKpWL+7vyT1l0THDs0GG4XrN5IUKZxOVp/pNN+N9WzEFtPHQ/fE8gCeAX4Be0uM/ kJ1irPR+Qx7uvF4EoPYM7hVrkCMpfMFml7gdytP0tD5YkxevQighbWgSrq/qNGEMU9o0 PTe7jmzhryBUBrEZW9lBgGfoK51YkxZ1gXpJva71xhOmlf6K4bPE19IyiVIg5rCku0d0 f7mW9Tg5p+S4x3StY0o4Zl2KYER9BMS6LgxRMCtbkn7HdalXQhoIqS/HEmClcpdnnWr/ PMpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761725155; x=1762329955; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ofFGdSp31WO2sezoGGdCs4u+anOTrI9jfL6DeUVdYjk=; b=G1P1rmKGRCVHocFd9tSv37ON9GMcPY5r6ECPAlDuyh67QeQiYFGmbQAKdXL+TLK1ui s+liFWyarXjSpZc98qZijd6n40SQIH8vVhZn8tUDncn/ME658apM82rzlAuZ+K0iPO8i uZDef4wKX2mRQkZCjwATLlOFSvWUejZo2tIXRAGHWi7fMoZRSFibhrz1zcnstdQmpjCv qtlsK1uHneRji8PCZdIVu9lgMiXctfJk2i16JGtNmMaeQvIUVqZGwCd80cG+wfp8zuEH 34wQyXtyjCRqc8izJj7Rb89feBKrAGWXUdMtvyB49KovoyzRzpHASdTnWa3FwJVxazOX TZAA== X-Forwarded-Encrypted: i=1; AJvYcCUJsgnIXZQfZSXjstBJjDhNmx3uhyO1zOOTOaJAhVt+t/p4S7PGvuu+/C5VoYA90Jgbpmp8giZLziK12IA=@vger.kernel.org X-Gm-Message-State: AOJu0YzdbkUVofNUGG/K8wuGRiQfL/lrYOOre3A5X2rZFWxx2/13LdH9 14aoC4qu+NFO7Q+gckqXK3ptnmpRqptl1kqqcv7fYYDKgXHJPKPU61yk4xXLM3wf08Z1E7uOXNY 8T5Nlyrp/Gbh0WTcvNFrOoYwcqIWGRKVUpJWZ/OfCBNyRkb2oPxwg5S1C10+4q/MGVMI= X-Gm-Gg: ASbGncsGO9ekL2OrTZNWGr2u+KlnVFRIl5FmkUJhf/MK3so2CRtLpQv+Ctw2BEC3r+v D8HB8Mu0E7SyDp4bHxnPmJVYDkWa7KUL92HHQx54jirHs9aEHxXX4FLZ55s18SFNNmlmJdqF/YQ UQlnLB/BbfW49W6QIJU16WmGQYSC7PVXNXVAmk8e/ub6ciNmdoJpPtkHu54y5lzoBOKpGeF1p8P iozLmnyqbHXUTOHFYar9892g1pEZH66b6xBZpJz9HMBaRhgu/yCDOY4E8aVysxwbFbZNikvgeT6 DPIViUnr7b4/0U1HqaytdHwhGx0V6nAcTAGRbHkd0zKgA2cNOzi6ZLdt+ARFo59F06uCbWPrjD7 lifnE0RE+ngORk0faTNiysRoITETMU4SJaNmBGaKpVT/KLT++rA== X-Received: by 2002:a17:903:f76:b0:272:f9c3:31f7 with SMTP id d9443c01a7336-294def30ed5mr17205235ad.50.1761725154745; Wed, 29 Oct 2025 01:05:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0sQ6XdTFb2LBlKCQ/zHj45O0tHgxtuQUKM32YYiyj+0jGQytHyGDZXzy58NbJ4DNT3kWVWQ== X-Received: by 2002:a17:903:f76:b0:272:f9c3:31f7 with SMTP id d9443c01a7336-294def30ed5mr17204935ad.50.1761725154150; Wed, 29 Oct 2025 01:05:54 -0700 (PDT) Received: from hu-jingyw-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498f0be0esm141754705ad.96.2025.10.29.01.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 01:05:53 -0700 (PDT) From: Jingyi Wang Date: Wed, 29 Oct 2025 01:05:45 -0700 Subject: [PATCH v2 7/7] dt-bindings: remoteproc: qcom,sm8550-pas: Document Glymur CDSP 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: <20251029-knp-remoteproc-v2-7-6c81993b52ea@oss.qualcomm.com> References: <20251029-knp-remoteproc-v2-0-6c81993b52ea@oss.qualcomm.com> In-Reply-To: <20251029-knp-remoteproc-v2-0-6c81993b52ea@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=1761725143; l=1548; i=jingyi.wang@oss.qualcomm.com; s=20250911; h=from:subject:message-id; bh=eYKPFpa37xMNWR6oEwup8N8ConVWUukUmzw5FoOa2kE=; b=AvoX10IlqCOMl7HP84G4AyH1pNYxj9zO1ddYq4rGSLndb0DlsH6L5kcMxVv8CeSO8/DprCGRy IZnVfnKBgdKAQ995OIdqn8MPVmj2ZBqsHEggTNOuDQ+NnZB2chDwwAD X-Developer-Key: i=jingyi.wang@oss.qualcomm.com; a=ed25519; pk=PSoHZ6KbUss3IW8FPRVMHMK0Jkkr/jV347mBYJO3iLo= X-Proofpoint-GUID: M5AeeBNZyAlUt5l4g9YFN3xQzkmHSyX1 X-Proofpoint-ORIG-GUID: M5AeeBNZyAlUt5l4g9YFN3xQzkmHSyX1 X-Authority-Analysis: v=2.4 cv=PcvyRyhd c=1 sm=1 tr=0 ts=6901cae3 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=3YzqomBvCdNxOiMskVAA:9 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI5MDA1OCBTYWx0ZWRfX8moKo89DscpH Yeo5lfLwAv2YSuIz7zbyWI6zyDqdld7NCLCL+jOIWx4EuM4HPr749EOo4XZRBiqlYMGJilEmJ5E W9Pea5oXIcW6+sl2eMyFOwHFIr8gj6Llc4UPCCIos3SMiBTC3hvis0XD2JALXh9QkE3raEXOU2T QXBIJwe9dOgF5vRJV+CCFnrazktIjTJzEJDBZ+71XkaGbxrFbN+MShCbFCZP8RwP+An/dj6Yh5f x2oBwYB5KPNVAKX1PBesQ8lN036eryE9PhlkVPWVFkjv6MDldmiLm73I0jdpd+ZOOfrsToLIsoh YWGYReVsxw/e0ezzlGnTlKqHlY8Q52YDM0qWaa18TTuC6hLc07mk5ZPeL7ntswzw4ncMQQoCSZq xru6pJFAn7wgaNsqL8+KzznFj3VMog== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-29_03,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 spamscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 suspectscore=0 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510290058 From: Sibi Sankar Document compatible for Qualcomm Glymur SoC CDSP which is fully compatible with Kaanapali CDSP. Also with the Linux Host running on EL2, the remoteprocs need to be hypervisor independent, the iommu property is mandatory to ensure proper functionality. Signed-off-by: Sibi Sankar Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 8cb839ba1058..117150cebffa 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -38,6 +38,7 @@ properties: - const: qcom,sm8650-cdsp-pas - items: - enum: + - qcom,glymur-cdsp-pas - qcom,kaanapali-cdsp-pas - const: qcom,sm8550-cdsp-pas =20 @@ -103,6 +104,7 @@ allOf: contains: enum: - qcom,glymur-adsp-pas + - qcom,glymur-cdsp-pas - qcom,kaanapali-adsp-pas - qcom,kaanapali-cdsp-pas - qcom,sm8750-adsp-pas @@ -255,6 +257,7 @@ allOf: contains: enum: - qcom,glymur-adsp-pas + - qcom,glymur-cdsp-pas then: properties: iommus: --=20 2.25.1