Merge "dt-bindings: soc: qcom: Add documentation for minidump driver"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
70a31a7411
29
bindings/soc/qcom/qcom,minidump.yaml
Normal file
29
bindings/soc/qcom/qcom,minidump.yaml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: "http://devicetree.org/schemas/soc/qcom/qcom,minidump.yaml#"
|
||||||
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
|
title: Qualcomm Technologies, Inc. Minidump driver
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Melody Olvera <quic_molvera@quicinc.com>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
Minidump driver allows clients to register memory regions. It can dump
|
||||||
|
registered memory regions when system goes wrong.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
enum:
|
||||||
|
- qcom,minidump
|
||||||
|
- qcom,minidump-rm
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
qcom,minidump {
|
||||||
|
compatible = "qcom,minidump";
|
||||||
|
};
|
40
bindings/soc/qcom/qcom,va-minidump.yaml
Normal file
40
bindings/soc/qcom/qcom,va-minidump.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: "http://devicetree.org/schemas/soc/qcom/qcom,va-minidump.yaml#"
|
||||||
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
|
title: Qualcomm Technologies, Inc. VA Minidump driver
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Melody Olvera <quic_molvera@quicinc.com>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
VA based minidump driver helps in registering dynamic data structures
|
||||||
|
from vendor modules with minidump. This driver works on VA, which
|
||||||
|
would be contiguous even if physical pages are scattered. Each client
|
||||||
|
can register area with contiguous VA as a section for ELF. This driver
|
||||||
|
creates ELF in panic notifier, combining all the section registered
|
||||||
|
by client drivers.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
items:
|
||||||
|
- const: qcom,va-minidump
|
||||||
|
|
||||||
|
memory-region:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/phandle'
|
||||||
|
maxItems: 1
|
||||||
|
description: |
|
||||||
|
CMA region which is owned by this device.
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- memory-region
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
va_mini_dump {
|
||||||
|
compatible = "qcom,va-minidump";
|
||||||
|
memory-region = <&va_md_mem>;
|
||||||
|
};
|
Reference in New Issue
Block a user