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 BB72D351C18 for ; Wed, 4 Mar 2026 11:38:51 +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=1772624333; cv=none; b=tOkcpRfc/5QfVkbudFIW6aRFGyA9Da4jkPhCHMbB3cS9bqNJxJaBwan1XBYgcwMVJx7mgpppqB8EfIw5bm9/wUYdkLKLilLix7iEhLdoQK9neHAwYnEJkGeKnxhHGnarIOfaICb25MBrw4G6vNiStNYSu9qmcMooGQw11pTvUnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772624333; c=relaxed/simple; bh=l6bh5XWAasO94RY/6sUCz2WpmmPORG8OON9BNvl4xc4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rdM/s7kKmpySf7s5vbJf543ab9NQCd/yZXxhI5dHkXjuu+KLNfl1KAmaFnT2qE4c8mZ0HhZ+1ob2jfth7+HhjQ4QdMHgCqJIk6suFQov6xBFRiasdy6znkK5NNuRnORREivTGJNtjdxAwbTKLRWDbQQWEF5jdAQPygg3Nqmemtg= 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=BSL0wM1i; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=CSCLfGDN; 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="BSL0wM1i"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="CSCLfGDN" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6245SKGV2274961 for ; Wed, 4 Mar 2026 11:38: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= GqLZ7zy150XDn8eFdd/n8UKFzqubtTHTXXk4X/DH1dE=; b=BSL0wM1idZ1CpsOR FWziAK2gynnHOhqGVWRTUnHwvWLOb87f74BMp5YVzNc3vPyHoWLQWIghdspSxDkt oz2X/xoc6qJkvTIybQcOHQY781JkRQ3x3XLCLOKC0htwk02srqeQZ3jhTKQ52LJc rqS7ZGkzJ2O+tG4no9SsFHpn/cQ2CYJ/A9m8NUc+d6dfvdJYbTcf2TvuEUAGz2fI RjCqgRrm9GyoYHbn1bSBLtS2MaXa/r4fDCn9Nx8V/FVQi0R3tUVDabOLpzT5hO1r Id3DpOpnzOtZTf7K6bGib6SdXS/5jCFBrjo8nJJxaj9H00Ol38BpN7IRlULHzL0u ++NVaw== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cpc4msnh8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Mar 2026 11:38:50 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8cb38346fdbso537920085a.0 for ; Wed, 04 Mar 2026 03:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772624330; x=1773229130; 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=GqLZ7zy150XDn8eFdd/n8UKFzqubtTHTXXk4X/DH1dE=; b=CSCLfGDNWTYGnQg6ri8od6U0NAb5QC074RiI22gxRYCL3Au8toZLAq7T6ceff6mCRt nSTvj22s6yBv3/Ype6JzNeJP6eqYnpAXiKSbilJ/pwv/s66SDhtQz/k8gzSWoTTLIizx 7fSqvtEWYcPPNrVMSetQpo9m7t7RS92PzJl9D11D14i6ILr7WiaOxQXkT1l210ILv+o4 Z8gTHZTZP4gJtIU1Y9UA54mWETDnXZWK6pGWhqqFne8LBx5iZAN58AgdQ4vADpxhq/on CQi8e5VdgcjqWm0K67KhVosPG6UE2rMocegldzIpHAVZhG9hpZVSzyIxgmk4LqJVsg3n saKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772624330; x=1773229130; 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=GqLZ7zy150XDn8eFdd/n8UKFzqubtTHTXXk4X/DH1dE=; b=vij40M1GpaLF+FXOXaYcC2CfEXeaQLJt/hdO46OPGFGrAO+ao/3CMaqRz2FahxyaVC 5reKVDL/oEb8GD2cOuwkfmaHai4S6nYi3iyyJqyq84fwwIj1GIFt2sVR43wgj5NuvS6H pqYrL/uR6QOadaW00LXXPLXJSqbGM65sdnuvqqr+4dGMcEr3ldfa/g9BqFF9SHHfsISb JryJm1DDPkItAy6LgTof0qEnJc/xlSngH8OpmuWW/9tKzeOvRc7DdiOuI/10nqs0H21Q oGCcaUFlbeM199GgxncFVgJuAUCXiip6KaU4yCeoK/nsUZmwd35lXyjZlDfQfE380uV5 qnGA== X-Forwarded-Encrypted: i=1; AJvYcCW0wVbJ12AYYiSS4eod8RzYp/+PyLXPtoo3qG4niLwBGC/7eYDbmi8Hl0Bm+EUrYeZAtNKKqbHGmOJS2LM=@vger.kernel.org X-Gm-Message-State: AOJu0YxbJs2xuBEnI4cwCpVWgWnIqE3MD5CaHHxOvLweazusX/sMx9SH LDJ8yoh6E77/RLsqu3R8bUTeL4LzdhwmCRvM64tgdk/Tl4wDGaIc5C+4shUpDkGiVWU7XJBZMPv hCR8GgoJDG8vWoOrxvwOJH746rZJAwectiBO6xVCbm/mqGd/fS+/9C+k2UV3OWoCUQ3Q= X-Gm-Gg: ATEYQzyw72wg1w+wWw4KrYosIPnxiaIYDkXnH+nDwiZFQyD0FC0dqlvrAAu1WVtTaIv RXkIhTHVU6qa/f7F8gCsdsLi4a4pUJgRK4jNmkw6kz0vALiTrRFhSJGi2ArhERfeNFNIeirNdFh Rnf8h0SYXp/xiHhrnvu2PfD+FftkDnMaurt6aKa3VmDNTobkMagzxezu6XdYyzmFsXXWLQH5u8y 2bT9GZjEEkOJqvk0anO2gKJjiBWZ5Cd/yrPArUmnZ7o9fwnJxIKzUF4G+Ar5xn0Y9PzTcsCBcO6 elfTdQRjo3Eo2JnVV7pLxNc1hPJ4nAdv5VIF+BDlGN/4XFe2L0z7041oFUMdRJcLdXqGe/kAUwg r2rmm8pNp5M2e3ht8HHrZpL/0P9CNBRmyTiJAaTPb79Jqu2X6jIPc62VJiE2i6dYOnRLmDRFrKj mky1k= X-Received: by 2002:a05:620a:40c1:b0:8cb:47cc:2dc8 with SMTP id af79cd13be357-8cd5af1e460mr153474485a.3.1772624329935; Wed, 04 Mar 2026 03:38:49 -0800 (PST) X-Received: by 2002:a05:620a:40c1:b0:8cb:47cc:2dc8 with SMTP id af79cd13be357-8cd5af1e460mr153472385a.3.1772624329537; Wed, 04 Mar 2026 03:38:49 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b935aec39fdsm721173366b.54.2026.03.04.03.38.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Mar 2026 03:38:48 -0800 (PST) Message-ID: Date: Wed, 4 Mar 2026 12:38:46 +0100 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: Krzysztof Kozlowski , Kathiravan Thirumoorthy 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> <0be1b15f-df0a-4ff0-ac97-8aaa46dd9b7c@oss.qualcomm.com> <7239b66d-be59-45f2-be8a-78d3803d345b@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <7239b66d-be59-45f2-be8a-78d3803d345b@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: xSWQfqhZAAS7P_7LSFM8T1fyYw6Dgrb_ X-Proofpoint-GUID: xSWQfqhZAAS7P_7LSFM8T1fyYw6Dgrb_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA0MDA5MSBTYWx0ZWRfX6hTU5UGYys7u owJ6E87qMhWm7Hi1VJ8efrHqirk+XK7YyycutwEd0YlNSZ6SHv5gSM7S1KBKOQNzZZNXZ+vF/Ai +CMFetao15sF58L6a0rV5r7wUCcNZjf2WmYFxEDvegcMjjw16ZO559cjoxn9jrYRy4JyNQQpeq7 ic5yGf/2Vk/nC1neGRS7lkxChYlJUmcmIGLbgQOYc7gAvR4Te0MV7teOAIzm0MiSxBqKybzwE9A 3xwxar1xZWm54vD4mUUk6vzoVgGy9oiN8L7+kKPtrpsLyq5biShF5eoZ9LGJcLAFAEwqv7xfZQ0 iT6jntadH+qW5QIkocfzyNZHtGKMmCItSfhr7fhlLZUTcOZMNcZYSPrWXNjuzcZuE9ISeeGgdC8 ogVP3xBcGmF4gbr7rv8KITBeuLE/EkvQDRcL3HXJMbQWbnPXDuUUnFCpKOK/7tncJum8E3VSgQH rBtAjFopntkai60OJpQ== X-Authority-Analysis: v=2.4 cv=C67kCAP+ c=1 sm=1 tr=0 ts=69a819ca cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=nrMBDMYr2PV5ageQHBQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 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 adultscore=0 clxscore=1015 phishscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 spamscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603040091 On 3/4/26 12:29 PM, Krzysztof Kozlowski wrote: > On 04/03/2026 12:16, Kathiravan Thirumoorthy wrote: >> >> 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. > > I already asked you what to do. > > "Nope, sorry. Bindings must be posted complete, see writing-bindings." > > So post it after testing. We suggest that it simply does not work, but > you can always prove us wrong. Are you by chance confusing 'syscon-reboot-mode' (write TO imem to set the restart reason) with this node (read FROM imem to present a restart reason via wdog)? Konrad