[PATCH RFC 2/4] leds: dt-bindings: add disk trigger for each ata port

Markus Probst posted 4 patches 2 weeks ago
[PATCH RFC 2/4] leds: dt-bindings: add disk trigger for each ata port
Posted by Markus Probst 2 weeks ago
Document disk trigger showing only disk activity for one specific ata
port.

Signed-off-by: Markus Probst <markus.probst@posteo.de>
---
 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 d0f2fee7622c..ca51eeadfad0 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -136,6 +136,12 @@ properties:
       - pattern: "^mmc[0-9]+$"
         # LED is triggered by WLAN activity
       - pattern: "^phy[0-9]+tx$"
+        # LED indicates disk activity for a specific ata port
+      - pattern: "^.*-ata[0-9]+-disk-activity$"
+        # LED indicates disk read activity for a specific ata port
+      - pattern: "^.*-ata[0-9]+-disk-read$"
+        # LED indicates disk write activity for a specific ata port
+      - pattern: "^.*-ata[0-9]+-disk-write$"
 
   led-pattern:
     description: |

-- 
2.52.0