linux-postmarketos-omap: upgrade to 7.0.5

In addition to the version upgrade:
 1. Drop DTS patch for volume keys. These will be handled via hwdb
 2. Drop CONFIG_FW_LOADER_USER_HELPER. It was required by the LED controller
    (lp5523) driver until Linux 6.19
 3. Restore TWL4030_PWRBUTTON, and make it built-in (in readiness for plymouth)
 4. Drop HSI patch. To be replaced with a better quality patch which will be
    upstreamed
 5. The remainder of changes are from kconfig migrate

 Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8471>
This commit is contained in:
Sicelo A. Mhlongo 2026-05-01 17:58:03 +02:00 committed by The Friendly Meow (merge) Bot
parent 85e89db86a
commit 75141b778c
No known key found for this signature in database
4 changed files with 706 additions and 442 deletions

View file

@ -1,44 +0,0 @@
From 912d41160ee66ae498a06c61ab1ea8ac1341faeb Mon Sep 17 00:00:00 2001
From: "Sicelo A. Mhlongo" <absicsz@gmail.com>
Date: Mon, 13 Mar 2023 22:21:40 +0200
Subject: [PATCH] hsi: ssi_port: force pio path
The SSI modem in Nokia N900 has never worked with DMA mode, but in recent
kernels, it somehow always chooses to use DMA. Force it to use the working and
tested PIO path.
---
drivers/hsi/controllers/omap_ssi_port.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c
index b9495b720f1b..3adbe75f85cc 100644
--- a/drivers/hsi/controllers/omap_ssi_port.c
+++ b/drivers/hsi/controllers/omap_ssi_port.c
@@ -320,19 +320,19 @@ static int ssi_start_pio(struct hsi_msg *msg)
static int ssi_start_transfer(struct list_head *queue)
{
struct hsi_msg *msg;
- int lch = -1;
+ /* int lch = -1; */
if (list_empty(queue))
return 0;
msg = list_first_entry(queue, struct hsi_msg, link);
if (msg->status != HSI_STATUS_QUEUED)
return 0;
- if ((msg->sgt.nents) && (msg->sgt.sgl->length > sizeof(u32)))
+ /* if ((msg->sgt.nents) && (msg->sgt.sgl->length > sizeof(u32)))
lch = ssi_claim_lch(msg);
if (lch >= 0)
return ssi_start_dma(msg, lch);
- else
- return ssi_start_pio(msg);
+ else */
+ return ssi_start_pio(msg);
}
static int ssi_async_break(struct hsi_msg *msg)
--
2.39.2

View file

@ -1,27 +0,0 @@
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/ti/omap/omap3-n900.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts
index f9f9eca0c56c..a7b00122fa66 100644
--- a/arch/arm/boot/dts/ti/omap/omap3-n900.dts
+++ b/arch/arm/boot/dts/ti/omap/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

