[PATCH 25/26] dt-bindings: reserved-memory: Add Google Kinfo Pixel reserved memory

Eugen Hristev
2025-11-19T15:46:03Z

Add documentation for Google Kinfo Pixel reserved memory area.

Signed-off-by: Eugen Hristev <eugen.hristev@linaro.org>
---
.../reserved-memory/google,kinfo.yaml | 49 +++++++++++++++++++
MAINTAINERS | 5 ++
2 files changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reserved-memory/google,kinfo.yaml

diff --git a/Documentation/devicetree/bindings/reserved-memory/google,kinfo.yaml b/Documentation/devicetree/bindings/reserved-memory/google,kinfo.yaml
new file mode 100644
index 000000000000..12d0b2815c02
--- /dev/null
+++ b/Documentation/devicetree/bindings/reserved-memory/google,kinfo.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reserved-memory/google,kinfo.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Google Pixel Kinfo reserved memory
+
+maintainers:
+ - Eugen Hristev <eugen.hristev@linaro.org>
+
+description:
+ This binding describes the Google Pixel Kinfo reserved memory, a region
+ of reserved-memory used to store data for firmware/bootloader on the Pixel
+ platform. The data stored is 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:
+ - |
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ kinfo_region: smem@fa00000 {
+ reg = <0xfa00000 0x1000>;
+ no-map;
+ };
+ };
+
+ debug-kinfo {
+ compatible = "google,debug-kinfo";
+
+ memory-region = <&kinfo_region>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 2cb2cc427c90..8034940d0b1e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16164,6 +16164,11 @@ F: Documentation/dev-tools/meminspect.rst
F: include/linux/meminspect.h
F: kernel/meminspect/*

+MEMINSPECT KINFO DRIVER
+M: Eugen Hristev <eugen.hristev@linaro.org>
+S: Maintained
+F: Documentation/devicetree/bindings/misc/google,kinfo.yaml
+
MEMBLOCK AND MEMORY MANAGEMENT INITIALIZATION
M: Mike Rapoport <rppt@kernel.org>
L: linux-mm@kvack.org
--
2.43.0