[PATCH 8/9] dt-bindings: document new 'dynamic' common property

From: Zev Weiss
Date: Wed Oct 06 2021 - 20:10:49 EST


Signed-off-by: Zev Weiss <zev@xxxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/common-properties.txt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/common-properties.txt b/Documentation/devicetree/bindings/common-properties.txt
index 98a28130e100..db6c54e1071d 100644
--- a/Documentation/devicetree/bindings/common-properties.txt
+++ b/Documentation/devicetree/bindings/common-properties.txt
@@ -83,3 +83,21 @@ gpio@0 {
#gpio-cells = <2>;
#daisy-chained-devices = <3>;
};
+
+Dynamic devices
+---------------
+
+Certain devices may require support for runtime attachment and
+detachment (hot-plugging, essentially).
+
+Optional properties:
+ - dynamic: Boolean; indicates that the device's status may change at
+ runtime.
+
+Example:
+&spi1 {
+ compatible = "name";
+ status = "reserved";
+ ...
+ dynamic;
+};
--
2.33.0