diff options
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31ads.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/pcm037.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/qong.c | 28 |
4 files changed, 8 insertions, 30 deletions
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig index d6235583e979..194b8428bba4 100644 --- a/arch/arm/mach-mx3/Kconfig +++ b/arch/arm/mach-mx3/Kconfig | |||
@@ -19,6 +19,8 @@ config MACH_MX31ADS | |||
19 | config MACH_MX31ADS_WM1133_EV1 | 19 | config MACH_MX31ADS_WM1133_EV1 |
20 | bool "Support Wolfson Microelectronics 1133-EV1 module" | 20 | bool "Support Wolfson Microelectronics 1133-EV1 module" |
21 | depends on MACH_MX31ADS | 21 | depends on MACH_MX31ADS |
22 | depends on MFD_WM8350_I2C | ||
23 | depends on REGULATOR_WM8350 | ||
22 | select MFD_WM8350_CONFIG_MODE_0 | 24 | select MFD_WM8350_CONFIG_MODE_0 |
23 | select MFD_WM8352_CONFIG_MODE_0 | 25 | select MFD_WM8352_CONFIG_MODE_0 |
24 | help | 26 | help |
diff --git a/arch/arm/mach-mx3/mx31ads.c b/arch/arm/mach-mx3/mx31ads.c index 83e5e8e1276f..a6d6efefa6aa 100644 --- a/arch/arm/mach-mx3/mx31ads.c +++ b/arch/arm/mach-mx3/mx31ads.c | |||
@@ -102,7 +102,7 @@ static struct imxuart_platform_data uart_pdata = { | |||
102 | .flags = IMXUART_HAVE_RTSCTS, | 102 | .flags = IMXUART_HAVE_RTSCTS, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static int uart_pins[] = { | 105 | static unsigned int uart_pins[] = { |
106 | MX31_PIN_CTS1__CTS1, | 106 | MX31_PIN_CTS1__CTS1, |
107 | MX31_PIN_RTS1__RTS1, | 107 | MX31_PIN_RTS1__RTS1, |
108 | MX31_PIN_TXD1__TXD1, | 108 | MX31_PIN_TXD1__TXD1, |
@@ -452,6 +452,8 @@ static int mx31_wm8350_init(struct wm8350 *wm8350) | |||
452 | 452 | ||
453 | wm8350->codec.platform_data = &imx32ads_wm8350_setup; | 453 | wm8350->codec.platform_data = &imx32ads_wm8350_setup; |
454 | 454 | ||
455 | regulator_has_full_constraints(); | ||
456 | |||
455 | return 0; | 457 | return 0; |
456 | } | 458 | } |
457 | 459 | ||
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c index c3648eff5137..b5227d837b2f 100644 --- a/arch/arm/mach-mx3/pcm037.c +++ b/arch/arm/mach-mx3/pcm037.c | |||
@@ -226,10 +226,10 @@ static void __init mxc_board_init(void) | |||
226 | mxc_iomux_setup_pin(MX31_PIN_BATT_LINE__OWIRE, "batt-0wire"); | 226 | mxc_iomux_setup_pin(MX31_PIN_BATT_LINE__OWIRE, "batt-0wire"); |
227 | mxc_register_device(&mxc_w1_master_device, NULL); | 227 | mxc_register_device(&mxc_w1_master_device, NULL); |
228 | 228 | ||
229 | /* SMSC9215 IRQ pin */ | 229 | /* LAN9217 IRQ pin */ |
230 | if (!mxc_iomux_setup_pin(IOMUX_MODE(MX31_PIN_GPIO3_1, IOMUX_CONFIG_GPIO), | 230 | if (!mxc_iomux_setup_pin(IOMUX_MODE(MX31_PIN_GPIO3_1, IOMUX_CONFIG_GPIO), |
231 | "pcm037-eth")) | 231 | "pcm037-eth")) |
232 | gpio_direction_input(MX31_PIN_GPIO3_1); | 232 | gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); |
233 | 233 | ||
234 | #ifdef CONFIG_I2C_IMX | 234 | #ifdef CONFIG_I2C_IMX |
235 | i2c_register_board_info(1, pcm037_i2c_devices, | 235 | i2c_register_board_info(1, pcm037_i2c_devices, |
diff --git a/arch/arm/mach-mx3/qong.c b/arch/arm/mach-mx3/qong.c index 6c4283cec6f4..5a01e48fd8f1 100644 --- a/arch/arm/mach-mx3/qong.c +++ b/arch/arm/mach-mx3/qong.c | |||
@@ -251,32 +251,6 @@ static void __init qong_init_fpga(void) | |||
251 | } | 251 | } |
252 | 252 | ||
253 | /* | 253 | /* |
254 | * This structure defines the MX31 memory map. | ||
255 | */ | ||
256 | static struct map_desc qong_io_desc[] __initdata = { | ||
257 | { | ||
258 | .virtual = AIPS1_BASE_ADDR_VIRT, | ||
259 | .pfn = __phys_to_pfn(AIPS1_BASE_ADDR), | ||
260 | .length = AIPS1_SIZE, | ||
261 | .type = MT_DEVICE_NONSHARED | ||
262 | }, { | ||
263 | .virtual = AIPS2_BASE_ADDR_VIRT, | ||
264 | .pfn = __phys_to_pfn(AIPS2_BASE_ADDR), | ||
265 | .length = AIPS2_SIZE, | ||
266 | .type = MT_DEVICE_NONSHARED | ||
267 | } | ||
268 | }; | ||
269 | |||
270 | /* | ||
271 | * Set up static virtual mappings. | ||
272 | */ | ||
273 | static void __init qong_map_io(void) | ||
274 | { | ||
275 | mxc_map_io(); | ||
276 | iotable_init(qong_io_desc, ARRAY_SIZE(qong_io_desc)); | ||
277 | } | ||
278 | |||
279 | /* | ||
280 | * Board specific initialization. | 254 | * Board specific initialization. |
281 | */ | 255 | */ |
282 | static void __init mxc_board_init(void) | 256 | static void __init mxc_board_init(void) |
@@ -305,7 +279,7 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") | |||
305 | .phys_io = AIPS1_BASE_ADDR, | 279 | .phys_io = AIPS1_BASE_ADDR, |
306 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 280 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
307 | .boot_params = PHYS_OFFSET + 0x100, | 281 | .boot_params = PHYS_OFFSET + 0x100, |
308 | .map_io = qong_map_io, | 282 | .map_io = mxc_map_io, |
309 | .init_irq = mxc_init_irq, | 283 | .init_irq = mxc_init_irq, |
310 | .init_machine = mxc_board_init, | 284 | .init_machine = mxc_board_init, |
311 | .timer = &qong_timer, | 285 | .timer = &qong_timer, |