of: properties of reserved-memory nodes
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Sep 2020 16:20:20 +0000 (18:20 +0200)
committerRob Herring <robh@kernel.org>
Tue, 15 Sep 2020 20:26:14 +0000 (14:26 -0600)
The reusable and the no-map property are mutually exclusive.
Clarify this in the documentation.

Acked-by: Grant Likely <grant.likely@arm.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20200910162020.3927-1-xypron.glpk@gmx.de
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt

index 4dd20de..e8d3096 100644 (file)
@@ -64,6 +64,9 @@ reusable (optional) - empty property
       system can use that region to store volatile or cached data that
       can be otherwise regenerated or migrated elsewhere.
 
+A node must not carry both the no-map and the reusable property as these are
+logically contradictory.
+
 Linux implementation note:
 - If a "linux,cma-default" property is present, then Linux will use the
   region for the default pool of the contiguous memory allocator.