]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: leds: Add 'cpuX' to 'linux,default-trigger'
authorRob Herring <robh@kernel.org>
Fri, 21 Oct 2022 20:54:28 +0000 (15:54 -0500)
committerPavel Machek <pavel@ucw.cz>
Sat, 22 Oct 2022 09:58:12 +0000 (11:58 +0200)
Add 'cpu' and 'cpuN' to possible values for 'linux,default-trigger'.
There's 45 cases of them in upstream dts files.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Documentation/devicetree/bindings/leds/common.yaml

index 3c14a98430e190afa765419a27032652f7cc01bf..f5c57a580078ea23552d65921b472f5ca2ed474b 100644 (file)
@@ -100,6 +100,7 @@ properties:
           - pattern
         # LED is triggered by SD/MMC activity
       - pattern: "^mmc[0-9]+$"
+      - pattern: "^cpu[0-9]*$"
 
   led-pattern:
     description: |