Add documentation for Google Kinfo kmemdump backend driver.
Signed-off-by: Eugen Hristev <eugen.hristev@linaro.org>
---
.../bindings/misc/google,kinfo.yaml | 36 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 37 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/google,kinfo.yaml
diff --git a/Documentation/devicetree/bindings/misc/google,kinfo.yaml b/Documentation/devicetree/bindings/misc/google,kinfo.yaml
new file mode 100644
index 000000000000..b1e4fac43586
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/google,kinfo.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/google,kinfo.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Google Pixel Kinfo debug driver
+
+maintainers:
+ - Eugen Hristev <eugen.hristev@linaro.org>
+
+description:
+ The Google Pixel Kinfo debug driver uses a supplied reserved memory area
+ to save debugging information on the running kernel.
+
+properties:
+ compatible:
+ items:
+ - const: google,kinfo
+
+ memory-region:
+ maxItems: 1
+ description: Reference to the reserved-memory for the data
+
+required:
+ - compatible
+ - memory-region
+
+additionalProperties: true
+
+examples:
+ - |
+ debug-kinfo {
+ compatible = "google,debug-kinfo";
+ memory-region = <&debug_kinfo_reserved>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 65d9e5db46a9..6a846c51db04 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13821,6 +13821,7 @@ F: mm/kmemdump/kmemdump_coreimage.c
KMEMDUMP KINFO BACKEND DRIVER
M: Eugen Hristev <eugen.hristev@linaro.org>
S: Maintained
+F: Documentation/devicetree/bindings/misc/google,kinfo.yaml
F: mm/kmemdump/kinfo.c
KMEMDUMP QCOM MINIDUMP BACKEND DRIVER
--
2.43.0