summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/leds/common.yaml
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2021-07-16 17:03:25 -0500
committerPavel Machek <pavel@ucw.cz>2021-08-20 11:00:05 +0200
commit5d823d6d69853ae07786ddf786f7693b57e76beb (patch)
tree380da4d1c9785a4312d6c587b4e0530f317de6e6 /Documentation/devicetree/bindings/leds/common.yaml
parent09f1273064eea23ec41fb206f6eccc2bf79d1fa1 (diff)
dt-bindings: leds: Add retain-state-shutdown boolean
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@linux.ibm.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/common.yaml')
-rw-r--r--Documentation/devicetree/bindings/leds/common.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index b1f363747a62..697102707703 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