1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
mobile-nixos/devices/asus-dumo/kernel/0001-gru-Force-hs200-for-eMMC.patch
Samuel Dionne-Riel 7fb0f1846a asus-dumo: kernel 5.3.0 -> 5.5.0
With a less intrusive patch.

I'm thinking that the hs400 values for other gru devices are statistical
outliers, since most rk3399 platform seem to use hs200 for this.
2020-02-03 15:26:24 -05:00

36 lines
1.0 KiB
Diff

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