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 AA78D3033D8 for ; Wed, 24 Jun 2026 19:08:49 +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=1782328130; cv=none; b=HvoCJiFYOWWut+SVGQ343UsLftGvpyNQ4VgpX1yXqgeqaDTNUKtU/Of3b82QfY5eUE7lWuxfKF2x+80/SpmUQxBzLmd+wiNT3pN8gY3JjoK5Lb0I2dSyWFhiCSgstg0fQnxvHUKMi/12VwOLapNi+SzkzKNWDsjyRLpIodswpPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782328130; c=relaxed/simple; bh=6w/k2iZsk3MHudpmix28SmiBhWovkM+5Ozoexf0PRds=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZFPvkv2acaCkCnKP83rHrU9Gk7/2e78cFVxwvOC2To2zcff7UC3ytR65m2ZYOjmmtbrf4sTcs7VotqfDrsM7irOqmM+yZbmY/B27IE4rZtG590MIVhtPCeRoVB5qKtJqOwUTFSfSCk/EaH6/xaMzw7oOnG9DCY/mq+f/XYGl8TU= 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=GuG4wush; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=kv6yPpYU; 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="GuG4wush"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="kv6yPpYU" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65OHivVj2137267 for ; Wed, 24 Jun 2026 19:08:49 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=altI44UPf5A n4jjMofr32B/jFu/GgoEljN19CjyDurM=; b=GuG4wushMiAea4Rvc4OLKxvUhhC jde3yODfVtYiO7oLyxkzuL1ku56RfceROXtlqWu2BmQPT6BbrUYSFYsjvF+dcGHL EDwNMwAR0qK/2Vnd8pJwv22xYwqd/0Q5gg6a30k6B5OUutTrNhOb2vGYUtlNBqRE 3TEVAJ8EY5ov/vy8IsQBTCNUutSPOD4+7JYlxk/7F3KjSO0iPx4paPtgO8wRGIXM RBqwc4gXGgA0GCLrzI6MxVslREEsO5huKIPl5HW8qsA2reWD7r0lDiUijqeAYkIf dn2sjmusXT+3Nv5nQDHhOGASzUB6vl4lK8PDk6o+VbSuAdYg1y3nzH8Ykkg== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f06r33mya-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 24 Jun 2026 19:08:48 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-842211d6e48so1697534b3a.0 for ; Wed, 24 Jun 2026 12:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782328127; x=1782932927; 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=altI44UPf5An4jjMofr32B/jFu/GgoEljN19CjyDurM=; b=kv6yPpYUmdwfr6Rv+BzRydNeMotx7RvEFlLEEm+rrzmf8T9VI0R1iX6V8g8p6hcUpJ qwyH1Vfhty9UU5aTAqmvh5sipMFun1nAf8UaPaitbeqVi38MGYkqd2/nO35t1BYWIHAB i1fnYqmSuIP3zwj/JGbifnUO0fKFmRWLVDN/z2fWKdHX8yR4cupELQYR9NlfD1pauMC1 K00l3iqf5KoHsP1YFtSYNFox+r8VRM58GXGG47+xd/I21E0PKUU/eLdDeHfj7aSKQIK5 PtMNb7pvJt3IteTq68K51+Od82n2WV/Iw3x+f3KeClUZXZEpzWzncY+4DqyTrfs2wdU9 xZEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782328127; x=1782932927; 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=altI44UPf5An4jjMofr32B/jFu/GgoEljN19CjyDurM=; b=L/ZJio9eyqgfIw5qXTEgoSg029O8EnKKHIbFjAxVnqgov+BCFWkNDJHKFSOrKv6fKC RymR+IBrTVR5NTZWYLpAA4QSmnGpV6g3A9irDHU3PHBKEvQDra6aZt4xbCApzI+aKSuD ATzfjkGggiWLGOdoP1goX6OLDPqOuJgYoq7OlKsoF6CJSA40wQtTkX4mAwKyURgybfL1 XDve28vWhspcTY05txcQc+UXPWlb7Xfg//ahQyqcyRDbKK9Yjg4Ps64Dh4r+Z6i8/ogh rBry7JnSVfx19zPBm5/7mqnrR8Ezhumw6AsAV79HALw7f3ti2/td/NTyEUUdodIS63hW vtGQ== X-Forwarded-Encrypted: i=1; AFNElJ+qEsAtBqhX3EfHdIQ7Dnke1ZxamfgET/nfNSl9BCrMLZfHvauX5cw4eBWvLnD1waLAIxOqgeQGDS7GA/0=@vger.kernel.org X-Gm-Message-State: AOJu0YwLSAUUsxSNZOI7nmPgW2FElGkG6dI3XCrt4QwLhppJcHlcebRI q2Rdw8q3SGMuZXv5Dz7TTic/sYBMhTdXj+VL/6rLE5F/PMehQqc53Eg8QlA+75CXpBof2b9Uzvk DoTjksfWMZefLc4QXyyAz0I4MVVG3PqxImM0GuJMQmgEXCcHi4xdCawIIqBT7Oxgcz0NTb/1HyJ 8= X-Gm-Gg: AfdE7cmqLtLjtOROg7urEPOR9di/w6h2zH6l8DXN39Whmc7rNdivpXqIiYM5qbfbKFo PK/3h2bq0hu0g11ENCrfJWnb/DTzXQ0GRZk0qCYkyPIHnDxk4JMeNGDmZFLxFPzWjlrCPqfeGYR k9akqlt0HWrEnYAvW6SJkEYnReUJti+5fv6eKjnfdZ2jJE/70We6AZh6/OzpUTtYjeHWWN4//zw xivc3Wl8eRBYtAEe2LOY449IUSsyOv1wZZG380xsFeVGlc3PB/SOVClF5dbGcEiwajnr8krfuLd eZbw1JYfaXbVRUBj3aU+6SYiLTWowISvuWOtA3GPaz3xXW6pNQfHtRIoiVzSdxc7O5CDdoUehWW Oohbi+eD/MZhgShJql4EBbvhonQjJgecxDluUEA== X-Received: by 2002:a05:6a00:1f05:b0:83e:d427:9817 with SMTP id d2e1a72fcca58-845a2ae1b29mr5333911b3a.11.1782328127411; Wed, 24 Jun 2026 12:08:47 -0700 (PDT) X-Received: by 2002:a05:6a00:1f05:b0:83e:d427:9817 with SMTP id d2e1a72fcca58-845a2ae1b29mr5333866b3a.11.1782328126825; Wed, 24 Jun 2026 12:08:46 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-845a412e5e9sm2932120b3a.54.2026.06.24.12.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2026 12:08:46 -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 v4 02/19] dt-bindings: sram: qcom,imem: Add minidump-sram pattern property Date: Thu, 25 Jun 2026 00:38:13 +0530 Message-ID: <20260624190830.3131112-3-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260624190830.3131112-1-mukesh.ojha@oss.qualcomm.com> References: <20260624190830.3131112-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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI0MDE2MCBTYWx0ZWRfX5LfLDm54X2nw CN3yl3wwx3ozJBsMuj98AL59+xqQNJaHymyD7TJHs/m213dcjIICwICKlabpNOuPhF3Q4xxZAXr uFouI2YAtbn53z1BIS88IWjfJYlkLUTYMyr9h11dfVE/evpm8mdUNOAy1NYuBRFlHb3fiNcjmAw Rv0CvSbrH4Q/zYrkThuGappBci+Uqpowqvxe5PItU+Oqx0jutf42X/YFev6N3novCGjXqUpN93Z uKn/fxdjLyzmJGaHMmVv5FS2G3aFoSpKjaVJZtYSCNevyLkIG36e011fdt9q2qHak6q+nC0aQ6h owTYQhN9uOV8/Rqpo0VL6qgDW7MxmHG4XRIye5nm5RGZ+Oc9bpUQ/v6RzCiDL4V/9QH0AO7bZMI 28fioHVw6fWuyjjgZNtbZ6exKiDgBg== X-Proofpoint-ORIG-GUID: 9qAIx0s7VuNKwMz31hC0vgRFge2ZMcS1 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI0MDE2MCBTYWx0ZWRfX2WaagpKZnJSy k1YrG/oWJfBNlovuyloiTuz1ifvCpIn2VJtiTdwxyDPVyumm5EvW8G5WiF6/vxE67So38pehwCe ajfMCdMQ1kgb7WeHtjwy6zGSpjWUE4w= X-Authority-Analysis: v=2.4 cv=ZM7nX37b c=1 sm=1 tr=0 ts=6a3c2b40 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=CxA_GxxwRcnTusB8hbgA:9 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-GUID: 9qAIx0s7VuNKwMz31hC0vgRFge2ZMcS1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-24_03,2026-06-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 bulkscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606240160 The qcom,imem binding describes a single word in always-on SRAM shared between the operating system (OS) and boot firmware. Before DDR is initialized on the warm reset following a crash, firmware reads this word to decide where to deliver the minidump, and the OS is expected to select one of the destinations: either USB upload to a host PC or save to on-device storage. If nothing is selected by the OS, USB is the default. Signed-off-by: Mukesh Ojha --- .../devicetree/bindings/sram/qcom,imem.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml index c63026904061..17adced6d3a4 100644 --- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml @@ -67,6 +67,22 @@ properties: $ref: /schemas/power/reset/syscon-reboot-mode.yaml# patternProperties: + "^minidump-sram@[0-9a-f]+$": + type: object + description: + A word in always-on SRAM shared between the kernel and boot firmware. + Before DDR is initialised on the warm reset following a crash, firmware + reads this word to decide where to deliver the minidump (USB or storage). + + properties: + reg: + maxItems: 1 + + required: + - reg + + additionalProperties: false + "^modem-tables@[0-9a-f]+$": type: object description: -- 2.53.0