linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] ARM: dts: Set DNS-685 LEDs to use better triggers
Date: Sun,  6 May 2018 15:43:48 +0200	[thread overview]
Message-ID: <20180506134352.2637-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20180506134352.2637-1-linus.walleij@linaro.org>

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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
index 369c80076a61..8d3478cf840b 100644
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
@@ -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".
@@ -108,12 +108,14 @@
 			/* 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";
 		};
 	};
 
-- 
2.17.0

  parent reply	other threads:[~2018-05-06 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-06 13:43 [PATCH 0/7] Gemini DTS updates Linus Walleij
2018-05-06 13:43 ` [PATCH 1/7] ARM: dts: gemini: Fix "debounce-interval" property misspelling Linus Walleij
2018-05-06 13:43 ` [PATCH 2/7] ARM: dtd: Set DNS-313 LEDs to use better triggers Linus Walleij
2018-05-06 13:43 ` Linus Walleij [this message]
2018-05-06 13:43 ` [PATCH 4/7] ARM: dts: Fix the DNS-313 flash compatible Linus Walleij
2018-05-06 13:43 ` [PATCH 5/7] ARM: dts: Fix bootargs for Gemini D-Link devices Linus Walleij
2018-05-06 13:43 ` [PATCH 6/7] ARM: dts: Add second ATA to NAS4220B Linus Walleij
2018-05-06 13:43 ` [PATCH 7/7] ARM: dts: Fix DTC warnings Linus Walleij
2018-05-08 10:37   ` Robin Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180506134352.2637-4-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).