On 08/04/2025 10:49, Kathiravan Thirumoorthy wrote:
Add a devicetree binding for the Qualcomm IPQ SOCs restart reasonNo generic compatibles.
information region found in the IMEM, allowing the system to identify
the cause of a restart.
Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
.../bindings/watchdog/qcom,restart-reason.yaml | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/Documentation/devicetree/bindings/watchdog/qcom,restart-reason.yaml b/Documentation/devicetree/bindings/watchdog/qcom,restart-reason.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..babbaa70b114f9691018ed6cb10bfa78e18fad64
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/qcom,restart-reason.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/qcom,restart-reason.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm IPQ SoC restart reason location
+
+maintainers:
+ - Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
+
+description:
+ The Qualcomm IPQ SoC restart reason memory region, in IMEM, is used to
+ identify the cause of the system restart. This will be helpful to identify
+ the cause when the RAM dump collection is disabled.
+
+properties:
+ compatible:
+ const: qcom,restart-reason-info
OTOH, I don't see much of a value of this being a separate node.