From: Maud Spierings via B4 Relay <devnull+maud_spierings.hotmail.com@kernel.org>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Maud Spierings <maud_spierings@hotmail.com>
Subject: [PATCH] ARM: i.MX: Fix the iomux DSE defines for imx8mp
Date: Sun, 19 Oct 2025 06:43:51 +0200 [thread overview]
Message-ID: <20251019-iomux-v1-1-e049726947ce@hotmail.com> (raw)
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>
next reply other threads:[~2025-10-19 4:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-19 4:43 Maud Spierings via B4 Relay [this message]
2025-10-20 8:18 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251019-iomux-v1-1-e049726947ce@hotmail.com \
--to=devnull+maud_spierings.hotmail.com@kernel.org \
--cc=barebox@lists.infradead.org \
--cc=maud_spierings@hotmail.com \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox