[PATCH RFC 1/4] leds: dt-bindings: add disk trigger led pattern

Markus Probst posted 4 patches 2 weeks ago
[PATCH RFC 1/4] leds: dt-bindings: add disk trigger led pattern
Posted by Markus Probst 2 weeks ago
Document the disk trigger led pattern.

Signed-off-by: Markus Probst <markus.probst@posteo.de>
---
 Documentation/devicetree/bindings/leds/common.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index f4e44b33f56d..d0f2fee7622c 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -144,6 +144,8 @@ properties:
       Each trigger may parse this property differently:
         - one-shot : two numbers specifying delay on and delay off (in ms),
         - timer : two numbers specifying delay on and delay off (in ms),
+        - disk : three numbers specifying delay on, delay off (in ms)
+          and invert (0 or 1),
         - pattern : the pattern is given by a series of tuples, of
           brightness and duration (in ms).  The exact format is
           described in:
@@ -151,7 +153,7 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-matrix
     items:
       minItems: 2
-      maxItems: 2
+      maxItems: 3
 
   led-max-microamp:
     description:

-- 
2.52.0