linux-postmarketos-mediatek-mt8173: upgrade to 6.4.4 (MR 4264)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Anton Bambura 2023-07-20 05:06:57 +03:00 committed by Oliver Smith
parent 6040a83bc2
commit f112bfc632
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 528 additions and 271 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com> # Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=linux-postmarketos-mediatek-mt8173 pkgname=linux-postmarketos-mediatek-mt8173
pkgver=6.0 pkgver=6.4.4
pkgrel=1 pkgrel=0
pkgdesc="Mainline kernel fork for Mediatek MT8173 devices" pkgdesc="Mainline kernel fork for Mediatek MT8173 devices"
arch="aarch64" arch="aarch64"
_carch="arm64" _carch="arm64"
@ -32,11 +32,13 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.0};; *.*.*) _kernver=${pkgver%.0};;
*.*) _kernver=$pkgver;; *.*) _kernver=$pkgver;;
esac esac
# fix-panel.patch is applied in 6.5-rc1, remove it when upgrading to 6.5+
source=" source="
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver//_/-}.tar.xz https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver//_/-}.tar.xz
$_config $_config
fix-mmc1-speed.patch fix-mmc1-speed.patch
fix-mmc-order.patch fix-mmc-order.patch
fix-panel.patch
fix-spi-nor-max-frequency.patch fix-spi-nor-max-frequency.patch
" "
builddir="$srcdir/linux-${_kernver//_/-}" builddir="$srcdir/linux-${_kernver//_/-}"
@ -67,9 +69,10 @@ package() {
} }
sha512sums=" sha512sums="
bac41a7aeb6e809616cee2f13dcd1c45e829dfd1ccf60aee1dc4c46b1e28532f4485c7d819a32940de84fdfbf89db80a4e919bce8a74b2948c5a01551771b714 linux-6.0.tar.xz 975752237ef7f1e0ed1dd912b9c864aea5003fee406502988105204c61ce867c93fd7e23c720361191641933bf083ff9798b448e1b2c4809338d4a6548fbf942 linux-6.4.4.tar.xz
2c3132dd29d18b1afe5a9a235a4eea48a7748790cddcd42f52150be6aadc82240a867d22e4694fd2b47e0e52743b606423740c2bce2dd0ac9b4817b42aa1ea64 config-postmarketos-mediatek-mt8173.aarch64 77c473944bcf8fb38bbf5f7e98a9609a3fe44781aa27e34ad69dbe5770d6937b8f557776ffe963a378faa669d97a045f467c819d44665393824db79d7797e834 config-postmarketos-mediatek-mt8173.aarch64
4b499c1fbf53631cffd6fa7299643dc744e0e2187f71804664b02f05296162b42e3f76aa0d8c688cecb43a8bcd41ec92991c98287951292260237b828dcca710 fix-mmc1-speed.patch 4b499c1fbf53631cffd6fa7299643dc744e0e2187f71804664b02f05296162b42e3f76aa0d8c688cecb43a8bcd41ec92991c98287951292260237b828dcca710 fix-mmc1-speed.patch
c86f8dfc32165a32381d45a4c8b6811ebf43f01b5d8a48fbe227cf5084cfefe24b32264c1c150cb49115db4759a2d21ad48b37dcaac78367d226e9cc2a5ba849 fix-mmc-order.patch c86f8dfc32165a32381d45a4c8b6811ebf43f01b5d8a48fbe227cf5084cfefe24b32264c1c150cb49115db4759a2d21ad48b37dcaac78367d226e9cc2a5ba849 fix-mmc-order.patch
049351564d3a1e85bc4c06b3d8ccfb0e4f36c77038a759bb1f629e5f74eee998e773a26966adaacb188e104e5771d59ba83c71186c66fcf8887a58aaeae6bc8b fix-panel.patch
caf48ac0f77661153ee94c7de4931baca135a69a97e93f01ad8f276b4a9944e077d7214c117450943cca07990c773661f79718cb0c2ff7c5789c93d37afb26de fix-spi-nor-max-frequency.patch caf48ac0f77661153ee94c7de4931baca135a69a97e93f01ad8f276b4a9944e077d7214c117450943cca07990c773661f79718cb0c2ff7c5789c93d37afb26de fix-spi-nor-max-frequency.patch
" "

View file

@ -0,0 +1,47 @@
Commit: 6322555dbeb46c512d6be42c3829087af4e4db9d
Parent: 7afe7b5969329175ac4f55a6b9c13ba4f6dc267e
Refname: refs/heads/master
Web: https://git.kernel.org/torvalds/c/6322555dbeb46c512d6be42c3829087af4e4db9d
Author: Icenowy Zheng <uwu@icenowy.me>
AuthorDate: Fri May 26 18:08:01 2023 +0800
Committer: Matthias Brugger <matthias.bgg@gmail.com>
CommitDate: Thu Jun 15 13:14:57 2023 +0200
arm64: dts: mediatek: mt8173-elm: remove panel model number in DT
Currently a specific panel number is used in the Elm DTSI, which is
corresponded to a 12" panel. However, according to the official Chrome
OS devices document, Elm refers to Acer Chromebook R13, which, as the
name specifies, uses a 13.3" panel, which comes with EDID information.
As the kernel currently prioritizes the hardcoded timing parameters
matched with the panel number compatible, a wrong timing will be applied
to the 13.3" panel on Acer Chromebook R13, which leads to blank display.
Because the Elm DTSI is shared with Hana board, and Hana corresponds to
multiple devices from 11" to 14", a certain panel model number shouldn't
be present, and driving the panel according to its EDID information is
necessary.
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230526100801.16310-1-uwu@icenowy.me
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index 03d1ab2ca8203..111495622cacd 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -287,7 +287,7 @@
aux-bus {
panel: panel {
- compatible = "lg,lp120up1";
+ compatible = "edp-panel";
power-supply = <&panel_fixed_3v3>;
backlight = <&backlight>;