From e40e525ee79d1ef79df9a79947ef12e4a9f357c9 Mon Sep 17 00:00:00 2001 From: Anton Bambura Date: Sat, 24 Feb 2024 15:25:58 +0200 Subject: [PATCH] linux-postmarketos-mediatek-mt81xx: fix nvme on tomato-r1 (MR 4856) [ci:skip-build]: already built successfully in CI --- .../linux-postmarketos-mediatek-mt81xx/APKBUILD | 4 +++- .../mt8195-tomato-r1-nvme-fix.patch | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 device/testing/linux-postmarketos-mediatek-mt81xx/mt8195-tomato-r1-nvme-fix.patch diff --git a/device/testing/linux-postmarketos-mediatek-mt81xx/APKBUILD b/device/testing/linux-postmarketos-mediatek-mt81xx/APKBUILD index c698a48c0..c9ece3aeb 100644 --- a/device/testing/linux-postmarketos-mediatek-mt81xx/APKBUILD +++ b/device/testing/linux-postmarketos-mediatek-mt81xx/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Jenneron pkgname=linux-postmarketos-mediatek-mt81xx pkgver=6.8_rc2_git20240206 -pkgrel=0 +pkgrel=1 pkgdesc="Mediatek MT8186/8192/8195 kernel package" arch="aarch64" url="https://kernel.org" @@ -36,6 +36,7 @@ _commit="6533e11145e397a80ed22a969a5db818cf041524" source=" $pkgname-$_commit.tar.gz::https://gitlab.collabora.com/google/$_repository/-/archive/$_commit/chromeos-kernel-$_commit.tar.gz $_config + mt8195-tomato-r1-nvme-fix.patch " builddir="$srcdir/$_repository-$_commit" @@ -69,4 +70,5 @@ package() { sha512sums=" 9ce29b88cbec06c9449ca164a216ff242d74971ded033372f713b5bf4b598b30c9b26e9c2542cd803a5b545c7fe0f205d8d3c007333dcf1233a77afa70473990 linux-postmarketos-mediatek-mt81xx-6533e11145e397a80ed22a969a5db818cf041524.tar.gz 57eb3551ea9f8f9493ee61c9f516059dfd5a643ef545781f663883490edeb2c1bbb352c20687f898495ed113fa736398512cf0eff1eb0adca441b0406a6414c2 config-postmarketos-mediatek-mt81xx.aarch64 +9811beaabf4c16547d6bbc53cd4ab2d202ddd360a6e036553ae9d12aeec5aa9c7f429cad41f907de6883ac437bb10d764a58900b453cbdba49fd075adaa3a976 mt8195-tomato-r1-nvme-fix.patch " diff --git a/device/testing/linux-postmarketos-mediatek-mt81xx/mt8195-tomato-r1-nvme-fix.patch b/device/testing/linux-postmarketos-mediatek-mt81xx/mt8195-tomato-r1-nvme-fix.patch new file mode 100644 index 000000000..9f7d74fd3 --- /dev/null +++ b/device/testing/linux-postmarketos-mediatek-mt81xx/mt8195-tomato-r1-nvme-fix.patch @@ -0,0 +1,15 @@ +diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts +index 11fc83ddf..adcb3deba 100644 +--- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts ++++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts +@@ -27,6 +27,10 @@ &pcie0 { + pinctrl-0 = <&pcie0_pins_default>; + }; + ++&pciephy { ++ status = "okay"; ++}; ++ + &ts_10 { + status = "okay"; + };