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

Rob Herring posted 1 patch 3 years, 5 months ago
Documentation/devicetree/bindings/leds/common.yaml | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: leds: Add 'cpuX' to 'linux,default-trigger'
Posted by Rob Herring 3 years, 5 months ago
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(+)

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: |
-- 
2.35.1
Re: [PATCH] dt-bindings: leds: Add 'cpuX' to 'linux,default-trigger'
Posted by Pavel Machek 3 years, 5 months ago
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
-- 
People of Russia, stop Putin before his war on Ukraine escalates.