pmaports/device/main/linux-purism-librem5/0002-arm64-dts-imx8mq-librem5.dtsi-adjust-the-usdhc-bus-s.patch
Clayton Craft 2cd1f8d5c5
linux-purism-librem5: upgrade to 5.12.2 (MR 2157)
Upstream changelog:
ca736e844a

Patches rebased, and includes some new fixes:

arm64-dts-imx8mq-librem5.dtsi-adjust-the-usdhc-bus-s.patch

- Being tested by Purism as well, has shown some promise improving GPS
  reliability

arm64-dts-imx8mq-disable-SuperSpeed-instances-in-par.patch

- Fixes issue with modem disappearing
2021-05-14 11:04:03 +02:00

37 lines
1.2 KiB
Diff

From 227faf14f8caabd3859f319bc686c9b04c752060 Mon Sep 17 00:00:00 2001
From: Angus Ainslie <angus@akkea.ca>
Date: Sun, 25 Apr 2021 07:49:49 -0700
Subject: [PATCH] arm64: dts: imx8mq-librem5.dtsi: adjust the usdhc bus speeds
Limit the usdhc2 bus speed
Match usdhc1 and usdhs2 bus clocks
Signed-off-by: Angus Ainslie <angus@akkea.ca>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 23a853099b8d..1dd25f26b089 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -1721,7 +1721,7 @@ mass-storage@1 {
&usdhc1 {
assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
- assigned-clock-rates = <400000000>;
+ assigned-clock-rates = <200000000>;
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc1>;
pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
@@ -1748,6 +1748,7 @@ &usdhc2 {
cap-sdio-irq;
keep-power-in-suspend;
wakeup-source;
+ max-frequency = <50000000>;
status = "okay";
};
--
2.31.1