mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 22:14:36 -04:00
ARM: dtd: Set DNS-313 LEDs to use better triggers
We just used one LED for "disk activity" but using the green LED for disk read and the red LED for disk write gives a way better user experience. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -59,14 +59,13 @@ led-disk-green {
|
||||
label = "dns313:green:disk";
|
||||
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "ide-disk";
|
||||
/* Ideally should activate while reading */
|
||||
linux,default-trigger = "disk-read";
|
||||
};
|
||||
led-disk-red {
|
||||
label = "dns313:red:disk";
|
||||
gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
/* Ideally should activate while writing */
|
||||
linux,default-trigger = "disk-write";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user