From mboxrd@z Thu Jan 1 00:00:00 1970 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 A551F361DB0 for ; Fri, 27 Feb 2026 05:52:34 +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=1772171555; cv=none; b=GX+VHb2XUEYjGW3VmlHkwXU+lvfKqiKi8m/yshsZU289yrIWyGT+zYPgDJF/UXa7Wt/8mv83apsHahozH1kY0ZTFJdbBqAsanedNBsL8nwPWHgD7qlJEI8YsZQ+IePf4LV9v+WK+nNyvkKiXB8rpwwpbAXjhnP+WOhc/AKOwY0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772171555; c=relaxed/simple; bh=yYeK0ZjLZHsr2znKHdIhNJBApxnwX2qEDu8dzQsco0s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Jqq3fSvJlJKWaDikwkthAYN5z4SFnjb4dj+k+o/mMX34GnzXymPruDhkJuehnz9sIWG8I6GlMcrr7gJEuFV/zz+KD1GdbsD0yen9V6Z+Y9pOOz0sfT6HpPiJYbouCaR23E+6Y1Cih+7ds29MMh2AO8r+IdMbwpoqe9LsPzr5uSk= 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=ItmivUR2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=eGLJDXex; 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="ItmivUR2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="eGLJDXex" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61R2JxvR2353256 for ; Fri, 27 Feb 2026 05:52:33 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= UyMIJZ8Zx2zq/4xYD9pkY40RWJVVCKl3DKTScMyYyR4=; b=ItmivUR2PIICuypx APjSRxQsJdQpscf+oNbMredN0aUNN/rrnd8O+QZDoRpO5mwQeb1w3lysx/ECcmTo 9G5fxFOGloUzzdnRo/qraqZPOOCOJfLd7c4UYYl4ekGK697ozuwsu1Czy9mVwvwi pl0J/aNHh+kthQbNXLUPWP+ZW6+eMUQaXFFgtb7UNA8fOu4QQ2Yv4ZhZYNJc1cUJ 6EFUds431hsAwVNOP9Atiflkw4ASzGTm29+3rjHd7L+2ei1pJIuaA2T1tIcaBF4E uspu+eN/xe3G8peEI8EARVoY6W0boYWVFZu4jfjwWk0P7jeiQGoJXYQ/UZ7xEgay 4BaLyg== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cjm8u3gaq-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Feb 2026 05:52:33 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-8274aed98cbso341528b3a.3 for ; Thu, 26 Feb 2026 21:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772171552; x=1772776352; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UyMIJZ8Zx2zq/4xYD9pkY40RWJVVCKl3DKTScMyYyR4=; b=eGLJDXexyh47yLXH3CArSc2Vk/LScaXj1uwtS8DTAjH7izVSucDyDObL2or2qnr+go qiXYO4KDyzk00NnOE50KmADJW02G4u0IaEbSuFaFa2OUJANmJ6BOtzHHHDnPl1P7hdpO AkWXFhczpJmLouvpNw/zZ9guH/qkyqWvliconm2bE0y88/PpaQvWZbQa2jYdadaG8U7a kh7pZXgEu9eCXMKdII2NUjeiWY7J6Q1xYlviwWuJ/1WoukvnzV7sMkzAX2L5IbSO0Msq bByaAeJH83uk1ri1COog7eTzLggLFeFGG1GDKCm6K5g0aMd2hpXJl9z7yDcDSAxQmO4g WPsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772171552; x=1772776352; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UyMIJZ8Zx2zq/4xYD9pkY40RWJVVCKl3DKTScMyYyR4=; b=STeFRT0R300SvEgvveaI1y9qmDkEaMnh+1yul4+2Hc2xW9y2k6RbyctR7Hpwt+lnnE OY7py5eF2s5WVMQ1nuDeKGAPsgH4wTsvaCA8OlmSbVKp84uVPxWuR5iaMQmr3HWY4qJT ZKsAa6nADH5ZWXkHGHjCBfMZrIjPmmLQibnNOneia5Ch/pKh4McvnAJ8P+AR/W7pKJ5B 6WN6BcCioHb4KBZiRuuWZg/bxmEiArEVACBbQkmkI1brI2O8/RBhdelIUjs0GQ5zxbRe JOPvNz0+ktH/QUB0atznCG9pOGOWDyr6PwcrFO6/7dB/++vtJ8jYkLxJa5ZmaoUNFRvt rUaQ== X-Forwarded-Encrypted: i=1; AJvYcCVwbP74emOLQxwZxozfqDaMgQahAy4XWarwAO+toBMUOJXGi/8+YLi2xqT14OoGeM+tTFDagejeNGOTn4o=@vger.kernel.org X-Gm-Message-State: AOJu0YyCqLoCO1XN2eziXqsAJ1Ifc6+yit9/RYR3ZnEbWVjtsbGM88rv 9knPfN39vhjLJVYCjadJbDeXd1RX6bD5NTG3nmYM75LqhgtTm8y5qgJKc5eB40Fx4YtPFPt5lEN H6Xqa6L6mSgtM9+qvlVpfLnpifcethSjvCYkawsDP3GoAn66R3f/bZL1XKHJD+2/wIyM= X-Gm-Gg: ATEYQzyMaIcQE9GveIS81H0rTbUP1qVM3KzMFXVJCN/M+czq6WF2VUhn4ddQm4P1KTp YseXXcNfcxOT4reOWYfmshYJoooy1JY11rnXS3f9WUIWYMYQ2Q5s55hP+etnI+IrD8ojaAObIo8 keBOGRlYtAcqRNE0un+iXQ441Sv1cRoiw8VPl7pX1mQmfaacuUWqWJwhIavU/0FOmtvlnJLXBwb QprkPKUVQ7XxrBxaK1nwIfo8O1UKQ8/8r5+TB/vMfBsUdGB4r2ACyAueIaTHH5lJE0dyre9yzQC p0gPeGc5NHjpr9o0UI2WEJAVhe3HogVX9qkJIKTGuuSA42XkTuJgBV/vRO0hfiIxFytsw7rVT+o aIQjplyLkRCVA/JIc0GEqtcCLA8bjSRlaCBTDuP7Q1Xh9m2xtUo/SMMKRlO6jI4qxn96/I0Avm5 xCvu0TF+Nz6lWTzNJB X-Received: by 2002:a05:6a00:a247:b0:7aa:a2a8:9808 with SMTP id d2e1a72fcca58-8274d99c2e2mr1585064b3a.20.1772171552368; Thu, 26 Feb 2026 21:52:32 -0800 (PST) X-Received: by 2002:a05:6a00:a247:b0:7aa:a2a8:9808 with SMTP id d2e1a72fcca58-8274d99c2e2mr1585028b3a.20.1772171551773; Thu, 26 Feb 2026 21:52:31 -0800 (PST) Received: from [10.133.33.121] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82739d544ffsm4085637b3a.12.2026.02.26.21.52.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Feb 2026 21:52:31 -0800 (PST) Message-ID: <22273aee-73b5-4747-a2d4-6edce5102092@oss.qualcomm.com> Date: Fri, 27 Feb 2026 13:52:23 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/5] dt-bindings: remoteproc: qcom,pas: Document pas for SoCCP on Kaanapali and Glymur platforms To: Krzysztof Kozlowski , Shawn Guo Cc: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , 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, Sibi Sankar References: <20251223-knp-remoteproc-v3-0-5b09885c55a5@oss.qualcomm.com> <20251223-knp-remoteproc-v3-3-5b09885c55a5@oss.qualcomm.com> <20251223-furry-mighty-agouti-a222f7@quoll> Content-Language: en-US From: Jingyi Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI3MDA0NiBTYWx0ZWRfX9zzXRKqREVfd vNe74Lx5eZvqE57R97sDKg1lKuJnlftFzhCcMFwaqnOOq+rpT0hTG7WeUNuPg1iNRIfzEplpi4B MkLACo6sLmJ1sJp9ijN4+ZtG1YakAsIjfv3LUkaiPNb0hrUe0ZIY2JhYN8gTSYWNBpmMYDdKb9b q84TiwQUfGR0CHfGJZLE7aWT0IdErn+YJElU/8uCjz+ETT2qfZGw8bztR12f2jPyxEPKAIxZeC8 3yHl2jimxqW73HEB01q+yDaUclj2/SRvAieooHCVrb2tdBXlV+QHV9G6yJ2GLBBfFyQF7kPOn26 OZMlmj9ZbpY4LQyLov0z+IFRHQB5PPLFhmy+RXRSguesmDt8jhSXClJkKbbwk3neEaFTdcjert3 TXH/9Uh+2heOto/YEDSPwIn2SyJScMvLFvYZFzdzqyJSegDG1bjIbi90eNnRhj5FTVZgvlKtPPY 6WfXNlkc4SYQkT5nqfA== X-Authority-Analysis: v=2.4 cv=O780fR9W c=1 sm=1 tr=0 ts=69a13121 cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=VwQbUJbxAAAA:8 a=Tx65_vTwki0hZNA2rn4A:9 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-ORIG-GUID: C1-MwTvWh1r8RIUmdHQ8ku4zqiZ6JBox X-Proofpoint-GUID: C1-MwTvWh1r8RIUmdHQ8ku4zqiZ6JBox X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-27_01,2026-02-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270046 On 2/27/2026 1:12 AM, Krzysztof Kozlowski wrote: > On 13/02/2026 02:22, Shawn Guo wrote: >> On Wed, Dec 24, 2025 at 09:34:30AM +0100, Krzysztof Kozlowski wrote: >>>> the interrupt for soccp is defined as >>>> "wdog","fatal","ready","handover","stop-ack","pong","wake-ack" >>>> while other pas could be: >>>> "wdog","fatal","ready","handover","stop-ack","shutdown-ack" >>>> >>>> so grow existing list is not work for this, >>>> >>>> In the v1, got your comments to adjust pas-common.yaml for the interrupt: >>>> https://lore.kernel.org/all/861b6ede-f168-44e6-85bd-10cf04dbcec7@kernel.org/ >>>> >>>> and in v2, interrupt are moved as part to the "allOf" with if-else and >>>> also got NAK: >>>> https://lore.kernel.org/all/20251030-venomous-apricot-falcon-b3fd64@kuoka/ >>>> >>>> Could you please share a example for us to understand how to maintain it in >>>> pas-common.yaml, not define if-else and has strict order at the same time? >>>> That will be very helpful. >> >> I guess something like this would work? >> >> interrupt-names: >> minItems: 5 >> maxItems: 7 >> oneOf: >> - items: >> - const: wdog >> - const: fatal >> - const: ready >> - const: handover >> - const: stop-ack >> - const: shutdown-ack >> - items: >> - const: wdog >> - const: fatal >> - const: ready >> - const: handover >> - const: stop-ack >> - const: pong >> - const: wake-ack > > This is good for pas-common, but you also need in the same commit update > all schemas having $ref to pas-common to have explicit list. For example > milos has six elements and your change would basically allow the sixth > item to be pong. > > Also several files need maxItems for interrupts, since the upper limit > is now 7. > > > > Best regards, > Krzysztof Hi Krzysztof, Here are our understanding for this, Shawn propose: Option 1, use "oneof" in pas-common we currently have following files having $ref to pas-common: qcom,qcs404-pas.yaml qcom,sdx55-pas.yaml qcom,sc8280xp-pas.yaml qcom,sm6115-pas.yaml qcom,sm6350-pas.yaml qcom,sm6375-pas.yaml qcom,adsp.yaml qcom,milos-pas.yaml qcom,sa8775p-pas.yaml qcom,sc7180-pas.yaml qcom,sm8150-pas.yaml qcom,sm8350-pas.yaml modifying pas-common means we need to add explicit list in each file, (also we need to add constraint for smem-state) To avoid affecting the existing yaml bindings, we assume below Option2: have a new common file for soccp yaml with "pong" interrupt along with 4 corresponding "smem-state" the example will be like: kaanapali-soccp.yaml ref with soccp-common.yaml. and the common yaml will be very much pas-common.yaml content, while the interrupt and smem state will be updated. Could you please help to have a suggestion for Option 1 or Option 2? Thanks, Jingyi