diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2010-10-26 08:28:31 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 03:56:58 -0500 |
commit | 8f5260c8c1a1f9b25dfedd5ca749e4faef1b3eb9 (patch) | |
tree | 56f3a67b1cf74a670c026ab14cc872cf3accccb8 /arch/arm/mach-imx | |
parent | 2a85927c79634e89b9cd683dd2bae65966d9b216 (diff) |
ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookie
The following patch is a first step to convert the 'struct pad_desc'
to a bitmapped cookie to facilitate adding platform specific pullup or
drive strength definitions to existing pad definitions without need to
rewrite the complete pad def.
The patch wraps 'struct pad_desc' in an opaque data type and
introduces macros to access the individual members.
This patch does not constitute any functional change!
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-eukrea_cpuimx25.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-mx25_3ds.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c index 7cab720519ee..cb705c28de02 100644 --- a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #include "devices-imx25.h" | 38 | #include "devices-imx25.h" |
39 | 39 | ||
40 | static struct pad_desc eukrea_mbimxsd_pads[] = { | 40 | static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = { |
41 | /* LCD */ | 41 | /* LCD */ |
42 | MX25_PAD_LD0__LD0, | 42 | MX25_PAD_LD0__LD0, |
43 | MX25_PAD_LD1__LD1, | 43 | MX25_PAD_LD1__LD1, |
diff --git a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index 67a7d55ad191..eb395aba9237 100644 --- a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
@@ -46,7 +46,7 @@ static const struct imxuart_platform_data uart_pdata __initconst = { | |||
46 | .flags = IMXUART_HAVE_RTSCTS, | 46 | .flags = IMXUART_HAVE_RTSCTS, |
47 | }; | 47 | }; |
48 | 48 | ||
49 | static struct pad_desc eukrea_cpuimx25_pads[] = { | 49 | static iomux_v3_cfg_t eukrea_cpuimx25_pads[] = { |
50 | /* FEC - RMII */ | 50 | /* FEC - RMII */ |
51 | MX25_PAD_FEC_MDC__FEC_MDC, | 51 | MX25_PAD_FEC_MDC__FEC_MDC, |
52 | MX25_PAD_FEC_MDIO__FEC_MDIO, | 52 | MX25_PAD_FEC_MDIO__FEC_MDIO, |
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index 52b4d9b3717d..8b8e75b93000 100644 --- a/arch/arm/mach-imx/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c | |||
@@ -47,7 +47,7 @@ static const struct imxuart_platform_data uart_pdata __initconst = { | |||
47 | .flags = IMXUART_HAVE_RTSCTS, | 47 | .flags = IMXUART_HAVE_RTSCTS, |
48 | }; | 48 | }; |
49 | 49 | ||
50 | static struct pad_desc mx25pdk_pads[] = { | 50 | static iomux_v3_cfg_t mx25pdk_pads[] = { |
51 | MX25_PAD_FEC_MDC__FEC_MDC, | 51 | MX25_PAD_FEC_MDC__FEC_MDC, |
52 | MX25_PAD_FEC_MDIO__FEC_MDIO, | 52 | MX25_PAD_FEC_MDIO__FEC_MDIO, |
53 | MX25_PAD_FEC_TDATA0__FEC_TDATA0, | 53 | MX25_PAD_FEC_TDATA0__FEC_TDATA0, |