Lakka-LibreELEC/projects/L4T/devices/Switch/patches/linux/0001-Fix-Volume-Mappings.patch
GavinDarkglider 8c70c4924b
[WIP]Lakka-v5.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1801)
* Switch: Switch to new Bootloader.

* Initial Mariko Support

* ffmpeg: Fix issues caused by last libreELEC upstream merge.
2022-12-25 04:32:18 +02:00

32 lines
1 KiB
Diff

From ec7fa0e304bcd9be9e3b6e40f7bfa8e1a0042989 Mon Sep 17 00:00:00 2001
From: Ronald Brown <rbrown4014@yahoo.com>
Date: Wed, 14 Apr 2021 08:02:49 -0700
Subject: [PATCH] Change dts to fix volume mappings in lakka.
---
.../nx/kernel-dts/nx-platforms/tegra210-nx-keys.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nvidia/platform/t210/nx/kernel-dts/nx-platforms/tegra210-nx-keys.dtsi b/nvidia/platform/t210/nx/kernel-dts/nx-platforms/tegra210-nx-keys.dtsi
index 8c508ec9d413..b80774f5980c 100644
--- a/nvidia/platform/t210/nx/kernel-dts/nx-platforms/tegra210-nx-keys.dtsi
+++ b/nvidia/platform/t210/nx/kernel-dts/nx-platforms/tegra210-nx-keys.dtsi
@@ -23,13 +23,13 @@
volume_down {
label = "Volume Down";
gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
- linux,code = <KEY_VOLUMEDOWN>;
+ linux,code = <KEY_KPMINUS>;
};
volume_up {
label = "Volume Up";
gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
- linux,code = <KEY_VOLUMEUP>;
+ linux,code = <KEY_KPPLUS>;
};
};
};
--
GitLab