@ -1,7 +1,7 @@
# Kernel config based on: arch/arm/configs/omap2plus_defconfig
maintainer="Mithil Bavishi <bavishimithil@gmail.com>"
pkgname=linux-postmarketos-omap
pkgver=6.19.0
pkgver=7.0.5
pkgrel=0
pkgdesc="Mainline kernel fork for OMAP devices"
arch="armv7"
@ -20,6 +20,7 @@ makedepends="
perl
postmarketos-installkernel
xz
zstd
"
_carch="arm"
_flavor="postmarketos-omap"
@ -48,8 +49,6 @@ source="
0004-arm-dts-Add-espresso10-support.patch
0005-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
0006-iio-rescale-revert-logic.patch
0007-hsi-ssi_port-force-pio-path.patch
0008-n900-dts-volume-keys.patch
0010-arm-dts-Add-barnesnoble-encore-support.patch
0011-panel-Add-lg-ld070ws1-for-barnesnoble-encore.patch
"
@ -74,7 +73,7 @@ package() {
LLVM=1 \
INSTALL_MOD_STRIP=1 \
INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
install -D "$builddir"/include/config/kernel.release \
@ -82,16 +81,14 @@ package() {
}
sha512sums="
01b29c7f4e5bc0c9802794c2cd027fece825f90417be229a71e60eefce530010d5d301749c54ae744e9d4a483518e769e2bb7e6e9209687681ad7fff11c3ed86 linux-6.19.tar.xz
07194748500e39926dcb42c8bd240eff61efa150993c1a664986dc2cf26ba72bea07ad0835b2047825cd64fc452f9e3e5c264a6ebb4b483398d5160da99d6720 config-postmarketos-omap.armv7
8a1c673e5b4f7cedfc7f79d32396d54ec5d8e91c3a3c9919f3f6926f4c74560aa1a522610094f27c39a77d3b6a9c0f833a7302cb1f9582400f3af78515f57eeb linux-7.0.5.tar.xz
efe9f209f570bd939a984cb50d6cd9ee22a2191ed112e7d389d65020df89865f56b08db2999d2fdaef4679c6b6556051f5c89a15a1b7313870893c9fbced558e config-postmarketos-omap.armv7
9a187d93885f07467ec67094621b2d762607d58622e67172bdfcd8ba5f3d6aab900ca5d233efd3d447540f9b906ba950083a35997c84b315801604e1cd5cddc3 0001-Add-TWL6032-dtsi.patch
f7d1a87088c65278a114125e732d5bebebb560a6245afb34e003083d808ef3f8c5f49ff23131953508a6daae111ab6adfffdbcf56b79260a6d4115f859c7bb3a 0002-arm-dts-Add-common-dtsi-for-espresso.patch
089ca0547997c7cd5d1b65924c134eb6b7703a7439729923d3639d125763412fa7e826d1cb839ac0b6cd22e614f69a3b52605a75b571e271c33f9a27ff6ac9c2 0003-arm-dts-Add-espresso7-support.patch
97f6671bd6fa02d095b726793a3ae68a5b94b0a89719006121a6eaf1607c477f74446489a0f62250edc3c193945f571c92196c85ec8043ae18a141ea9adffd51 0004-arm-dts-Add-espresso10-support.patch
a17ddc7a41ce2a6be04a8ee0ffcfb8dbb0381d1ce7fac8336befd79bc388ce5d16b6ba3a4732a540a43add55c43b015a3b77205a007a058d4d6e3291234b5cc0 0005-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
1a68e3a32ae1e56d325c0f759ee66d64d14f46a5d52e75ae008dfddac335beb3aa7acaf62abb95b6d5ce1557f0cf9b4c31ab78e110af178db1ac963bb377dbf0 0006-iio-rescale-revert-logic.patch
c3af9715b3559c2d593f4fcfa078730722c7deeec132c5b83e085ff4d9815d85ef349384097c580efe1bbc37c60f42e18ef559f0abccfe236080670e4403fa77 0007-hsi-ssi_port-force-pio-path.patch
b98ce806b3d5a0122086e4c9670639174470ff6d29851c60258cc5d699ce9a479dbf4996b24299fc075d25e9fe8f6b1250fafdff742deea0ddeaf53d342a9d72 0008-n900-dts-volume-keys.patch
2626cdd833bfbee5e714e224953533f02a7d1faba0d7c9b968ab728a28d70ebfb3a9ed46aab30e3784165c6eeeff3f26b482e188af5bc5c15de5c970d262c188 0010-arm-dts-Add-barnesnoble-encore-support.patch
f03770e3c2f4c2876b31750f194646bbbe43b60fc7489ee9c54d1f6b36d72da4d2894b86dc47c1c9bf7676ef0c5d1788fa4f8c4d0f8eff1dd4e75d1ce4b9dfc8 0011-panel-Add-lg-ld070ws1-for-barnesnoble-encore.patch
"