Re: [PATCH] arm64: dts: imx8mp-dhcom-pdk3: Use symbolic macro for IOMUXC_SAI2_TXC__GPIO4_IO25
From: Marek Vasut
Date: Fri Mar 13 2026 - 12:49:04 EST
On 3/9/26 7:15 PM, Eduard Bostina wrote:
Currently, in order to configure IOMUXC_SAI2_TXC__GPIO4_IO25 a magicIsn't the SION bit at the same bit offset at least since iMX5x ? Maybe the MX8MP_* prefix isn't necessary ?
raw value is written in this register. This makes the code not obvious
to read and modify.
Use the MX8MP_SION symbolic macro instead of the magic value to improve
code readability.
Signed-off-by: Eduard Bostina <egbostina@xxxxxxxxx>
---
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
index ef012e8365b1f..6ad824a7e07e0 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
@@ -345,7 +345,7 @@ &pinctrl_dhcom_l
pinctrl_ptn5150: ptn5150grp {
fsl,pins = <
- MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x40000000
+ MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 MX8MP_SION