[PATCH linux dev-5.10 1/7] dt-bindings: leds: Add retain-state-shutdown boolean

Eddie James eajames at linux.ibm.com
Fri Sep 17 07:21:34 AEST 2021


Document the retain-state-shutdown property that indicates that a LED
should not be turned off or changed during system shutdown.

Signed-off-by: Eddie James <eajames at linux.ibm.com>
Acked-by: Rob Herring <robh at kernel.org>
Signed-off-by: Pavel Machek <pavel at ucw.cz>
---
 Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index f1211e7045f1..fd74d33291da 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -128,6 +128,12 @@ properties:
       as a panic indicator.
     type: boolean
 
+  retain-state-shutdown:
+    description:
+      This property specifies that the LED should not be turned off or changed
+      when the system shuts down.
+    type: boolean
+
   trigger-sources:
     description: |
       List of devices which should be used as a source triggering this LED
-- 
2.27.0



More information about the openbmc mailing list