mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 10:32:35 +00:00
3645f0cd96
The I.MX platform is getting converted to use sparse IRQs. We are doing this for all platforms over time, because this is one of the requirements for building a multiplatform kernel, and generally a good idea. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUAUA2dgGCrR//JCVInAQJOJRAA4xWh3CUqpuJ13yk2tOBcGU9+orer93fP U3DAG6jJ75blQzfA9wBoWPjqFhJo76ZtLFA9comkGI4vH8nTNNbXr1ZNt2/PjOGS PqZIYJk/f5QqOzCd10V5bK4EVFR/mjvQ8sBP8qfaHII0GVPomfa8jnXnFnLFjreX hhucTCf4z2HBvIjfOiilPtJbFpdrQ9oquM4W4Go1lrMZMU8B+Z3ClqytoxYW2Bw3 uQ0EzFlAwaXZ1CMcDn4eQJxNt8dO4SbGI7AHd3HmW3tFaaJC9dpey/7pIoW3gyz8 2e3wrdHXCAYq3sUlwzIrROCcBfW502E+KUmDi8ePT7zgZmxAmrqRCTNEqwaaGYrS Q/mk+Kpnjvtl6w21ss1LxNHP18TNL/f8isYW9vUQG8yogWlVin6NhPvNQXDDBWoD lfAyeL5JSoVxVGxft8EhLI/inPKBnWe2heE+zrRGQzUhTuUSyspmwK6o3b7JYNTX 16fY6OhW90CaZm6r1yKZsiE96Dd63oL4OVFELsgPQdsBNdWeKmOjs6fq46Bp0Hdf SAQ543yabPkDr4ZanaNqo0s3Vu2xVnvBS4FR0gbx6+LGuagkmBpSkYnlhgNJBbdK 6D5GCRoX0ayzJvg29kKzek2h8NhGtDco4dr7K5Hl9NebeZ++CjZ7xTbFQN6olt+D 8CcIdD2J0PY= =Y2Sm -----END PGP SIGNATURE----- Merge tag 'irq' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull arm-soc sparse IRQ conversion from Arnd Bergmann: "The I.MX platform is getting converted to use sparse IRQs. We are doing this for all platforms over time, because this is one of the requirements for building a multiplatform kernel, and generally a good idea." * tag 'irq' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM: imx: select USE_OF ARM: imx: Fix build error due to missing irqs.h include 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()
92 lines
3.5 KiB
C
92 lines
3.5 KiB
C
/*
|
|
* Copyright (C) 2010 Pengutronix
|
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it under
|
|
* the terms of the GNU General Public License version 2 as published by the
|
|
* Free Software Foundation.
|
|
*/
|
|
#include <mach/mx35.h>
|
|
#include <mach/devices-common.h>
|
|
|
|
extern const struct imx_fec_data imx35_fec_data;
|
|
#define imx35_add_fec(pdata) \
|
|
imx_add_fec(&imx35_fec_data, pdata)
|
|
|
|
extern const struct imx_fsl_usb2_udc_data imx35_fsl_usb2_udc_data;
|
|
#define imx35_add_fsl_usb2_udc(pdata) \
|
|
imx_add_fsl_usb2_udc(&imx35_fsl_usb2_udc_data, pdata)
|
|
|
|
extern const struct imx_flexcan_data imx35_flexcan_data[];
|
|
#define imx35_add_flexcan(id, pdata) \
|
|
imx_add_flexcan(&imx35_flexcan_data[id], pdata)
|
|
#define imx35_add_flexcan0(pdata) imx35_add_flexcan(0, pdata)
|
|
#define imx35_add_flexcan1(pdata) imx35_add_flexcan(1, pdata)
|
|
|
|
extern const struct imx_imx2_wdt_data imx35_imx2_wdt_data;
|
|
#define imx35_add_imx2_wdt() \
|
|
imx_add_imx2_wdt(&imx35_imx2_wdt_data)
|
|
|
|
extern const struct imx_imx_i2c_data imx35_imx_i2c_data[];
|
|
#define imx35_add_imx_i2c(id, pdata) \
|
|
imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata)
|
|
#define imx35_add_imx_i2c0(pdata) imx35_add_imx_i2c(0, pdata)
|
|
#define imx35_add_imx_i2c1(pdata) imx35_add_imx_i2c(1, pdata)
|
|
#define imx35_add_imx_i2c2(pdata) imx35_add_imx_i2c(2, pdata)
|
|
|
|
extern const struct imx_imx_keypad_data imx35_imx_keypad_data;
|
|
#define imx35_add_imx_keypad(pdata) \
|
|
imx_add_imx_keypad(&imx35_imx_keypad_data, pdata)
|
|
|
|
extern const struct imx_imx_ssi_data imx35_imx_ssi_data[];
|
|
#define imx35_add_imx_ssi(id, pdata) \
|
|
imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata)
|
|
|
|
extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[];
|
|
#define imx35_add_imx_uart(id, pdata) \
|
|
imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata)
|
|
#define imx35_add_imx_uart0(pdata) imx35_add_imx_uart(0, pdata)
|
|
#define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata)
|
|
#define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata)
|
|
|
|
extern const struct imx_ipu_core_data imx35_ipu_core_data;
|
|
#define imx35_add_ipu_core() \
|
|
imx_add_ipu_core(&imx35_ipu_core_data)
|
|
#define imx35_alloc_mx3_camera(pdata) \
|
|
imx_alloc_mx3_camera(&imx35_ipu_core_data, pdata)
|
|
#define imx35_add_mx3_sdc_fb(pdata) \
|
|
imx_add_mx3_sdc_fb(&imx35_ipu_core_data, pdata)
|
|
|
|
extern const struct imx_mxc_ehci_data imx35_mxc_ehci_otg_data;
|
|
#define imx35_add_mxc_ehci_otg(pdata) \
|
|
imx_add_mxc_ehci(&imx35_mxc_ehci_otg_data, pdata)
|
|
extern const struct imx_mxc_ehci_data imx35_mxc_ehci_hs_data;
|
|
#define imx35_add_mxc_ehci_hs(pdata) \
|
|
imx_add_mxc_ehci(&imx35_mxc_ehci_hs_data, pdata)
|
|
|
|
extern const struct imx_mxc_nand_data imx35_mxc_nand_data;
|
|
#define imx35_add_mxc_nand(pdata) \
|
|
imx_add_mxc_nand(&imx35_mxc_nand_data, pdata)
|
|
|
|
extern const struct imx_mxc_rtc_data imx35_mxc_rtc_data;
|
|
#define imx35_add_mxc_rtc() \
|
|
imx_add_mxc_rtc(&imx35_mxc_rtc_data)
|
|
|
|
extern const struct imx_mxc_w1_data imx35_mxc_w1_data;
|
|
#define imx35_add_mxc_w1() \
|
|
imx_add_mxc_w1(&imx35_mxc_w1_data)
|
|
|
|
extern const struct imx_sdhci_esdhc_imx_data imx35_sdhci_esdhc_imx_data[];
|
|
#define imx35_add_sdhci_esdhc_imx(id, pdata) \
|
|
imx_add_sdhci_esdhc_imx(&imx35_sdhci_esdhc_imx_data[id], pdata)
|
|
|
|
extern const struct imx_spi_imx_data imx35_cspi_data[];
|
|
#define imx35_add_cspi(id, pdata) \
|
|
imx_add_spi_imx(&imx35_cspi_data[id], pdata)
|
|
#define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata)
|
|
#define imx35_add_spi_imx1(pdata) imx35_add_cspi(1, pdata)
|
|
|
|
extern const struct imx_pata_imx_data imx35_pata_imx_data;
|
|
#define imx35_add_pata_imx() \
|
|
imx_add_pata_imx(&imx35_pata_imx_data)
|