* [PATCH] ARM: i.MX: Fix the iomux DSE defines for imx8mp
@ 2025-10-19 4:43 Maud Spierings via B4 Relay
2025-10-20 8:18 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Maud Spierings via B4 Relay @ 2025-10-19 4:43 UTC (permalink / raw)
To: Sascha Hauer, BAREBOX; +Cc: Maud Spierings
From: Maud Spierings <maud_spierings@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@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@hotmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-20 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-19 4:43 [PATCH] ARM: i.MX: Fix the iomux DSE defines for imx8mp Maud Spierings via B4 Relay
2025-10-20 8:18 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox