From 80251dc5e87a2f40c02fbf0cf46d2fdbba8b1c82 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 15 May 2024 10:07:35 +0200 Subject: [PATCH] schemas: reserved-memory: Add export property OSs might want to create dedicated, special purposes, memory allocators from memory regions with different memory attributes or characteristics, for the rest of the system to consume. Let's add an export property to allow reserved memory regions to be used as the backing memory for such allocators. Signed-off-by: Maxime Ripard --- dtschema/schemas/reserved-memory/reserved-memory.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dtschema/schemas/reserved-memory/reserved-memory.yaml b/dtschema/schemas/reserved-memory/reserved-memory.yaml index 392c76f..e78d23d 100644 --- a/dtschema/schemas/reserved-memory/reserved-memory.yaml +++ b/dtschema/schemas/reserved-memory/reserved-memory.yaml @@ -66,6 +66,12 @@ properties: which can be corrected by the Error-Correction Code (ECC) memory subsystem (typically 0, 1 or 2). + export: + type: boolean + description: > + The operating system can use the memory to create special-purpose + allocators instead of solely dedicating it to the device. + iommu-addresses: $ref: /schemas/types.yaml#/definitions/phandle-array description: >