[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210906135320.23134-3-chaochao2021666@163.com>
Date: Mon, 6 Sep 2021 21:53:20 +0800
From: chaochao2021666@....com
To: pavel@....cz
Cc: linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, jan.kiszk@...mens.com,
464759471@...com, chao zeng <chao.zeng@...mens.com>
Subject: [PATCH 3/3] dt-bindings:leds:Extend panic led state
From: chao zeng <chao.zeng@...mens.com>
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@...mens.com>
---
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
Powered by blists - more mailing lists