@@ -79,24 +79,27 @@ properties:
79
79
the LED.
80
80
$ref : /schemas/types.yaml#/definitions/string
81
81
82
- enum :
83
- # LED will act as a back-light, controlled by the framebuffer system
84
- - backlight
85
- # LED will turn on (but for leds-gpio see "default-state" property in
86
- # Documentation/devicetree/bindings/leds/leds-gpio.yaml)
87
- - default-on
88
- # LED "double" flashes at a load average based rate
89
- - heartbeat
90
- # LED indicates disk activity
91
- - disk-activity
92
- # LED indicates IDE disk activity (deprecated), in new implementations
93
- # use "disk-activity"
94
- - ide-disk
95
- # LED flashes at a fixed, configurable rate
96
- - timer
97
- # LED alters the brightness for the specified duration with one software
98
- # timer (requires "led-pattern" property)
99
- - pattern
82
+ oneOf :
83
+ - enum :
84
+ # LED will act as a back-light, controlled by the framebuffer system
85
+ - backlight
86
+ # LED will turn on (but for leds-gpio see "default-state" property in
87
+ # Documentation/devicetree/bindings/leds/leds-gpio.yaml)
88
+ - default-on
89
+ # LED "double" flashes at a load average based rate
90
+ - heartbeat
91
+ # LED indicates disk activity
92
+ - disk-activity
93
+ # LED indicates IDE disk activity (deprecated), in new implementations
94
+ # use "disk-activity"
95
+ - ide-disk
96
+ # LED flashes at a fixed, configurable rate
97
+ - timer
98
+ # LED alters the brightness for the specified duration with one software
99
+ # timer (requires "led-pattern" property)
100
+ - pattern
101
+ # LED is triggered by SD/MMC activity
102
+ - pattern : " ^mmc[0-9]+$"
100
103
101
104
led-pattern :
102
105
description : |
0 commit comments