dt-bindings: Document optional "reserved-names" property
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
@@ -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
Rob Herring
maintainerQuoted 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.
Signed-off-by Florian Fainelli <[email protected]>--- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +0
-0
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
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.
Signed-off-by Florian Fainelli <[email protected]>--- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +0
-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.
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