]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: Set DNS-685 LEDs to use better triggers
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Apr 2018 13:58:24 +0000 (15:58 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 May 2018 11:27:17 +0000 (13:27 +0200)
Using the blue LED for disk read and the orange LED for
disk write gives a better user experience.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-dlink-dir-685.dts

index 369c80076a612814a05693c4dca009498e3c4c71..8d3478cf840be36e38d28a212dbe149219b4b158 100644 (file)
@@ -98,7 +98,7 @@
                /*
                 * These two LEDs are on the side of the device.
                 * For electrical reasons, both LEDs cannot be active
-                * at the same time so only blue or orange can on at
+                * at the same time so only blue or orange can be on at
                 * one time. Enabling both makes the LED go dark.
                 * The LEDs both sit inside the unmount button and the
                 * label on the case says "unmount".
                        /* Collides with LPC_SERIRQ, UART DTR, SSP FSC pins */
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
+                       linux,default-trigger = "disk-read";
                };
                led-orange-hd {
                        label = "dir685:orange:HD";
                        /* Collides with LPC_LAD[2], UART DSR, SSP ECLK pins */
                        gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
+                       linux,default-trigger = "disk-write";
                };
        };