From mboxrd@z Thu Jan 1 00:00:00 1970 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 3FA7332E6BD for ; Tue, 11 Nov 2025 12:08:26 +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=1762862908; cv=none; b=Nv4wr4fKnW2ufhcO6IakouEeJduGorAq4YZ0fz9b0mvJ6wqIydYqbE4IizEc6xs5TysbYbUU+MXBLlxM3UEcw8CCfN7qiqvwsJzh0MCSIYKyr1TGGenfQAIctKiq8088qSA105axFf1Ej/J80sstrUFwECfp6SIH6KIURs0mMRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762862908; c=relaxed/simple; bh=SvFR4SUGu4cW5ZbpMf/jcA/WbZaZCA9MAWJUXdtWZjw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LSdxExUzrnd8yMHUNNX/XeN2AiM1OuYAjaqG97epm2t6/zjOoEZrI1TuO/53vBmXxzD89eEDNfQsCw6J3oeUFZN3mztOJRxy/U6MJjjpp3Ai+jdzKCjpmMgfEFYofugDNillbeSJdWEufZ0BLXuHPpTUESfo62yIOiIIoKowk8Y= 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=C1GuLTc6; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=h4M76r5M; 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="C1GuLTc6"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="h4M76r5M" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5ABBGYig1937371 for ; Tue, 11 Nov 2025 12:08:26 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= T7CzdlMWQ+IeGEz4WMLKxRJB/ueCtsJyhlFl+aTvX9Y=; b=C1GuLTc6pr4lM+jT NuhkcMQhSoYZdqY63tuc3bJAZgWB0WUF9VimdBenA0I0rqkvfzx0yOzemKFEjKzK DM7r3LqHSxIBXRxaTmbhnJduZTbAMRgYZIxn6HJWb6nsv0HAXS1AB8TW8NMLvlR6 i9A7LF5RKvM8VIPyIChM1Je0ZNj3H5Z/xTKZYTCMNNda5CXB536l0CHtTioGoB1+ QtqfGgNWHIieJT7H/MgXFMV0ZTDPodqmxtwIsPNofxXlMWgaLMyuMGog9i23i4bl v+rmuZgntnLDraA5zWnq4jbgZ2bULWO/yeN7s7in5hwpn5BIyVyw/fQDae4qLb8g RWY7gQ== 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 4abwtj9axg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 11 Nov 2025 12:08:26 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-7aa5e7452bcso1277611b3a.3 for ; Tue, 11 Nov 2025 04:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1762862905; x=1763467705; 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=T7CzdlMWQ+IeGEz4WMLKxRJB/ueCtsJyhlFl+aTvX9Y=; b=h4M76r5Mi12Y+bOHVZjHxHx+CGCCX/Xuy5iuxXG3+hIT87K5AihKs4gse1exhkQyJc 2FOZeaZe8JvZ5pPiyV1XkRsjZ1Erd0fIuTEtyCx7I1Odqyjw493EUTpzt87aSzk3Fq6Y WnQNCfBRviEgOJyS3e7dCPK3A0VaSMdlUdTCtu/wqPM9FbKg9vw6UIbQfhbAjK38FMzP EQnje8s0x5p7CVnglcGQ3G3PKsW/WF6RLVITDMP7H2qIzy0NgK/RtWztXAyufNCKdjwk oflSIIuBydSOOEF8pf9he3tBoYxo9dSxk7987TEsQ/VMOQeG/6aTSzYLrPMRPaBOg1U5 +tEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762862905; x=1763467705; 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=T7CzdlMWQ+IeGEz4WMLKxRJB/ueCtsJyhlFl+aTvX9Y=; b=DUtLVfhv0FPS6qljGS8AEd3hNfwDez08ujaloLKoM7jg4ByL9JAngnTa5jcpA4PzTV +unXS/Qe8ggC8BiF+oglpF8v2miFnsisylhy0FoyOPmeHvLehoQW3zEWGl4FEgYxy40D S6WiYhYZpfK8E24jOFGaPM7lIkHO+ifE1O2lXKGcG6WmFA4go2K9ykR5V6bjl2Dxwxu5 n5rManC6HI3Em5HUlHt+o5A3fe+UjhlhuBttE52gWDUD7zDAuiHZlxll+jNbyp9q9G1I tgKhfFPZAVqMC+OFxyTcgyeRGjdiSMwOlxRu83wSOrolByCPxTgkpHpB489/PEfCmTae P0Pw== X-Forwarded-Encrypted: i=1; AJvYcCWTnRlvBgPRLSc9RjmTZqnlvRimEgsGDg0XCpi0gzHk9GdA4mnsf5H3G7q+a/BP2W9DZ3Yno7ee82GJYug=@vger.kernel.org X-Gm-Message-State: AOJu0YzftagGpt4bgpdYUFaTP9T+BLY0dBf809VQFdaSgcaiHWLH8Kfa 72NX/jHg9AsS43aCQVcCT9pPM1jZkQ8UD1ImT44yDqu8Ua3jxJOwdrOjfZSHBhFXMZRLxSivjbV hwhWxAXksrLrYlBletB54BnWqrDeNtljr3H+B+/8aJgNmLzXF4s71r7Ie7UrLi/m1lpA= X-Gm-Gg: ASbGncuPTQr2155+QSoV5IIaQ+cB3o4S/nhda/cidMAScNw3X4pKaP8UPQ97Flgmshz CkvdzEKg6hPCSSCFrzZBtT4bXnGBcik2T6eyXO38yqsBuR8xVliOvZH1B5vJGsNe1o+EZJHfiJl PMxVQ1YvyY0DP+2DrN/PjboTRVnNHaatHY4K9xrnuqtGdl8/v0DWuA4eNg0cE8gsfl/KtSN6Fk5 tFVrJjN3jpKzJav+HiPaMC1aaLxlBy+kdOtWx+fUibWzxj1ma5L8QNq0YfMShqnJ7TlL2B/92zH 8hXGuntrtQFMHHD46+8N0uq5+j12KHp+MlhSSzwM9yiC9ycu7vUuJ7hChXR2UVSNxkjEmESFJ1F eH0lOOXfK7rseqjQvhTAxsZApjq1fj2I5B+e7qWU5F7Z/VVYJOOY/uLIYQq5dpndA8g== X-Received: by 2002:a05:6a00:ac3:b0:7ad:386e:3b7d with SMTP id d2e1a72fcca58-7b61d28289fmr2184677b3a.3.1762862905306; Tue, 11 Nov 2025 04:08:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfLxpdZCrwEXh8MYxeokX8WrpMnxSbuXyqQunCLUDZW8namwwk6sJyWw1yxHcAu07O0ipKAw== X-Received: by 2002:a05:6a00:ac3:b0:7ad:386e:3b7d with SMTP id d2e1a72fcca58-7b61d28289fmr2184643b3a.3.1762862904654; Tue, 11 Nov 2025 04:08:24 -0800 (PST) Received: from [10.133.33.249] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7b0f9aabfc0sm14680451b3a.13.2025.11.11.04.08.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Nov 2025 04:08:24 -0800 (PST) Message-ID: Date: Tue, 11 Nov 2025 20:08:16 +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 1/2] dt-bindings: soc: qcom: Add qcom,kaanapali-imem compatible To: Kathiravan Thirumoorthy , 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: "Aiqun(Maria) Yu" In-Reply-To: <5b1f8204-1f49-4061-aa4e-f6dfe5ae2a0a@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTExMDA5NiBTYWx0ZWRfX4vczY6fZu2vJ M0xCID7qzWfJo287FWyvzJDmd4ZTXRD7kGo3npG4F7Mtt3ArlE9ufGhtpKb3hqtOkkZ9zNGZtJk ddczZX6BO9WpaI1PVZGq7460oljlsVBG1A5lSsTUYz+9T3GJPG0RqG2U3kPL9X3aBvcLWNWQvN9 myCiN4B7NwIhR9AZ6oy51lVEbCB8yPhH9Jd4f1OoYbK753Y5JaN+8o0sgus5eHNUTYjmL/i1Wbu cWoJ/Z0g1CJU3ynakz2T60S1niwiDkN8iDJ/8tDV/vrU/diBejV5rSeLyIN0UEueuClqqPdwuaE zf3INyT5DKepmTKF4GUIFhVnvD/oM4MaBvvClIPWa62TlKRB+clrrLWhM+cWiebo0b80C0cz4NV v5p89hOt8dAlC9oHcKTom9A4IQZbWw== X-Proofpoint-GUID: aJcvxxcscmt6JtQliUS7ijQgNn-h2b8V X-Proofpoint-ORIG-GUID: aJcvxxcscmt6JtQliUS7ijQgNn-h2b8V X-Authority-Analysis: v=2.4 cv=UI3Q3Sfy c=1 sm=1 tr=0 ts=6913273a cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=eu2Mp1WK7IjEojur9rkA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm: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_02,2025-11-11_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 impostorscore=0 adultscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511110096 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. > > >> >> 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 -- Thx and BRs, Aiqun(Maria) Yu