linux-postmarketos-qcom-sm7150: Fix Tianma panel for xiaomi-surya

Cherry-pick a patch that fixes a typo in the compatible string that
would result in the panel driver not being probed.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7088>
This commit is contained in:
Jens Reidel 2025-09-26 17:55:33 +02:00 committed by The Friendly Merge Bot
parent 8ed134588e
commit 70dc44a865
No known key found for this signature in database
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,26 @@
From 35eb95b24b63c7136e028d43a6c13c542d793c37 Mon Sep 17 00:00:00 2001
From: Jens Reidel <adrian@mainlining.org>
Date: Fri, 26 Sep 2025 17:53:49 +0200
Subject: [PATCH] drm: panel: tianma-nt36672c: Fix compatible typo
Signed-off-by: Jens Reidel <adrian@mainlining.org>
---
drivers/gpu/drm/panel/panel-nt36672c-tianma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-nt36672c-tianma.c b/drivers/gpu/drm/panel/panel-nt36672c-tianma.c
index 958c3f9e9a58..29fc66315c46 100644
--- a/drivers/gpu/drm/panel/panel-nt36672c-tianma.c
+++ b/drivers/gpu/drm/panel/panel-nt36672c-tianma.c
@@ -440,7 +440,7 @@ static void nt36672c_tianma_remove(struct mipi_dsi_device *dsi)
}
static const struct of_device_id nt36672c_tianma_of_match[] = {
- { .compatible = "tianma,n36672c" }, // FIXME
+ { .compatible = "tianma,nt36672c" }, // FIXME
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, nt36672c_tianma_of_match);
--
2.51.0

View file

@ -5,7 +5,7 @@
_flavor="postmarketos-qcom-sm7150"
pkgname=linux-$_flavor
pkgver=6.17.0_rc7
pkgrel=0
pkgrel=1
pkgdesc="Mainline Kernel fork for SM7150 devices"
arch="aarch64"
_carch="arm64"
@ -23,6 +23,7 @@ _tag="$pkgver"
source="
$pkgname-v$_tag.tar.gz::$url/archive/v$_tag.tar.gz
config-$_flavor.$arch
0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch
"
builddir="$srcdir/linux-$_tag"
@ -69,4 +70,5 @@ package() {
sha512sums="
3d920797ca8542c3a8004e430aa6efcabf5d38373af2b229ee981c6b693fda45c173df5d8e08a18b23661ac85e39171ae7fe6e15ce2835f8208c236e4ed82ed3 linux-postmarketos-qcom-sm7150-v6.17.0_rc7.tar.gz
84553d7ca57964ae730595f662ff8eeadfde9d09b9b724947eed2a894285bfa5d675be46f70ce9f9aa296f85f539f7a7cf7d7a781d5030723ffb27a878656dfe config-postmarketos-qcom-sm7150.aarch64
bdc2f65e5bf2a3f718118791fece0aa8f35c555c35da470279ca531ee9100b6f289f3b8b53afcdaef17deff8a58822050d9a3d1b77e877fc160daa519b7adbd3 0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch
"