mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 23:46:29 +00:00

* Linux: Update kernel 6.6.15 * Update buildroot packages to work with Linux 6.6 * Fix top-level and pc patches of linux * Update tinker patch series * Drop Odroid M1 patches M1 is now supported in upstream. * Update Hardkernel patches Needed larger refactoring because of 379ae64609c7a3301b60483eb65bd8bc78f76328 * Update Green patches * Update Odroid XU4 patches Removing the TMU patch/hack for now, need to check if it's still needed. If it is indeed, then it needs slighter rewrite. * Move Rockchip RNG patches to M1 and Green dirs * Update rtl88x2bu package to fix build * Update gasket package to fix build * Fix eq3_char_loop build * Use fan53555 instead of custom rk860x driver * Fix kernel base configs and fragments after 6.6 update Mostly removed options that have been removed between releases. Only a few options have been renamed, then there's bunch of options that had dependencies added so they are available only on some architectures, which are not those that we're using. * Remove deprecated regulator-compatible from Green DTS
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From e780a5f405a02e3102c471415f7b0ad73a5cc036 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Mon, 11 Jan 2021 11:20:48 +0100
|
|
Subject: [PATCH] arm64: dts: meson: g12b: add power button support
|
|
|
|
Add power button support on J2 pin 11 (GPIOX_3 on the SoC side). The
|
|
GPIO is low active, e.g. when connecting with pin 9 (GND) a power
|
|
button press is triggered.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi
|
|
index 9e12a34b2840..c27eae6488ce 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi
|
|
@@ -38,6 +38,17 @@ fan: gpio-fan {
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
+ gpio-keys-polled {
|
|
+ compatible = "gpio-keys-polled";
|
|
+ poll-interval = <100>;
|
|
+
|
|
+ power-button {
|
|
+ label = "power";
|
|
+ linux,code = <KEY_POWER>;
|
|
+ gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|