Skip to contentSkip to conversation

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

PATCH Applied Rob Herring 2 participants 2 messages Oct 21, 2022 – Oct 22, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

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

Add 'cpu' and 'cpuN' to possible values for 'linux,default-trigger'. There's 45 cases of them in upstream dts files.

---
 Documentation/devicetree/bindings/leds/common.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/leds/common.yaml +1 -0
index 3c14a98430e1..f5c57a580078 100644
@@ -100,6 +100,7 @@ properties:
           - pattern
         # LED is triggered by SD/MMC activity
       - pattern: "^mmc[0-9]+$"
+      - pattern: "^cpu[0-9]*$"
 
   led-pattern:
     description: |
Signature · 1 line
2.35.1
Applied
#1 lore raw
Quoted 2 lines · Rob Herring

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

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.