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 4328426A0C7 for ; Tue, 11 Nov 2025 16:38:52 +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=1762879134; cv=none; b=GhADijfswEudyzn8H7Ih+Em1tdC0NyRFmvSW1JURFBa3H1JrJmc6qugEqLmE0n628jIJEa7zucDJ0dwJ2tAFN8L3F2KAWZ3KgjzpzldT77RVsJoQ7VBLsNuTilMM/ZBJMb52V2PNbP+YfQwY7ZiIBfoF6ehq2ApGgGOzQFZC8A8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762879134; c=relaxed/simple; bh=+qdYz/XtetTGoPCv5t4KqvwAvT/1TeJAZ8qatw1pxx4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MlxZrSImUtcwtWlgUkSgVDhWwJxYuFKTixGU2YB922grgLKsa4K1JiaAjXaizza1hBFuQrRuqnjIaKcD4I9C98HTWMl+ipXpbBmZWY4r4c4nGQrNBaY68SFPsWcHlhIT2ZI6iEW8GfzF52AHICBRJlXHv9Br384yfALWc+h3R3A= 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=Nz0r5FKd; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=idm+kNBR; 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="Nz0r5FKd"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="idm+kNBR" 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 5ABBGGRp2250510 for ; Tue, 11 Nov 2025 16:38: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= 6Ajgd11uLpejky69OUGyHjuLvddPjy8yyOgWz4cnbxs=; b=Nz0r5FKdqv6gySTY 4Zi42jhW3/PBijsVKf85AP9ZUQ/gS1aJWsd7xyZC2KAONv0Aob8WQfatK9f55I/d 02qNtmMkyNTY4LHT7PCkgvGNbiWj3LZ0ekPYmp7cdkDhgUUFacbz+m4Akynv8UxT KukjJKuuNg9ESpp6QNV97KRpnEQEQKXrFF+YtZv0DBKWXAJtgLmTxLiaXozLq9g8 wEFhcPh/qVfwpEQcFPPjPsyTd510vHndkCAWyqv9F5zqgEILop85mQqirtlN/dLT kMCW+iaFXvzvsSakxCF7ou++xau0iubXxd/yixaQHWxZP5P/qzIi6D7mJ8C+9HN7 7CIQHg== 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 4abxxu9xca-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 11 Nov 2025 16:38:51 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-b630b4d8d52so3857884a12.3 for ; Tue, 11 Nov 2025 08:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1762879131; x=1763483931; 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=6Ajgd11uLpejky69OUGyHjuLvddPjy8yyOgWz4cnbxs=; b=idm+kNBR+DtbcYSf8gImStGyuvq9IsTazIxkvGOaBEOZSQQES/l4uUAd/fbCeM5SF8 Nv900cZ2Mjnx7Nwqm1yp/MdRlB4EmOLT5LgUkHtDADxedPDFxKbmq6wog2i2nteAYgvL jYod/4NrfnbFATgzplwn7h4ENpPbCglBH1sEWZy8caTZMBv31ii5M8cjjgy+wMs/qhaD MueI/oUeNnYJrvoWj6wqdX2VNIHA1ID1YtHasMKLSDB3wiwA/C+4QZiQ7PF34okyMUKa 0csVuiAqXOqYmF22c4jzsA3dcVdqqtKtUMRBSs0Kk4RfC53Ku8bC8Z5nyHFJSSMwhL8S /0AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762879131; x=1763483931; 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=6Ajgd11uLpejky69OUGyHjuLvddPjy8yyOgWz4cnbxs=; b=DFtDIOUL/gz7vZzs2FCHN+xy6NneJhsf27o1TritfuJMmYt9hfshGChHB12hWQ9Z2v tEsGO+9ASYZjaWD/0PDicaYka/Wf7PpQsImTMoPa/sdAPlrLit1w3pzATXjiH+oxqjWa nnJtmWmxXLGknjRABEX2j+deFCQFXZ0eawOD7MzOunOlvh+whks/1YsLZtHSfnogVHY3 BYXQUhneKZ7kg0EG0M559j9NAKYBr3KUUFxdP0n93WltCNKXrI1nt7AY6mAMVwHHFPlx 91VCH9GLSo9/eD5HJcCxzpOaRiUbEkc5yr8rQZDiDQxqjN5QjetBUrmtxKEZdr+1j3gc iE3g== X-Forwarded-Encrypted: i=1; AJvYcCVjBfn9MDQxCczFH+TVk4z6lDTNZT8pEOuuyn/zWmZV8Jy2miuTET4fxIiNynUmGQcac0p7UKZNkDD1FAo=@vger.kernel.org X-Gm-Message-State: AOJu0YyDnw3/K9qHI/863frVMNfXf5OuHnBwXpBh9ufa0QzsCGS2Wbvu MsN16QBvtiyQ7l1CpbNdauHtJ+PytaxgCJGjsSnAgrqc3gbCQZl1ChNJ1RVcmhxIgmM27Zb69uA RQYSQu+B91fnqeL4B5I9qZuvZUCkbj21auf738Q64tyRwj658VxBsz6PjQM89C/+h6Vk= X-Gm-Gg: ASbGncuNsaquUr1ivi+1ws2meldsSRrlKODudF25AeXHFV3Ji6q7XdZS3UcOvjPGc3y EeEvx3XNx+sEJa7G8MSRTkrFvkmQqRFpFU4T5RslPgEq8ntixfDF9DXslJoChoNQDlN8OQhmNPm f90xjpJJvuyDq9vViuMDVVJw1sNREKRiXO+apir+XY43+h1y6Wh63MxWfI31pmR7ijH4hmoqetg je6cnbjjaxoXMt6aJ+N09H43tNccd6vOU1TbSlbK+C0iWwnYGMaQmngq5ALK3X/o245DWNYYt0N Yca2DUIvgUVtjAY9G3SueQ7NBgwZ/1BdYNvZBhQpc+yLygO+ZgBQPcxKfC1Io7ZoGd1+QmDXeiC AuR6DVc32azql0LtICjBzRZi4qGXWBbuQq4bLoXTHc8c= X-Received: by 2002:a17:903:2043:b0:267:a1f1:9b23 with SMTP id d9443c01a7336-297e5649e26mr105041595ad.18.1762879130716; Tue, 11 Nov 2025 08:38:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOa4m65Vas0Noz7zxrVMreCFdm1Qy7ow+DGUDRlm+VdMEUixyhFABQQOVLZPBXKDBeLaXayw== X-Received: by 2002:a17:903:2043:b0:267:a1f1:9b23 with SMTP id d9443c01a7336-297e5649e26mr105041165ad.18.1762879129986; Tue, 11 Nov 2025 08:38:49 -0800 (PST) Received: from [192.168.1.6] ([122.164.80.210]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7b0cc866319sm15703627b3a.54.2025.11.11.08.38.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Nov 2025 08:38:49 -0800 (PST) Message-ID: Date: Tue, 11 Nov 2025 22:08:43 +0530 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 1/2] dt-bindings: soc: qcom: Add qcom,kaanapali-imem compatible To: "Aiqun(Maria) Yu" , Bjorn Andersson , Konrad Dybcio Cc: Krzysztof Kozlowski , Jingyi Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Robert Marko , Das Srinagesh , tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251102-knp-soc-binding-v3-0-11255ec4a535@oss.qualcomm.com> <20251102-knp-soc-binding-v3-1-11255ec4a535@oss.qualcomm.com> <20251104-glaring-rebel-pillbug-a467ca@kuoka> <790ca394-cee2-412b-97d8-c6416b843010@oss.qualcomm.com> <9ee07db9-508e-4c08-8f79-6ccfd9b646ab@oss.qualcomm.com> <6af33c1b-5b95-4efc-b429-5bfb9ee7caeb@kernel.org> <8cf870a8-706d-4514-a87a-a69b64521ab5@oss.qualcomm.com> <9d80b581-5d3f-4b95-91e7-c73c113b0976@oss.qualcomm.com> <5b1f8204-1f49-4061-aa4e-f6dfe5ae2a0a@oss.qualcomm.com> Content-Language: en-US From: Kathiravan Thirumoorthy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTExMDEzNSBTYWx0ZWRfX/xyK1jDObn4y b85amdYIYzlg5IgcCWbSeGAvIrex5fnSQv8joPmREnfOIXhfhtUzsmvwemmz0Lae7ofsfOCq/mx eOo6EYrAt2uSduQ/YaLbUi/NM33gAOs3ssotgx5fPR6lk2nhM1LArptb1+J3wxpxJnfDfMJnDQJ Y9+Mcn3MFTwnAqyTrIwpqOft9eHBczrqJxhDKKnom6V1DqVdd1qfO+MjncmEmL6EZbkBvWG/JDn HFtBTKpyyhcjy8WW1t5PFG/qoLOVzpwYGLakJHhkLyHdudbFm7bmJFgrELciHBX+FSI9kfVahOd GnnzczlmSEYHUFEiVmitxLMfhT9X0gSgPXOBeehxVEnE8YJrKVyqx1M+4edtGVBn70jkv0oFa/+ eBG7mxx8t+X60wvHyxrAkf+4K4STag== X-Proofpoint-GUID: ddO4lrJuF91BtxGo4X536rFZqRBkfU3n X-Proofpoint-ORIG-GUID: ddO4lrJuF91BtxGo4X536rFZqRBkfU3n X-Authority-Analysis: v=2.4 cv=TfObdBQh c=1 sm=1 tr=0 ts=6913669b cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=E6K5ax8UiF4naD6iDMgEyA==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Sxa319Jca7sL1mhjEgwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-11_03,2025-11-11_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 bulkscore=0 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511110135 On 11/11/2025 5:38 PM, Aiqun(Maria) Yu wrote: > On 11/11/2025 4:29 PM, Kathiravan Thirumoorthy wrote: >> On 11/7/2025 1:54 AM, Bjorn Andersson wrote: >>> On Tue, Nov 04, 2025 at 03:58:27PM +0100, Konrad Dybcio wrote: >>>> On 11/4/25 3:52 PM, Krzysztof Kozlowski wrote: >>>>> On 04/11/2025 15:38, Konrad Dybcio wrote: >>>>>> On 11/4/25 3:37 PM, Krzysztof Kozlowski wrote: >>>>>>> On 04/11/2025 15:35, Konrad Dybcio wrote: >>>>>>>> On 11/4/25 3:26 PM, Krzysztof Kozlowski wrote: >>>>>>>>> This I got, but nothing here explains why you need generic >>>>>>>>> compatible. >>>>>>>>> To re-iterate: there was no generic compatible before, now there >>>>>>>>> is. >>>>>>>>> Writing bindings and numerous reviews from DT maintainers ask >>>>>>>>> not to use >>>>>>>>> generic compatibles. >>>>>>>> OK so let's not worry about a generic compatible. IMEM exists since >>>>>>>> MSM8974 and it only had major hw updates with SM8550. They don't >>>>>>>> impact the software interface though, so qcom,msm8974-imem is OK. >>>>>>>> >>>>>>>> There's a separate control/status register address space for each >>>>>>>> instance of this IP (usually far apart from the actual SRAM pool), >>>>>>>> which Linux doesn't have to care about. >>>>>>> Just use qcom,kaanapali-imem - that's the first device here >>>>>>> without syscons. >>>>>> So we don't want to move the existing ones over? >>>>> This was never discussed and this patch did not do it. You cannot move >>>>> them, that's ABI. >>>> I see, I implicitly assumed this would be a sweeping change. >>>> >>>> So should the Kaanapali submitters simply send a version of this >>>> patch with: >>>> >>>> - oneOf: >>>>    - const: qcom,kaanapali-imem >>>>    - items: >>>>      # existing big list >>>> >>>> ? >>> We have 33 cases of "this is just a generic Qualcomm IMEM block", could >>> we just make it "qcom,imem" until there's actually a sign that it's not >>> a platform-independent block? > If it’s not platform-specific, why not use a common compatible here? I > mean let's have a common "qcom,imem" start from kaanapali. > > What benefits would a platform-specific approach bring in this case? For > newer platforms, we could simply adopt the common compatible and avoid > adding a dedicated platform compatible name. > > Also, the old bootloader reboot-mode solution that uses the IMEM area as > a magic syscon is deprecated for newer targets. > >> >> Any conclusion / further feedback on this would be helpful to move >> things forward. Thanks in advance. > > Which platform are you waiting for as a reference? Or are you only > focused on the current Kaanapali? > By the way, great to see we share the same goal here. I'm working on the IPQ SoCs. All of these discussions started from the IPQ series[1], followed by Konrad's IPA stuff[2] and now we are in Kaanapali. [1] https://lore.kernel.org/linux-arm-msm/20250610-wdt_reset_reason-v5-0-2d2835160ab5@oss.qualcomm.com/ [2] https://lore.kernel.org/linux-arm-msm/20250527-topic-ipa_imem-v2-0-6d1aad91b841@oss.qualcomm.com/ Reaching a conclusion on this topic together will help us move forward with the above mentioned series. > >> >>> Regards, >>> Bjorn >>> >>>> I'm not a huge fan of using kaanapali as the fallback-going-forward >>>> since it's literally the newest platform on the shelves (or perhaps >>>> not even on the shelves yet..) so it's going to look funny when >>>> someone comes up with support for another 2013 soc.. but perhaps >>>> that's just how things are supposed to be >>>> >>>> Konrad >