aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-10-22 16:58:19 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-25 01:29:45 +0200
commit1c514f05ab49c799224b805c1894a967134add3d (patch)
tree03d5665d22e3db0ddc569a40407f2c00d9d2d868 /target/linux/ipq806x
parenta87b6cda02f04c9fec3a90fbdfeeb9f20f8b0743 (diff)
downloadupstream-1c514f05ab49c799224b805c1894a967134add3d.tar.gz
upstream-1c514f05ab49c799224b805c1894a967134add3d.tar.bz2
upstream-1c514f05ab49c799224b805c1894a967134add3d.zip
ipq806x: 5.15: drop mmc-ddr-1_8v from sdcc1 node
Zyxel NGB6817 is the only router that use mmc for rootfs. Upstream kernel dtsi have mmc-ddr-1_8v enabled for sddc1. This is wrong as mmc on ipq806x is supplied by a fixed 3.3v regulator and can't operate at 1.8v. This cause the sddc1 to malfunction and cause kernel panic. In old 5.15 version this was disabled but it was put in addition to many other changes so it was dropped silently. Restore this patch to fix working condition of such router. Fixes: 88bf652 ("ipq806x: 5.15: replace dtsi patches with upstream version") Fixes: #11000 Tested-by: Hendrik Koerner <koerhen@web.de> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r--target/linux/ipq806x/patches-5.15/131-ARM-dts-qcom-ipq8064-disable-mmc-ddr-1_8v-for-sdcc1.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-5.15/131-ARM-dts-qcom-ipq8064-disable-mmc-ddr-1_8v-for-sdcc1.patch b/target/linux/ipq806x/patches-5.15/131-ARM-dts-qcom-ipq8064-disable-mmc-ddr-1_8v-for-sdcc1.patch
new file mode 100644
index 0000000000..a5a8dd1008
--- /dev/null
+++ b/target/linux/ipq806x/patches-5.15/131-ARM-dts-qcom-ipq8064-disable-mmc-ddr-1_8v-for-sdcc1.patch
@@ -0,0 +1,26 @@
+From f7b300f770683cd063f922e43fa4ad818761c1fb Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth@gmail.com>
+Date: Sat, 22 Oct 2022 16:55:21 +0200
+Subject: [PATCH] ARM: dts: qcom: ipq8064: disable mmc-ddr-1_8v for sdcc1
+
+It was reported non working mmc with this option enabled.
+Both mmc for ipq8064 are supplied by a fixed 3.3v regulator so mmc can't
+be run at 1.8v.
+Disable it to restore correct functionality of this SoC feature.
+
+Tested-by: Hendrik Koerner <koerhen@web.de>
+Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
+---
+ arch/arm/boot/dts/qcom-ipq8064.dtsi | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
+@@ -1529,7 +1529,6 @@
+ non-removable;
+ cap-sd-highspeed;
+ cap-mmc-highspeed;
+- mmc-ddr-1_8v;
+ vmmc-supply = <&vsdcc_fixed>;
+ dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
+ dma-names = "tx", "rx";