linux-postmarketos-omap: Fix volume keys on N900 (MR 4228)

The N900 volume keys were configured to produce F7 and F8 in Maemo Fremantle.
Set them to normal volume keys to restore expected behavior

[ci:skip-build]: Already built successfully in CI
This commit is contained in:
Sicelo A. Mhlongo 2023-07-04 21:57:27 +02:00 committed by Stefan Hansson
parent 58690846bb
commit 62d4d0c62a
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,27 @@
From f7c6e2b20191c4c146ebe47e31a1300f03f71a74 Mon Sep 17 00:00:00 2001
From: "Sicelo A. Mhlongo" <absicsz@gmail.com>
Date: Sat, 24 Jun 2023 22:58:57 +0200
Subject: [PATCH 1/2] n900: dts: volume keys
---
arch/arm/boot/dts/omap3-n900.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index f9f9eca0c56c..a7b00122fa66 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -563,8 +563,8 @@ MATRIX_KEY(0x05, 0x08, KEY_F11)
MATRIX_KEY(0x06, 0x00, KEY_U)
MATRIX_KEY(0x07, 0x00, KEY_I)
- MATRIX_KEY(0x07, 0x01, KEY_F7)
- MATRIX_KEY(0x07, 0x02, KEY_F8)
+ MATRIX_KEY(0x07, 0x01, KEY_VOLUMEUP)
+ MATRIX_KEY(0x07, 0x02, KEY_VOLUMEDOWN)
>;
};
--
2.40.1

View file

@ -5,7 +5,7 @@
pkgname=linux-postmarketos-omap
pkgver=6.3.5
_pkgver=6.3.5
pkgrel=0
pkgrel=1
pkgdesc="Mainline kernel fork for OMAP devices"
arch="armv7"
url="https://kernel.org/"
@ -42,6 +42,7 @@ source="
0005-Add-TWL6030-power-driver-with-minimal-support-for-power-off.patch
0006-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
0008-hsi-ssi_port-force-pio-path.patch
0009-n900-dts-volume-keys.patch
"
builddir="$srcdir/linux-$_pkgver"
replaces="linux-samsung-espresso3g linux-nokia-n900"
@ -80,4 +81,5 @@ b2c2d81bdfb4095a87d6821342127cc7c74bbc12a70786a81d64fd264b5487d522effab349fc1de2
9dc84421cbc2ea7c2c37847d8704ff46dd4a485485bfa4a671167fdef4ac6f53a4e8f787aa774f3748299c374e7c7dc5d36fd4ba9b1a1a9697e0526f2bf3ece4 0005-Add-TWL6030-power-driver-with-minimal-support-for-power-off.patch
1aa4521deb4e6d0977f8e704dd7f38ca3a861212c0ced34145713c72a68d8f255f3631a82c5ef2006f4c8b954fce6198e5d0870392cd4db6b6fb9610abe50c4c 0006-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
c3af9715b3559c2d593f4fcfa078730722c7deeec132c5b83e085ff4d9815d85ef349384097c580efe1bbc37c60f42e18ef559f0abccfe236080670e4403fa77 0008-hsi-ssi_port-force-pio-path.patch
af26c754ef2892251abfd085a1a0729df2bceb8a6c15d14ab3fdf4716fb897b3dcb43f4efe98009a48e9023af608c293ecd86dce9f31f0f090cfd9f78a97cd84 0009-n900-dts-volume-keys.patch
"