diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-07-02 17:18:19 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-02 17:18:19 -0400 |
commit | fdc0867884ec0fc78091e28efa1d439affb5eb20 (patch) | |
tree | 498e8cf99f3675f554a70f0fbfc66a86d90fbb5c /arch/arm/mach-imx/mach-cpuimx35.c | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) | |
parent | 8842a9e2869cae14bbb8184004a42fc3070587fb (diff) |
Merge branch 'imx/sparse-irq' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/irq
From Shawn Guo <shawn.guo@linaro.org>, this makes it possible to use
sparse irqs with mach-imx.
* 'imx/sparse-irq' of git://git.linaro.org/people/shawnguo/linux-2.6:
ARM: imx: enable SPARSE_IRQ for imx platform
ARM: fiq: change FIQ_START to a variable
tty: serial: imx: remove the use of MXC_INTERNAL_IRQS
ARM: imx: remove unneeded mach/irq.h inclusion
i2c: imx: remove unneeded mach/irqs.h inclusion
ARM: imx: add a legacy irqdomain for mx31ads
ARM: imx: add a legacy irqdomain for 3ds_debugboard
ARM: imx: pass gpio than irq number into mxc_expio_init
ARM: imx: leave irq_base of wm8350_platform_data uninitialized
dma: ipu: remove the use of ipu_platform_data
ARM: imx: move irq_domain_add_legacy call into avic driver
ARM: imx: move irq_domain_add_legacy call into tzic driver
gpio/mxc: move irq_domain_add_legacy call into gpio driver
ARM: imx: eliminate macro IRQ_GPIOx()
ARM: imx: eliminate macro IOMUX_TO_IRQ()
ARM: imx: eliminate macro IMX_GPIO_TO_IRQ()
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-cpuimx35.c')
-rw-r--r-- | arch/arm/mach-imx/mach-cpuimx35.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx35.c b/arch/arm/mach-imx/mach-cpuimx35.c index 6450303f1a7a..3cd4523613d9 100644 --- a/arch/arm/mach-imx/mach-cpuimx35.c +++ b/arch/arm/mach-imx/mach-cpuimx35.c | |||
@@ -71,7 +71,7 @@ static struct i2c_board_info eukrea_cpuimx35_i2c_devices[] = { | |||
71 | }, { | 71 | }, { |
72 | I2C_BOARD_INFO("tsc2007", 0x48), | 72 | I2C_BOARD_INFO("tsc2007", 0x48), |
73 | .platform_data = &tsc2007_info, | 73 | .platform_data = &tsc2007_info, |
74 | .irq = IMX_GPIO_TO_IRQ(TSC2007_IRQGPIO), | 74 | /* irq number is run-time assigned */ |
75 | }, | 75 | }, |
76 | }; | 76 | }; |
77 | 77 | ||
@@ -172,6 +172,7 @@ static void __init eukrea_cpuimx35_init(void) | |||
172 | imx35_add_imx_uart0(&uart_pdata); | 172 | imx35_add_imx_uart0(&uart_pdata); |
173 | imx35_add_mxc_nand(&eukrea_cpuimx35_nand_board_info); | 173 | imx35_add_mxc_nand(&eukrea_cpuimx35_nand_board_info); |
174 | 174 | ||
175 | eukrea_cpuimx35_i2c_devices[1].irq = gpio_to_irq(TSC2007_IRQGPIO); | ||
175 | i2c_register_board_info(0, eukrea_cpuimx35_i2c_devices, | 176 | i2c_register_board_info(0, eukrea_cpuimx35_i2c_devices, |
176 | ARRAY_SIZE(eukrea_cpuimx35_i2c_devices)); | 177 | ARRAY_SIZE(eukrea_cpuimx35_i2c_devices)); |
177 | imx35_add_imx_i2c0(&eukrea_cpuimx35_i2c0_data); | 178 | imx35_add_imx_i2c0(&eukrea_cpuimx35_i2c0_data); |