summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-09-10 19:20:20 +0300
committerRob Herring <robh@kernel.org>2020-09-15 23:26:14 +0300
commit5f40bb39ad555066589bfdcbfaaab1fad56ce1b0 (patch)
tree61f1853fa9b9d48f35b7d4c7b1e8e3a285bc241b
parent73d3e43f9813edee4d7d9b95bd56ed89f7d807cf (diff)
downloadlinux-5f40bb39ad555066589bfdcbfaaab1fad56ce1b0.tar.xz
of: properties of reserved-memory nodes
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>
-rw-r--r--Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
index 4dd20de6977f..e8d3096d922c 100644
--- a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
+++ b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
@@ -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.