mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
dt-bindings: qcom,reboot-reason: Add bindings
Add bindings for qcom,reboot-reason node. Change-Id: I2cac1570c9db163ae6e794f88504bc503655f956
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
cbcf21f697
commit
66cf726647
44
bindings/power/reset/qcom,reboot-reason.yaml
Normal file
44
bindings/power/reset/qcom,reboot-reason.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/power/reset/qcom-reboot-reason.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: Qualcomm Technologies, Inc. reboot reason binding
|
||||
|
||||
maintainers:
|
||||
- Elliot Berman <eberman@quicinc.com>
|
||||
|
||||
description: |
|
||||
Qualcomm Technologies, Inc. SoCs support booting to special download
|
||||
modes after a restart. These modes could be a normal restart,
|
||||
restarting into a ramdump collection mode (CrashDump), or restarting
|
||||
into "emergency download mode".
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
items:
|
||||
- const: qcom,reboot-mode
|
||||
|
||||
allOf:
|
||||
- $ref: /schemas/nvmem/nvmem-consumer.yaml#/properties
|
||||
- items:
|
||||
nvmem-cell-names:
|
||||
items:
|
||||
- const: restart_reason
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- nvmem-cells-names
|
||||
|
||||
dependencies:
|
||||
allOf:
|
||||
- $ref: /schemas/nvmem/nvmem-consumer.yaml#/dependencies
|
||||
|
||||
|
||||
examples:
|
||||
- |
|
||||
reboot-reason {
|
||||
compatible = "qcom,reboot-reason";
|
||||
nvmem-cells = <&restart_reason>;
|
||||
nvmem-cell-names = "restart_reason";
|
||||
};
|
||||
Reference in New Issue
Block a user