1
linux/arch/arm/mach-omap2
Linus Torvalds c207f3a431 Generialize powerpc's irq_host as irq_domain
This branch takes the PowerPC irq_host infrastructure (reverse mapping
 from Linux IRQ numbers to hardware irq numbering), generalizes it,
 renames it to irq_domain, and makes it available to all architectures.
 
 Originally the plan has been to create an all-new irq_domain
 implementation which addresses some of the powerpc shortcomings such
 as not handling 1:1 mappings well, but doing that proved to be far
 more difficult and invasive than generalizing the working code and
 refactoring it in-place.  So, this branch rips out the 'new'
 irq_domain and replaces it with the modified powerpc version (in a
 fully bisectable way of course).  It converts all users over to the
 new API and makes irq_domain selectable on any architecture.
 
 No architecture is forced to enable irq_domain, but the infrastructure
 is required for doing OpenFirmware style irq translations.  It will
 even work on SPARC even though SPARC has it's own mechanism for
 translating irqs at boot time.  MIPS, microblaze, embedded x86 and c6x
 are converted too.
 
 The resulting irq_domain code is probably still too verbose and can be
 optimized more, but that can be done incrementally and is a task for
 follow-on patches.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJPZ1yiAAoJEEFnBt12D9kB4yIQAJvCfTPL65sCYVD6i9RnVHtR
 ahwddtd0AtT+UYLU8Xg2fZgVi6cmupDGnqkBixzZD3xxSTERqm7Snqa0ugklfeAi
 B6Zqf/K17H5hJNaoQ3fkNauow8m7ZYOeEH2vVUvkb3woWS9Wm7OGd+BvcIBgYSGe
 Aaoumhu7kDxFkii0qz3x/+kvsb6DRp2HtSPWj+APL/kNjdiO4JBOihtcc/lX6d47
 bsZLiEMzHUFV4ApJNwqmfDnf54oMrHmrRJxgQHIMjeJC5or9I3Do8wDGe/aTF5xO
 5GVpxCQsTlJMjTBWlAFtpTwCJB6y76EHQrHc7WzLlq8OJSsxApOke8M0BzXFrfMy
 CU7UUpTvNZTLpZibLCEQKemv1+oNOkfFylsHxfek2MCqx0W6W4FHEGV3qE/GtgV9
 +vurA9hNNp7VM0FGRGigcUr3woYdHLdEVQrlnL7Z9AgBu1W44MZLaai7iRVZOeCT
 ZQ9++v2PJJ8vHT8kdkgTdiRpnEhmv84MX/GBT7ilWFEMIVeT5zhGkIBojzNgyzGc
 7cvermmM0P8h+unkDgmzmSbDxo0PboqVKeoO71AOBhA6MmR9iom7XkuNdHhoOwy2
 4A5xT1srbhJDbuv15BBREBV24TywpZ4a1+4nwQT4L1fXe+HfCxeEWexGcKQMRcIt
 dAelOHTQ+ZGkOKvXeW05
 =ruGA
 -----END PGP SIGNATURE-----

Merge tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6

Pull irq_domain support for all architectures from Grant Likely:
 "Generialize powerpc's irq_host as irq_domain

  This branch takes the PowerPC irq_host infrastructure (reverse mapping
  from Linux IRQ numbers to hardware irq numbering), generalizes it,
  renames it to irq_domain, and makes it available to all architectures.

  Originally the plan has been to create an all-new irq_domain
  implementation which addresses some of the powerpc shortcomings such
  as not handling 1:1 mappings well, but doing that proved to be far
  more difficult and invasive than generalizing the working code and
  refactoring it in-place.  So, this branch rips out the 'new'
  irq_domain and replaces it with the modified powerpc version (in a
  fully bisectable way of course).  It converts all users over to the
  new API and makes irq_domain selectable on any architecture.

  No architecture is forced to enable irq_domain, but the infrastructure
  is required for doing OpenFirmware style irq translations.  It will
  even work on SPARC even though SPARC has it's own mechanism for
  translating irqs at boot time.  MIPS, microblaze, embedded x86 and c6x
  are converted too.

  The resulting irq_domain code is probably still too verbose and can be
  optimized more, but that can be done incrementally and is a task for
  follow-on patches."

* tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6: (31 commits)
  dt: fix twl4030 for non-dt compile on x86
  mfd: twl-core: Add IRQ_DOMAIN dependency
  devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)
  irq_domain: Centralize definition of irq_dispose_mapping()
  irq_domain/mips: Allow irq_domain on MIPS
  irq_domain/x86: Convert x86 (embedded) to use common irq_domain
  ppc-6xx: fix build failure in flipper-pic.c and hlwd-pic.c
  irq_domain/microblaze: Convert microblaze to use irq_domains
  irq_domain/powerpc: Replace custom xlate functions with library functions
  irq_domain/powerpc: constify irq_domain_ops
  irq_domain/c6x: Use library of xlate functions
  irq_domain/c6x: constify irq_domain structures
  irq_domain/c6x: Convert c6x to use generic irq_domain support.
  irq_domain: constify irq_domain_ops
  irq_domain: Create common xlate functions that device drivers can use
  irq_domain: Remove irq_domain_add_simple()
  irq_domain: Remove 'new' irq_domain in favour of the ppc one
  mfd: twl-core.c: Fix the number of interrupts managed by twl4030
  of/address: add empty static inlines for !CONFIG_OF
  irq_domain: Add support for base irq and hwirq in legacy mappings
  ...
2012-03-21 10:27:19 -07:00
..
include/mach Merge branch 'for_3.3/uart/runtime-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into uart 2011-12-16 14:01:03 -08:00
board-2430sdp.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-3430sdp.c power management changes for omap and imx 2012-01-09 14:39:59 -08:00
board-3630sdp.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-4430sdp.c ARM: omap: resolve nebulous 'Error setting wl12xx data' 2012-02-13 10:00:39 +00:00
board-am3517crane.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-am3517evm.c Merge branch 'samsung/driver' into next/drivers 2012-01-09 16:16:29 +00:00
board-apollon.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-cm-t35.c ARM: OMAP3: cm-t35: fix section mismatch warning 2012-02-07 21:36:32 -08:00
board-cm-t3517.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-devkit8000.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-flash.c
board-flash.h
board-generic.c Generialize powerpc's irq_host as irq_domain 2012-03-21 10:27:19 -07:00
board-h4.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-igep0020.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-ldp.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-n8x0.c ARM: OMAP: Fix build error when mmc_omap is built as module 2012-02-20 10:00:38 -08:00
board-omap3beagle.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-omap3evm.c OMAP3 EVM: remove out-of-bounds array access of gpio_leds 2012-02-21 14:45:33 -08:00
board-omap3logic.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-omap3pandora.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-omap3stalker.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-omap3touchbook.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-omap4panda.c ARM: omap: resolve nebulous 'Error setting wl12xx data' 2012-02-13 10:00:39 +00:00
board-overo.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-rm680.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-rx51-peripherals.c Merge git://git.infradead.org/battery-2.6 2012-01-11 18:53:05 -08:00
board-rx51-video.c
board-rx51.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
board-ti8168evm.c Merge branch 'samsung/cleanup' into next/boards 2012-01-09 17:06:36 +00:00
board-zoom-debugboard.c
board-zoom-display.c
board-zoom-peripherals.c ARM: omap: resolve nebulous 'Error setting wl12xx data' 2012-02-13 10:00:39 +00:00
board-zoom.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
clkt2xxx_apll.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c
clkt34xx_dpll3m2.c
clkt_clksel.c
clkt_dpll.c
clkt_iclk.c
clock2xxx.c
clock2xxx.h
clock3xxx_data.c Driver specific changes 2012-01-09 14:39:22 -08:00
clock3xxx.c
clock3xxx.h
clock34xx.c
clock34xx.h
clock36xx.c
clock36xx.h
clock44xx_data.c Driver specific changes 2012-01-09 14:39:22 -08:00
clock44xx.h
clock2420_data.c
clock2430_data.c
clock2430.c
clock3517.c
clock3517.h
clock_common_data.c
clock.c ARM: OMAP: am33xx: Update common omap platform files 2011-12-13 10:46:43 -08:00
clock.h ARM: OMAP: am33xx: Update common omap platform files 2011-12-13 10:46:43 -08:00
clockdomain2xxx_3xxx.c
clockdomain44xx.c
clockdomain.c
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains44xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm1_44xx.h
cm2_44xx.h
cm2xxx_3xxx.c
cm2xxx_3xxx.h
cm44xx.c
cm44xx.h
cm-regbits-24xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm.h
cminst44xx.c
cminst44xx.h
common-board-devices.c
common-board-devices.h
common.c ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
common.h ARM: OMAP4: Move the barrier memboclk_steal() as part of reserve callback 2012-02-14 11:42:42 -08:00
control.c
control.h ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
cpuidle34xx.c Merge branch 'for_3.3/uart/runtime-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into uart 2011-12-16 14:01:03 -08:00
cpuidle44xx.c ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor. 2012-02-14 10:59:26 -08:00
devices.c ARM: OMAP2+: arch/arm/mach-omap2/devices.c: introduce missing kfree 2012-01-26 16:38:47 -08:00
devices.h
display.c fbdev fixes for 3.3 2012-02-07 15:54:02 -08:00
display.h
dma.c
dpll3xxx.c
dpll44xx.c
dsp.c
emu.c
gpio.c
gpmc-nand.c
gpmc-onenand.c
gpmc-smc91x.c
gpmc-smsc911x.c ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators 2012-02-23 11:28:53 -08:00
gpmc.c ARM: OMAP2+: GPMC: fix device size setup 2012-01-26 15:30:30 -08:00
hsmmc.c ARM: OMAP: Fix kernel panic with HSMMC when twl4030_gpio is a module 2012-02-20 09:43:28 -08:00
hsmmc.h ARM: OMAP: hsmmc: add pm_caps field 2011-12-08 16:26:20 -08:00
hwspinlock.c
i2c.c
id.c ARM: OMAP: id: Add missing break statement in omap3xxx_check_revision 2012-02-29 14:41:35 -08:00
io.c Merge branch 'for_3.3/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes 2012-02-17 15:08:20 -08:00
iommu2.c
irq.c ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
Kconfig Merge branch 'for_3.3/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes 2012-02-17 15:08:20 -08:00
mailbox.c IOMMU fixes for Linux v3.3-rc6 2012-03-09 07:26:25 -08:00
Makefile ARM: OMAP2: Fix the OMAP2 only build break seen with 2011+ ARM tool-chains 2012-02-07 21:33:16 -08:00
Makefile.boot
mcbsp.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2012-01-12 08:00:30 -08:00
mux34xx.c
mux34xx.h
mux44xx.c
mux44xx.h
mux2420.c
mux2420.h
mux2430.c
mux2430.h
mux.c ARM: OMAP: Fix kernel panic with HSMMC when twl4030_gpio is a module 2012-02-20 09:43:28 -08:00
mux.h
omap4-common.c ARM: OMAP2+: Fix module build errors with CONFIG_OMAP4_ERRATA_I688 2012-03-05 14:15:25 -08:00
omap4-sar-layout.h ARM: OMAP4: PM: Add L2X0 cache lowpower support 2011-12-08 11:29:01 -08:00
omap_hwmod_2xxx_3xxx_interconnect_data.c
omap_hwmod_2xxx_3xxx_ipblock_data.c ARM: OMAP2+: hwmod data: split omap2/3 dispc hwmod class 2012-01-25 12:57:33 -07:00
omap_hwmod_2xxx_interconnect_data.c
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: hwmod data: split omap2/3 dispc hwmod class 2012-01-25 12:57:33 -07:00
omap_hwmod_3xxx_data.c ARM: OMAP3: hwmod data: register dss hwmods after dss_core 2012-01-25 14:09:13 -07:00
omap_hwmod_44xx_data.c ARM: OMAP4: hwmod data: Add names for DMIC memory address space 2012-01-25 12:59:51 -07:00
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h
omap_hwmod.c ARM: omap: fix wrapped error messages in omap_hwmod.c 2012-02-13 10:00:39 +00:00
omap_l3_noc.c ARM: OMAP2+: Fix Compilation error when omap_l3_noc built as module 2011-11-23 14:45:37 -08:00
omap_l3_noc.h
omap_l3_smx.c
omap_l3_smx.h
omap_opp_data.h
omap_phy_internal.c ARM: OMAP: musb: Add ti81xx phy power function 2011-12-13 10:50:58 -08:00
omap_twl.c
omap-headsmp.S ARM: omap: fix section mismatch warning for omap_secondary_startup() 2012-02-13 10:00:37 +00:00
omap-hotplug.c ARM: OMAP4: PM: Program CPU1 to hit OFF when off-lined 2011-12-08 11:29:00 -08:00
omap-iommu.c ARM: OMAP: fix iommu, not mailbox 2012-03-05 15:18:20 +01:00
omap-mpuss-lowpower.c ARM: OMAP4: PM: Add power domain statistics support 2011-12-08 11:29:01 -08:00
omap-secure.c ARM: Add arm_memblock_steal() to allocate memory away from the kernel 2012-01-13 15:02:35 +00:00
omap-smc.S ARM: OMAP: Add Secure HAL and monitor mode API infrastructure. 2011-12-08 11:29:00 -08:00
omap-smp.c ARM: OMAP4: PM: CPU1 wakeup workaround from Low power modes 2011-12-08 11:29:00 -08:00
omap-wakeupgen.c ARM: OMAP4: PM: Add WakeupGen and secure GIC low power support 2011-12-08 11:29:01 -08:00
opp2xxx.h ARM: OMAP: am33xx: Update common omap platform files 2011-12-13 10:46:43 -08:00
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
opp.c
pm24xx.c ARM: OMAP2xxx: PM: fix OMAP2xxx-specific UART idle bug in v3.3 2012-02-09 17:46:15 -08:00
pm34xx.c Merge branch 'for_3.3/uart/runtime-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into uart 2011-12-16 14:01:03 -08:00
pm44xx.c ARM: OMAP4: PM: Add CPUidle support 2011-12-08 11:29:01 -08:00
pm-debug.c
pm.c ARM: OMAP: add RCU locking to omap2_set_init_voltage. 2012-02-14 10:55:54 -08:00
pm.h ARM: OMAP4: PM: Add CPUidle support 2011-12-08 11:29:01 -08:00
powerdomain2xxx_3xxx.c
powerdomain44xx.c
powerdomain-common.c
powerdomain.c
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains44xx_data.c
prcm44xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm-common.h power management changes for omap and imx 2012-01-09 14:39:59 -08:00
prcm.c ARM: restart: omap: use new restart hook 2012-01-05 12:57:16 +00:00
prm2xxx_3xxx.c ARM: OMAP2/3: PRM: fix missing plat/irqs.h build breakage 2012-01-25 13:01:56 -07:00
prm2xxx_3xxx.h ARM: OMAP: PRCM: add suspend prepare / finish support 2011-12-16 14:36:58 -07:00
prm44xx.c ARM: omap: fix prm44xx.c OMAP44XX_IRQ_PRCM build error 2012-02-13 10:00:34 +00:00
prm44xx.h ARM: OMAP: PRCM: add suspend prepare / finish support 2011-12-16 14:36:58 -07:00
prm_common.c ARM: OMAP: PRCM: add suspend prepare / finish support 2011-12-16 14:36:58 -07:00
prm-regbits-24xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prminst44xx.c
prminst44xx.h
scrm44xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c ARM: OMAP3: sdram-nokia: add 200 MHz memory timings info 2011-12-13 10:48:54 -08:00
sdram-nokia.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc2xxx.c
sdrc.c
sdrc.h
serial.c tty: serial: OMAP: block idle while the UART is transferring data in PIO mode 2012-02-09 10:48:34 -08:00
sleep24xx.S
sleep34xx.S
sleep44xx.S ARM: OMAP4: Fix errata i688 with MPU interconnect barriers. 2011-12-08 11:29:01 -08:00
smartreflex-class3.c
smartreflex.c ARM: OMAP2+: arch/arm/mach-omap2/smartreflex.c: add missing iounmap 2012-01-26 16:38:47 -08:00
smartreflex.h
sr_device.c
sram34xx.S
sram242x.S
sram243x.S
timer-mpu.c
timer.c ARM: OMAP2+: timer: Fix crash due to wrong arg to __omap_dm_timer_read_counter 2012-01-26 15:27:32 -08:00
twl-common.c ARM: OMAP2+: Remove apply_uV constraints for fixed regulator 2012-02-28 15:56:40 -08:00
twl-common.h
usb-fs.c
usb-host.c ARM: OMAP2+: usb-host: fix compile warning 2012-02-14 11:46:58 -08:00
usb-musb.c ARM: OMAP: musb: Adding support for ti81xx 2011-12-13 10:50:58 -08:00
usb-tusb6010.c
vc3xxx_data.c
vc44xx_data.c
vc.c ARM: omap: fix uninformative vc/i2c configuration error message 2012-02-13 10:00:35 +00:00
vc.h
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c ARM: OMAP: fix voltage domain build errors with PM_OPP disabled 2012-02-21 09:36:34 +00:00
voltagedomains44xx_data.c ARM: OMAP: fix voltage domain build errors with PM_OPP disabled 2012-02-21 09:36:34 +00:00
vp3xxx_data.c
vp44xx_data.c
vp.c ARM: omap: fix oops in arch/arm/mach-omap2/vp.c when pmic is not found 2012-02-09 17:56:53 +00:00
vp.h
wd_timer.c
wd_timer.h