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 6114737DAA9 for ; Fri, 22 May 2026 19:54:08 +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=1779479650; cv=none; b=c4GIKjghV7n/8hzebDwAg9tW3Y0sSLZzF9drg2TEAh2zZIZiodGpK5VE5QdIb3pdX5niDIDaoLPDyI2PEokJADnQddWeEtdpAWaGftUkUrH9Z0He+DrsLnIeIgVYie2pwFbAbH7P6h+b9/5deOO4cI1KAavcTq5sryK6QYBL1o4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779479650; c=relaxed/simple; bh=Ir5UQ6m0XZACy/aa3aVE/G9MiH/ns+zTC94Ny++IQMQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qCa2oqasJcxtnVdw8wYaWuZdFjYSVc/WDGxN8oed2rMXLc49wnGMPf3BvM8LsLMSlUeFrjK/h/oXd7f8qfGZ1NDwJiADUvfX75K22mlcUZFEHEILKZvWXftd2gRX+HyHqDGW056qc49OrFxXJRGNkNEfYcGxtrVrDxqF/w59R80= 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=DLImMkLb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Dl1J9Ict; 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="DLImMkLb"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Dl1J9Ict" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64MGbrmN3005145 for ; Fri, 22 May 2026 19:54:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=TfTnIol6t8Z 6QvjjgxBhVOVknkQUpX65xcktnI9WvMM=; b=DLImMkLb3teqvttEzlDCaZYkCGe CWn5ygW5PsD0vX3NjSmZiaqoRG9hXnaD+Nb+Y2DdtOP8aeRxrq4HEb/5Z1Tk0Wt4 CicJw4A+/XC08rVubEkiG0ax9SiNjVjfVdSU8JC+0D6OqRcrjTbnX5kfap/623ht tJNJA3zJwV21kVDMuZG2cWTE9v2TL0zUIhbTpo31WIxkGWgF5dGm4ZYBapReTo2Q pXGqi9PaAUVnIzD443F5XI873WF3kkTkQ0kUNaq/HruBOM0NYsMoWxnQBoB8i/zv 9IqF9jw/UDCoUXHZL1mtBcP3o3AGepL6zKTQu8AJFM8J9gN5X2HRqzppIkA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eafrtbpsn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 22 May 2026 19:54:06 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2babc42244aso179758545ad.3 for ; Fri, 22 May 2026 12:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779479646; x=1780084446; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TfTnIol6t8Z6QvjjgxBhVOVknkQUpX65xcktnI9WvMM=; b=Dl1J9IctWd74Z+iHxRKuv0MBqDjmyShhHesIigW2P+5stwPsZLHBImJ4oYXCDV9XUl JSL/fNwNguc4yj+kxsdNiveymsSe9tPqQkn7PvRaehF2fU6gxm0i3dagFLDroorkr+Iz 49XQD+aF/59yUVCBA4UQWUwdlRxFdSk9LzRVSyV+YLn9aVVDiEKFT2+VIm7GqQnrQT/q +5bQtPdlCxcSSbRkmwecbrEtvHIHCER4qypvISWnVrar8NwU+uGKc+IgAM6BRux5IY4s +j3x/Yqzr2m25DZ/r2KkAebOaHUZPNecj/HNXpeKyJmxuWO3RFZoeauyn55rwWHTFI4S N9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779479646; x=1780084446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TfTnIol6t8Z6QvjjgxBhVOVknkQUpX65xcktnI9WvMM=; b=csaN/RBbZ9fWkDhsY0XUeb8OuljY7l3PSiciO89ngm1bzsKjupt/9m7t0ndVmZQF68 YRpCmHQ25rCK/QRHelucSlSAl0uCH2LoF/rQrvMKWvlEM7aLwbu+e9gC68AGPqTxpXkM zPe19G2J4M2QMsHQxh4oei8ovM5buq7PVSIbISa4dDi7WcSjBsXpGW4vPMRL7PmEsO4Y gHPOWctxA3dXZTCnbsyP3MAwsMgE13Sgym7F4ZJ3pPOpRckeUwJXqTWqqKMNzrHUk3zR u0uL99p45Xld3isxNQD5gYJIDgedJp6i7H/XTaIVz57/2oIf0Cg+u/7AFv0GSwEBxP1c GRXA== X-Forwarded-Encrypted: i=1; AFNElJ81QIs88PKOioP3k0fP75UvJZ0IVW4RrVO4et85bEcqNnoyVtNIbvsAY1q+DWNjIvurK/e1uaJ5Y9+dUSU=@vger.kernel.org X-Gm-Message-State: AOJu0YymF8COvQyMmQDEur9eNIGgdaevhPdx2wEIDLLbxXX75ImW184H ulU3rdcIohm3IuQX+Qri55l+Mo/RuuSTjx+EhTk6tTKeCTa25sWAM5Bs3Jz/cNE8oK6CawrZEuz CXlWy9Kis2nq7kDyf9VggSvpCIk5nfwkXvM6ZnA6KkA7Oz/IWiW4pGnM3IuxvyFN/INA= X-Gm-Gg: Acq92OE5iiRKlOJnV45833lr9lefJrLx2BUrG64zCHrMevcU0JDJ/hlOGvJYLF3sVPj H2eJ3ty9vTd3AujaWsYgHDtowm0VJZbXXPoLGExbCtX7xzHIgfT+7LbwZCj67HFfLkFW9ihFO4z 8qejD3eY3hiM4cXkOxajUU+Eye0t2JXIjjmR8Uck3DsnH3ah8wqNnmEp9tcnRMycHBVHfYl1hUh IHkFzrOumCOrtlruM1C2axWSASeNGPxou4OtNCVUTtW0vWYS1ybUfzLdYmFpvnXvhHCuGRkOVG+ KItIcgEL7Uje0k6jm7eKldgYtOfO/2L7/bo2121PHMDkFkC55maNcKXzFVdl3Zdry04gzBmlomr HKvJtfglfBtb0Fx1D+eCGYsD3ZTByl0oqAmmC4WfZwdGTMBrFsf8Q32OtIl8= X-Received: by 2002:a17:903:2f4c:b0:2bd:61e8:1ee with SMTP id d9443c01a7336-2beb05d9fa4mr59101815ad.21.1779479646001; Fri, 22 May 2026 12:54:06 -0700 (PDT) X-Received: by 2002:a17:903:2f4c:b0:2bd:61e8:1ee with SMTP id d9443c01a7336-2beb05d9fa4mr59101565ad.21.1779479645452; Fri, 22 May 2026 12:54:05 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2beb5695f05sm33541155ad.6.2026.05.22.12.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 12:54:05 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Marko , Guru Das Srinagesh Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 01/18] dt-bindings: firmware: qcom,scm: Add minidump SRAM property Date: Sat, 23 May 2026 01:19:52 +0530 Message-ID: <20260522195009.2961022-2-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260522195009.2961022-1-mukesh.ojha@oss.qualcomm.com> References: <20260522195009.2961022-1-mukesh.ojha@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=JN0LdcKb c=1 sm=1 tr=0 ts=6a10b45e cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=Uf9RHLb8GrDHKnSoJrcA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIyMDE5OCBTYWx0ZWRfX3kGQz74DrjE7 uxvG74t9y5QR+z/XdQ5y5reU4H/a1Mv0+GUW0hEWRI7owvcoI8Gwz8ayLXI4ni6VMp71g3dT2F3 DO12TJbxvUf2onRhdN/5iccluBTA5YBlK0YGsy+mP84gqFbGaub4QZaYREKLUdykQsj7dLp5Q2P xHkgBxaghYcnFTHMZTCD3cFselCb422f6BG1Yj6exMuFyRPCA8cvtLJqrhUqybE7k8QCv/T6Nam 5VQJ7cCunelaj2Z/QcBTUuVQQp4L3hmPjsSVvJXuCVG1vEOpL6DKtuZsI3xoiGZYGEMtrfpYE0e QxiW/6DsEhzqYw93uktcC++XOMPCatJqxuBQ1fXtoZt3WO3VmBL+t3Hr+CUu6S5MmItEckMONST 0GSKIXdINfg02Z26xRDp8GlB94AhiY+raMlUKm2pnNvEFP0HB/nBrrZ1T8dY4I0yyhJgUxdKEEt u/7igckNZdQKctvyeBw== X-Proofpoint-GUID: 08ei9Lq3OStOfAS2DIg3n1z5CnN_Bkmh X-Proofpoint-ORIG-GUID: 08ei9Lq3OStOfAS2DIg3n1z5CnN_Bkmh 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-05-22_05,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 phishscore=0 bulkscore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605220198 On most Qualcomm SoCs where minidump is supported, a word in always-on SRAM is shared between the kernel and boot firmware. Before DDR is initialised on the warm reset following a crash, firmware reads this word to decide if minidump is enabled and collect a minidump and where to deliver it (USB upload to a host, or save to local storage). Add a 'sram' property to the SCM binding to describe a region in always-on SRAM where the minidump download destination value could be written. Boot firmware reads it before DDR is initialised on a warm reset to decide where to store the minidump either to host PC or to on device storage. Signed-off-by: Mukesh Ojha --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 25f62bacbc91..2d68b4065341 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -129,6 +129,13 @@ properties: - description: offset of the download mode control register description: TCSR hardware block + sram: + description: + Phandle to a region in always-on SRAM used to store the download + mode value for boot firmware to read before DDR is initialised on + the next warm reset. + maxItems: 1 + allOf: # Clocks - if: -- 2.53.0