[PATCH 3/3] dt-bindings:leds:Extend panic led state

From: chaochao2021666
Date: Mon Sep 06 2021 - 09:55:17 EST


From: chao zeng <chao.zeng@xxxxxxxxxxx>

Add extra "panic-indicator-on" and "panic-indicator-off"
to extend the panic led status.Not only blink to indicate
the panic

Signed-off-by: chao zeng <chao.zeng@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/leds/common.yaml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 697102707703..7eb367063155 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -125,7 +125,19 @@ properties:
panic-indicator:
description:
This property specifies that the LED should be used, if at all possible,
- as a panic indicator.
+ using blink as a panic indicator.
+ type: boolean
+
+ panic-indicator-on:
+ description:
+ This property specifies that the LED should be used, if at all possible,
+ using led on as a panic indicator.
+ type: boolean
+
+ panic-indicator-off:
+ description:
+ This property specifies that the LED should be used, if at all possible,
+ using led off as a panic indicator.
type: boolean

retain-state-shutdown:
--
2.17.1