From 70dc44a865367d45f87d2083307f4ae227cddd90 Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Fri, 26 Sep 2025 17:55:33 +0200 Subject: [PATCH] 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 Part-of: --- ...-tianma-nt36672c-Fix-compatible-typo.patch | 26 +++++++++++++++++++ .../linux-postmarketos-qcom-sm7150/APKBUILD | 4 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 device/community/linux-postmarketos-qcom-sm7150/0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch diff --git a/device/community/linux-postmarketos-qcom-sm7150/0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch b/device/community/linux-postmarketos-qcom-sm7150/0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch new file mode 100644 index 000000000..3ca7a09e8 --- /dev/null +++ b/device/community/linux-postmarketos-qcom-sm7150/0001-drm-panel-tianma-nt36672c-Fix-compatible-typo.patch @@ -0,0 +1,26 @@ +From 35eb95b24b63c7136e028d43a6c13c542d793c37 Mon Sep 17 00:00:00 2001 +From: Jens Reidel +Date: Fri, 26 Sep 2025 17:53:49 +0200 +Subject: [PATCH] drm: panel: tianma-nt36672c: Fix compatible typo + +Signed-off-by: Jens Reidel +--- + 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 + diff --git a/device/community/linux-postmarketos-qcom-sm7150/APKBUILD b/device/community/linux-postmarketos-qcom-sm7150/APKBUILD index f8cbd6cb7..0c4805b4f 100644 --- a/device/community/linux-postmarketos-qcom-sm7150/APKBUILD +++ b/device/community/linux-postmarketos-qcom-sm7150/APKBUILD @@ -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 "