linux-samsung-coreprimevelte: Fix touchscreen

Add a patch increasing the touchscreen voltage to fix some
newly-discovered touchscreen issues.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7577>
This commit is contained in:
Duje Mihanović 2025-12-15 20:24:51 +01:00 committed by The Friendly Merge Bot
parent 9e07e317fb
commit 93cc790a9d
No known key found for this signature in database
2 changed files with 38 additions and 1 deletions

View file

@ -3,7 +3,7 @@
_flavor=samsung-coreprimevelte
pkgname=linux-$_flavor
pkgver=6.15.8
pkgrel=1
pkgrel=2
pkgdesc="Samsung Galaxy Core Prime VE LTE mainline kernel"
arch="aarch64"
_carch="arm64"
@ -51,6 +51,7 @@ source="
0014-arm64-dts-samsung-coreprimevelte-add-vibrator.patch
0015-DONOTMERGE-mmc-host-Disable-Tuning-failed-message.patch
0016-mmc-sdhci-pxav3-add-pinctrl-setting.patch
touchscreen.patch
clang21.patch
@ -100,6 +101,7 @@ c92dc23c0db6ad1b8bbb02a49467f9a03acf77885374b519842a238b8cefb4156a90cc654fb45dca
ae16b59770cd76ab1777ef56a4888a073822a97ab6dbb5f18b3da7e3889c3b982c4b01930652cb68fae2082b566e1b5aacd1b81e536db71d58e7603e9cf04886 0014-arm64-dts-samsung-coreprimevelte-add-vibrator.patch
5b3e3ba9b7ce6501bcd3b94c1e804e05ed5dbaa328c89b40f8cf466002efff704dd7c6d451cc336edf4cdac30489c416d08b13792344c3635c055a6a8b2ddcc6 0015-DONOTMERGE-mmc-host-Disable-Tuning-failed-message.patch
782644892ae1237141431169ad3dcb5c1afad3461f8984909792fc5db9f0059403aba3a77b84867fbbffed541cccea4005169f1fe7cf38a5d81d6dab782f810b 0016-mmc-sdhci-pxav3-add-pinctrl-setting.patch
ea754a553d5cd53d0056c72474b91ddc863960a8e3481609462e64b1bba202dd52f20310ce411973ce4965e6f07f955f0e4256c6511088ab79bdd63539750ad6 touchscreen.patch
7db49d195e8034aca257d8d0673cfef2b9c2ce833332c9bae46274ef5d345da5af6fee46a3f3466a75e1771c4815794a87c8190aaccecdcd7c35195362234178 clang21.patch
f3a1645e02edd45cd3465db395c3cd659549fd961317a3e75f46e8c863151a76781ac013bf809e2b8008bb39d27fcbf50e26eb42c27de79a5994e839d1ed95a8 config-samsung-coreprimevelte.aarch64
"

View file

@ -0,0 +1,35 @@
From 17d3495e47c0dcb33c47ad54379421b62d34fb84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= <duje@dujemihanovic.xyz>
Date: Sun, 14 Dec 2025 13:13:11 +0100
Subject: [PATCH 09/13] arm64: dts: marvell: samsung-coreprimevelte: Increase
touchscreen voltage
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The old 1.9V setting was found to be insufficient in certain
environments (in my case cold ones), causing the touchscreen to register
ghost touches and mostly ignore actual touches. Increase the voltage to
2.5V to correct the issue.
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
.../boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
index faeea5001364..fd16760f1072 100644
--- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
+++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
@@ -461,7 +461,7 @@ pmic@30 {
regulators {
ldo2: ldo2 {
- regulator-min-microvolt = <1900000>;
+ regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <3100000>;
};
--
2.52.0