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 DB5D13A873E for ; Wed, 4 Mar 2026 11:17:04 +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=1772623025; cv=none; b=RRhwcwpThRVCqx/kbSYfZT7dIhv+EKi9CG/KuVLvQs52yH+cOn2N2gHN5jNPmok5628ZGGqm/YVVBEQQ/Jmd7n2ofOvsRW4i1RnHp+SRhOszfbqjJ9+YQ5BiE/jPQFp/J2dgcXz4Tb/YyF+8ssqYsaSdh+ZmTaWdkgXM42yhF6g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772623025; c=relaxed/simple; bh=zzFtqBWtH6Dyz1PW4u7LQ+cdDpOkgipEInVKvdMpbps=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C4bJKm5AWBNsZT9iAfyjqlTY/k68+cfmiCM6DBpe6U920jfTUZ/C+cIxsX9+G/6zzGW5AftAUrTgHe1X0td4lXWoT6VsqcGIieQ5GiN+yhxtP47fzcCbyFbreWhSlXsqRgLPov2QOqux8siLe/ZNOhEfqt+kCUyjPZQTUfN0Zh4= 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=pg6RJo+7; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=guoiMlCy; 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="pg6RJo+7"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="guoiMlCy" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6245SOtR152512 for ; Wed, 4 Mar 2026 11:17:04 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= LJAzlEZvvss30vWHUxUWvbLG0CgV2anuQPFTAryGkzU=; b=pg6RJo+7kdIbLWnc w3k2aEf0ZvRr3f0JpVHsRr2A6Qi70uBfld7Ep9rYaVGYOz3jV3jHhHuAvjKlryAd tuuQD7b7oB15qLAYT1Kaeqkyi5wMxiLL/Y7Rr8JiRtV48+YHmUpF7xdyg6QAErTH EtpHz0ot6K9ouIlzJ9UUC2bgT9O//hCk7ycyfaR+T88z8DFBs/y3BMpheT3ue5hM 0DXeF0NUDA9ucSsMfYSzvtruUet/voVSGIICYMhlDFSxGHJT50EVccF/PRpDYjiY HQMARM9gN3wJUbrQfIXhdT/jmvULbUVeUz49lvq6I+5g4Ceej6mxXi7f0QiQxtmi EDSKeg== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cp3tvkd5q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Mar 2026 11:17:04 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-bce224720d8so3871898a12.1 for ; Wed, 04 Mar 2026 03:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772623023; x=1773227823; 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=LJAzlEZvvss30vWHUxUWvbLG0CgV2anuQPFTAryGkzU=; b=guoiMlCy2N+EhGae4FfQ1K1hM45HhRniluwubZ6VWzzWGnkPjyE0DFRI87Fw1N1CPZ 441aSAq8hn9X0UZRzZy95JGdBVLPNmuFzXUrlXwYSHk7QJ6VjPw5Y02QP9xwYo9Zb+bG X9fBnCFOPwtPEZ2cgjk/M1gLJyRKThYuoU82V20jwUkdlWBGKPTA2SISrT+GQjLqtZPf engQEKD+bAL0j2YrUcX0NhiR8ha6mtAPFpqhJNqD7CmSf2VvQm+RPyTrOZoCDvu5ljHM uODmha80IPFfOL6l9DhbKAg+TPL6MaDyejF4QHNIbTdM175wAidb7m0XDzcLDSiNAGJi xcQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772623023; x=1773227823; 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=LJAzlEZvvss30vWHUxUWvbLG0CgV2anuQPFTAryGkzU=; b=L8A6C1SUYEj/m26NGxIgvMkZ/nBoBnFPKNt7AQg/qvIMefImhhQ/FK++1pW+kVncgG UlWYEgqeMEPvgTcFEqg4wgRdK9GoX86lUy06Ij/3H6Vnd+VAL4fotW4wXyXg3+6AjuQs hrtBCaAeNs39f257bV4/FmvdJ/rtzy37TuF0H6bzZazCIGjRoT096M3Darp4ZVbf2j3L 9dBRNw3IMgVWhHuP++qaxAfEmsVd/URSt6G2nRfr028xjma9lI21tq5BbyTpQyFCZoqj n48eI7X0ZqD1eyEyrG25yIeFITwUpJY2lcnCiY+wGl5/pUgTB2QnVbacU23+3XgACBnS ROMQ== X-Forwarded-Encrypted: i=1; AJvYcCWVjDkImyDpRG2VIP0v7nvYV/ZDvW95QE1GDLjaVn4auz7kbPwXiwWfQNkolsmwGQ7IGqrB+Yl0oKgzw40=@vger.kernel.org X-Gm-Message-State: AOJu0YxqdyxdfjfHFwajhfkFf59RjxpMvbTqm10jijwe7w1rOC/ii9wz LVnWK/BrLnGe19zgDOvhVLHo5cwc4Ce7Df3U3Fd8mnpmk9WnWPwyQyoAvFSyj50MatMx3/e0s0k Isf8XPDHw5XYWEWpZPUxk/Mj0cnRtCYICpx5nQ50fMxI26/rKd+9laper7FnSFfDxutc= X-Gm-Gg: ATEYQzxC5bEXzrqA3pSlhGe+2Kr96BU0/RIfIv6/eK0UMgr2cyY15vDYo4YrApnRIYK /W8wAbG+F2I3z1eVFIvwH17rKZ7yaPab5TdzotMOXdQFeJDo6KYKA4DyphpyX65KEkGlO9ztLGt LMVCSlRUs+Jr0YVQTrXLInJBlXGeOEYcFkAsAjUfkCzkzF959Vny+ZxkXSlrPiD5qX/M2kSMjw8 RwkGHAguU+Lgf4Le4w1oOl+96JxDU9VW4j48KnO1Ei03RUJVJqy1NkvB+cPs5qNm5weiISDqvVa wh4o3RohAwkx1mZZdWfJDgDI0/4GnG/ROUnexAGYheEfRACYBcwJBqBcnReg8h2qMntrteel8/b B/MDpw+vDts04TY7QWrUTeoPJzuYg/KVoSSyJLMGFaelHCzMgN2TdpVbRZYK5SdcHGw== X-Received: by 2002:a17:902:ce8e:b0:2ae:4a4e:1e25 with SMTP id d9443c01a7336-2ae6aa649dcmr17231095ad.25.1772623023344; Wed, 04 Mar 2026 03:17:03 -0800 (PST) X-Received: by 2002:a17:902:ce8e:b0:2ae:4a4e:1e25 with SMTP id d9443c01a7336-2ae6aa649dcmr17230875ad.25.1772623022848; Wed, 04 Mar 2026 03:17:02 -0800 (PST) Received: from [10.151.37.217] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ae534088c4sm106087535ad.26.2026.03.04.03.16.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Mar 2026 03:17:02 -0800 (PST) Message-ID: <0be1b15f-df0a-4ff0-ac97-8aaa46dd9b7c@oss.qualcomm.com> Date: Wed, 4 Mar 2026 16:46:57 +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/6] dt-bindings: sram: Describe the IMEM present in Qualcomm IPQ SoCs To: Konrad Dybcio , Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20260228-imem-v3-0-20fbcc1a9404@oss.qualcomm.com> <20260228-imem-v3-1-20fbcc1a9404@oss.qualcomm.com> <20260301-secret-exotic-nightingale-80f55c@quoll> <4cf9c98e-767c-44d3-9e71-bcc790e83997@oss.qualcomm.com> <6606bdbc-95b0-4adc-92e5-cad70d250cee@kernel.org> <33737c4f-b668-418c-ab03-f27ed3b6fcff@oss.qualcomm.com> <78d08114-d573-42be-9cff-39c228c68848@oss.qualcomm.com> Content-Language: en-US From: Kathiravan Thirumoorthy In-Reply-To: <78d08114-d573-42be-9cff-39c228c68848@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA0MDA4OCBTYWx0ZWRfX21Xl1EZL7cIQ PfdrjB428SiutbRqBs8kZ++bLnbTvay9TChEXFxer4lYZDx8kzaDXJkJXJRuRf1NbwPlcyY/6eo 16wM/jkm6UksIlhm67kfmnwC04ImtUZEKN04oFIfpiewFb1dGZ3zcMsykqeXbQMaYBMSStb3nsW re8/8UU2JAy+JgI6zA1aDp6dvhD9Mh4cjJSf+3bgPGGDlTqBZW3/b0sHNkoDcOuc5cqMq5HaK1n 8YxOnGeS0wScDi6dUMdA6dHAfnCpDIcg3WqHa2/R8FFqCoYzBkQ0xZClpJzWv86xPuxMEupaKF5 uRNlryXe06h0GsmnepFwwnv1lmk4iY8SmboANWiqvqm3vWB8AX3GXOcwHwPsAPokA4/h3pJGdM0 GpL4QWDw+t1+h22vgQffidiPJapgSLXGtxQZNGzqzyTwbWmDeKyufJOPJ+E5KMT+WuxWvtAXLb3 SFv1XAKHyM6auxtpY0A== X-Authority-Analysis: v=2.4 cv=VYv6/Vp9 c=1 sm=1 tr=0 ts=69a814b0 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=EiiTORyVyZtV5cGE680A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-GUID: um-Q_5P9zi6OE4hVtnI9gvMrBivclyyJ X-Proofpoint-ORIG-GUID: um-Q_5P9zi6OE4hVtnI9gvMrBivclyyJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-04_05,2026-03-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 phishscore=0 priorityscore=1501 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-2603040088 On 3/3/2026 4:18 PM, Konrad Dybcio wrote: > On 3/2/26 5:33 PM, Krzysztof Kozlowski wrote: >> On 02/03/2026 15:56, Konrad Dybcio wrote: >>> On 3/2/26 3:54 PM, Krzysztof Kozlowski wrote: >>>> On 02/03/2026 15:10, Konrad Dybcio wrote: >>>>>> Also not accurate - "sram" is not the reboot reason, which has node name >>>>>> called "reboot-mode". >>>>> What I was referring to is: >>>>> >>>>> patternProperties: >>>>> "^([a-z0-9]*-)?sram(-section)?@[a-f0-9]+$": >>>>> >>>>> where the 'sram' (not 'smem' as I typo'd above) is obligatory >>>> I know and sram is not part of "reboot-mode" name. It is "reboot-mode" >>>> in existing binding and DTS, not "reboot-mode-sram". >>> In any case, I believe it'd be good to drop that requirement >> Ah, and one more thing, the syscon-reboot-mode is Linux driver with its >> own Linux requirements - syscon - so probably not working with sram >> bindings. That's another reason full binding should be posted and tested >> - I speculate it simply does not work. > It won't even probe, we talked about that a long time ago on a similar > occasion > > https://lore.kernel.org/linux-arm-msm/f6b16d1d-3730-46d1-81aa-bfaf09c20754@oss.qualcomm.com/ Sorry, TBH, I'm confused here... I agree that, DT node should be as simple as below for now until the child node is added. sram@8600000 {    compatible = "qcom,ipq5332-imem", "mmio-sram";    reg = <0x08600000 0x14000>;    no-memory-wc; }; When I add the child node, it will eventually become like sram@8600000 {         compatible = "qcom,ipq5332-imem", "mmio-sram";         reg = <0 0x08600000 0 0x1c000>;         ranges = <0 0 0x08600000 0x1c000>;         no-memory-wc;         #address-cells = <1>;         #size-cells = <1>;         restart_reason: restartreason-sram@7b0 {                 reg = <0x7b0 0x4>;         }; }; which seems to be matching with the binding requirements. and the consumer can reference to this node like sram = <&restart_reason>; I'm not following what's being suggested here. Can you please help me to understand further on this. > > Konrad