diff mbox series

dt-bindings: leds: Add 'cpuX' to 'linux,default-trigger'

Message ID 20221021205428.304422-1-robh@kernel.org
State New
Headers show
Series dt-bindings: leds: Add 'cpuX' to 'linux,default-trigger' | expand

Commit Message

Rob Herring Oct. 21, 2022, 8:54 p.m. UTC
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>
---
 Documentation/devicetree/bindings/leds/common.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Pavel Machek Oct. 22, 2022, 9:58 a.m. UTC | #1
On Fri 2022-10-21 15:54:28, Rob Herring wrote:
> Add 'cpu' and 'cpuN' to possible values for 'linux,default-trigger'.
> There's 45 cases of them in upstream dts files.

Thanks, applied.

Best regards,
								Pavel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 3c14a98430e1..f5c57a580078 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -100,6 +100,7 @@  properties:
           - pattern
         # LED is triggered by SD/MMC activity
       - pattern: "^mmc[0-9]+$"
+      - pattern: "^cpu[0-9]*$"
 
   led-pattern:
     description: |