Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asus-dumo: kernel 5.3.0 -> 5.5.0 #76

Merged
merged 1 commit into from Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 0 additions & 31 deletions devices/asus-dumo/kernel/0001-HACK-disables-hs400es-codepath.patch

This file was deleted.

35 changes: 35 additions & 0 deletions devices/asus-dumo/kernel/0001-gru-Force-hs200-for-eMMC.patch
@@ -0,0 +1,35 @@
From bc25983bc1efb11656f7b9951de979e1959e8eef Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Fri, 24 Jan 2020 19:17:12 -0500
Subject: [PATCH] gru: Force hs200 for eMMC

hs400, at least on gru-dumo, a gru-scarlet, fails.
---
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
index dd5624975c9b4..1221894c54977 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
@@ -490,16 +490,8 @@ ap_i2c_audio: &i2c8 {
};

&sdhci {
- /*
- * Signal integrity isn't great at 200 MHz and 150 MHz (DDR) gives the
- * same (or nearly the same) performance for all eMMC that are intended
- * to be used.
- */
- assigned-clock-rates = <150000000>;
-
bus-width = <8>;
- mmc-hs400-1_8v;
- mmc-hs400-enhanced-strobe;
+ mmc-hs200-1_8v;
non-removable;
status = "okay";
};
--
2.23.1

8 changes: 4 additions & 4 deletions devices/asus-dumo/kernel/default.nix
Expand Up @@ -6,20 +6,20 @@
}:

(mobile-nixos.kernel-builder {
version = "5.3.0";
version = "5.5.0";
configfile = ./config.aarch64;

hasDTB = true;

src = fetchFromGitHub {
owner = "torvalds";
repo = "linux";
rev = "v5.3";
sha256 = "1iiv8fim1l4n7n7wkq0x4bf84ygrd1i7zaybmsphswsx1cpb5g6j";
rev = "v5.5";
sha256 = "0d35pdi1mjl4rj79da5fr21jhwrx742xf8a45mkx3dlg7cbn4gnk";
};

patches = [
./0001-HACK-disables-hs400es-codepath.patch
./0001-gru-Force-hs200-for-eMMC.patch
];

isModular = false;
Expand Down