[PATCH] ARM: i.MX: Fix the iomux DSE defines for imx8mp
Maud Spierings via B4 Relay
devnull+maud_spierings.hotmail.com at kernel.org
Sat Oct 18 21:43:51 PDT 2025
From: Maud Spierings <maud_spierings at hotmail.com>
The DSE field has a deceptive layout, DSE 2 is a higher value than DSE 4
See reference manual 8.2.2.1.3 or the description of any IOMUXC_SW_PAD_X
register in 8.2.4.144+
Fixes: 3c0d42752e9a ("arm: imx: add initial imx8mp support")
Signed-off-by: Maud Spierings <maud_spierings at hotmail.com>
---
include/mach/imx/iomux-mx8mp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/mach/imx/iomux-mx8mp.h b/include/mach/imx/iomux-mx8mp.h
index 98e340d3dad1..da5cfe3048ca 100644
--- a/include/mach/imx/iomux-mx8mp.h
+++ b/include/mach/imx/iomux-mx8mp.h
@@ -1081,8 +1081,8 @@ enum {
};
#define MX8MP_PAD_CTL_DSE1 (0 << 1)
-#define MX8MP_PAD_CTL_DSE2 (1 << 1)
-#define MX8MP_PAD_CTL_DSE4 (2 << 1)
+#define MX8MP_PAD_CTL_DSE2 (2 << 1)
+#define MX8MP_PAD_CTL_DSE4 (1 << 1)
#define MX8MP_PAD_CTL_DSE6 (3 << 1)
#define MX8MP_PAD_CTL_FSEL BIT(4)
#define MX8MP_PAD_CTL_ODE BIT(5)
---
base-commit: 8defba1d0ab1aef9dd5d57710e18d0d02e2c48e2
change-id: 20251018-iomux-0cbdb3c40e16
Best regards,
--
Maud Spierings <maud_spierings at hotmail.com>
More information about the barebox
mailing list