summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-07-14 14:38:12 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-07-15 08:20:53 +0000
commitacbfe83716e6a045d9290d932eec29a9afb468f1 (patch)
tree2b0073f28f68e01def808be0feb67873a43b8a2f /recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch
parenta254a3106a5f37dc8c3f78cfa2ae38ebd4e054c3 (diff)
linux-toradex: add patches to support sd on old mx8x modules
Older iMX8X modules have the old PMIC deployed that do not support proper 1.8V switching in SD cards. This commit adds patches to revert the no-1-8-v removal. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch b/recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch
new file mode 100644
index 0000000..a618db8
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-4.14-2.3.x/0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch
@@ -0,0 +1,30 @@
+From 28192d0f5db9ddcb93d908965f3fdc668f62c099 Mon Sep 17 00:00:00 2001
+From: Philippe Schenker <philippe.schenker@toradex.com>
+Date: Tue, 14 Jul 2020 14:40:41 +0200
+Subject: [PATCH 2/2] Revert "ARM64: dts: colibri-imx8x: remove no-1-8-v from
+ sd-card node"
+
+This reverts commit b4d382b9ea4904bd6bd54d72c5bd417db69d6018.
+---
+ arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi
+index 20ddd1429971d..ed5293f23b523 100644
+--- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi
++++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi
+@@ -1283,6 +1283,11 @@
+ pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
+ pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>;
+ disable-wp;
++ /*
++ * The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates
++ * issues with certain SD cards, disable 1.8V signaling for now.
++ */
++ no-1-8-v;
+ vmmc-supply = <&reg_module_3v3>;
+ };
+
+--
+2.27.0
+