Message ID | 20211007000954.30621-9-zev@bewilderbeest.net |
---|---|
State | New |
Headers | show |
Series | Dynamic DT device nodes | expand |
On Wed, Oct 06, 2021 at 05:09:53PM -0700, Zev Weiss wrote:
> Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
I know I can not take patches without any changelog text. Maybe other
maintainers are more "lax" :(
thanks,
greg k-h
On Wed, Oct 06, 2021 at 10:26:42PM PDT, Greg Kroah-Hartman wrote: >On Wed, Oct 06, 2021 at 05:09:53PM -0700, Zev Weiss wrote: >> Signed-off-by: Zev Weiss <zev@bewilderbeest.net> > >I know I can not take patches without any changelog text. Maybe other >maintainers are more "lax" :( > Okay -- for this one I wasn't sure what to put in the body that wasn't basically just duplicating the subject line or the content of the patch, but I'll make sure to put something there in the future. Zev
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; +};
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> --- .../devicetree/bindings/common-properties.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)