build/patch/kernel/meson64-dev/board-khadas-vim3-change-LED-behaviour.patch
Igor Pečovnik f2756e3b59
Add Odroid HC4 to mainline kernel (#2319)
* Add Odroid HC4 to mainline kernel

- remove legacy target
- add reset / power off support
- change HC4 from .wip -> .conf
- adjust patches

* Enable HC4 legacy kernel too.

* Add groovy target for HC4

* Adjust targets
2020-11-08 12:13:22 +01:00

45 lines
1.5 KiB
Diff

From 6bcac8270ce9c08d0a53423d4511f3d3fcb99644 Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Fri, 21 Feb 2020 03:40:31 +0000
Subject: [PATCH 087/101] WIP: arm64: dts: meson: khadas-vim3: change LED
behaviours on VIM3/3L
VIM3/3L have two LEDs (red/white) located 1mm apart on the board. In the
current configuration both are powered on creating a pink visual status
indication. The boards are also marketed as HTPC devices where heartbeat
pulses are distracting and undesirable.
This change removes the heartbeat and sets the default state so that only
the white LED is on while the board is powered.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
index 6022805d2032..6d0163f56b0d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
@@ -40,14 +40,14 @@
compatible = "gpio-leds";
led-white {
- label = "vim3:white:sys";
- gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "heartbeat";
+ label = "vim3:white:power";
+ gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "default-on";
};
led-red {
label = "vim3:red";
- gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
};
};
--
2.17.1