Skip to content

Commit d8fe820

Browse files
montjoielag-linaro
authored andcommitted
dt-bindings: leds: Add disk write/read and usb-host/usb-gadget
The triggers enum misses 3 cases used by gemini DT. usb-host was added via commit 0cfbd32 ("usb: Add LED triggers for USB activity") so we add also as valid trigger usb-gadget which was added along in this commit. disk-read/disk-write were added by commit d1ed7c5 ("leds: Extends disk trigger for reads and writes") Reviewed-by: Linus Walleij <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4aea8f3 commit d8fe820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/leds/common.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ properties:
9090
- heartbeat
9191
# LED indicates disk activity
9292
- disk-activity
93+
- disk-read
94+
- disk-write
9395
# LED indicates IDE disk activity (deprecated), in new implementations
9496
# use "disk-activity"
9597
- ide-disk
@@ -98,6 +100,8 @@ properties:
98100
# LED alters the brightness for the specified duration with one software
99101
# timer (requires "led-pattern" property)
100102
- pattern
103+
- usb-gadget
104+
- usb-host
101105
- pattern: "^cpu[0-9]*$"
102106
- pattern: "^hci[0-9]+-power$"
103107
# LED is triggered by Bluetooth activity

0 commit comments

Comments
 (0)