Skip to contentSkip to conversation

dt-bindings: Document optional "reserved-names" property

PATCH In review Florian Fainelli 2 participants 3 messages May 9, 2017 – May 19, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: Document optional "reserved-names" property

Define an optional string property: "reserved-names" which can be used by the client program to tag/identify reserved memory regions.

---
 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +4 -0
index 3da0ebdba8d9..bd3c9485f637 100644
@@ -64,6 +64,10 @@ reusable (optional) - empty property
       system can use that region to store volatile or cached data that
       can be otherwise regenerated or migrated elsewhere.
 
+reserved-names (optional)
+    - Provides a named tag to the client program to help pretty print/identify
+      the reserved memory region.
+
 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.
Signature · 1 line
2.9.3
maintainer
#1 lore raw
Quoted 13 lines · Florian Fainelli

Define an optional string property: "reserved-names" which can be used by the client program to tag/identify reserved memory regions.

---
 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +0 -0
index 3da0ebdba8d9..bd3c9485f637 100644

Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt reusable (optional) - empty property · line 69

Quoted 6 lines
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +3 -0
@@ -64,6 +64,10 @@ reusable (optional) - empty property
       system can use that region to store volatile or cached data that
       can be otherwise regenerated or migrated elsewhere.
 
+reserved-names (optional)
+    - Provides a named tag to the client program to help pretty print/identify
+      the reserved memory region.

*-names is normally on the client side. I'd like to keep that consistent.

Second, I don't see the need for this. The compatible is not enough?

Rob

#2 lore raw
Quoted 17 lines · Rob Herring
Quoted 16 lines · Florian Fainelli

Define an optional string property: "reserved-names" which can be used by the client program to tag/identify reserved memory regions.

---
 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +0 -0
index 3da0ebdba8d9..bd3c9485f637 100644
@@ -64,6 +64,10 @@ reusable (optional) - empty property
       system can use that region to store volatile or cached data that
       can be otherwise regenerated or migrated elsewhere.
 
Quoted 8 lines

Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt reusable (optional) - empty property · line 69

Quoted 3 lines
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +3 -0
+reserved-names (optional)
+    - Provides a named tag to the client program to help pretty print/identify
+      the reserved memory region.

*-names is normally on the client side. I'd like to keep that consistent.

Second, I don't see the need for this. The compatible is not enough?

Sounds like you are right, compatible is good enough, thanks

Signature · 1 line
Florian