[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211007000954.30621-9-zev@bewilderbeest.net>
Date: Wed, 6 Oct 2021 17:09:53 -0700
From: Zev Weiss <zev@...ilderbeest.net>
To: openbmc@...ts.ozlabs.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jeremy Kerr <jk@...econstruct.com.au>,
Joel Stanley <joel@....id.au>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
Zev Weiss <zev@...ilderbeest.net>, linux-kernel@...r.kernel.org
Subject: [PATCH 8/9] dt-bindings: document new 'dynamic' common property
Signed-off-by: Zev Weiss <zev@...ilderbeest.net>
---
.../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
Powered by blists - more mailing lists