Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1560200 > unrolled thread
| Started by | Andreas Färber <afaerber@suse.de> |
|---|---|
| First post | 2017-01-17 02:20 +0100 |
| Last post | 2017-01-19 00:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED Andreas Färber <afaerber@suse.de> - 2017-01-17 02:20 +0100
Re: [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED Kevin Hilman <khilman@baylibre.com> - 2017-01-19 00:10 +0100
| From | Andreas Färber <afaerber@suse.de> |
|---|---|
| Date | 2017-01-17 02:20 +0100 |
| Subject | [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED |
| Message-ID | <t0qBj-iD-1@gated-at.bofh.it> |
There is one blue LED on the front of the device. Keep it lit and
configure it as panic indicator.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index ab497126c9a3..b3937b72d102 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -53,6 +53,17 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+
+ blue {
+ label = "vega-s95:blue:on";
+ gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ panic-indicator;
+ };
+ };
+
usb_vbus: regulator-usb0-vbus {
compatible = "regulator-fixed";
--
2.10.2
[toc] | [next] | [standalone]
| From | Kevin Hilman <khilman@baylibre.com> |
|---|---|
| Date | 2017-01-19 00:10 +0100 |
| Message-ID | <t17wC-1Zz-5@gated-at.bofh.it> |
| In reply to | #1560200 |
Andreas Färber <afaerber@suse.de> writes: > There is one blue LED on the front of the device. Keep it lit and > configure it as panic indicator. > > Signed-off-by: Andreas Färber <afaerber@suse.de> Applied to v4.11/dt64, Thanks, Kevin
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web