kernel_optimize_test/arch/arm/plat-omap/include/plat
Vaibhav Hiremath b82b04e8eb ARM: OMAP: omap_device: Do not overwrite resources allocated by OF layer
With the new devices (like, AM33XX and OMAP5) we now only support
DT boot mode of operation and now it is the time to start killing
slowly the dependency on hwmod, so with this patch, we are starting
with device resources.
The idea here is implemented considering to both boot modes -
  - DT boot mode
    OF framework will construct the resource structure (currently
    does for MEM & IRQ resource) and we should respect/use these
    resources, killing hwmod dependency.
    If pdev->num_resources > 0, we assume that MEM & IRQ resources
    have been allocated by OF layer already (through DTB).

    Once DMA resource is available from OF layer, we should
    kill filling any resources from hwmod.

  - Non-DT boot mode
    Here, pdev->num_resources = 0, and we should get all the
    resources from hwmod (following existing steps)

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
[b-cousson@ti.com: Fix some checkpatch CHECK issues]
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
2012-09-07 19:17:40 +02:00
..
am33xx.h ARM: OMAP: am33xx: Update common OMAP machine specific sources 2011-12-13 10:46:43 -08:00
board-ams-delta.h ASoC: OMAP: ams-delta: drop .set_bias_level callback 2012-03-05 11:25:34 -08:00
board-sx1.h
board-voiceblue.h
board.h ARM: OMAP: Make FS USB omap1 only 2012-06-04 00:57:57 -07:00
clkdev_omap.h ARM: OMAP3+: clock33xx: Add AM33XX clock tree data 2012-06-29 16:16:40 -06:00
clock.h ARM: OMAP2+: CLEANUP: Remove ARCH_OMAPx ifdef from struct dpll_data 2012-06-18 16:17:44 -06:00
common.h arm-soc: cleanups, part 2 2012-05-26 12:31:49 -07:00
cpu.h arm-soc: new SoC support 2012-07-23 16:31:31 -07:00
dma-44xx.h
dma.h arm-soc: cleanups, part 2 2012-05-26 12:31:49 -07:00
dmtimer.h ARM: OMAP2+: Move dmtimer clock set function to dmtimer driver 2012-06-14 02:39:47 -07:00
dsp.h ARM: OMAP: dsp: interface to control module functions 2012-06-18 16:18:10 -06:00
flash.h
fpga.h
gpio-switch.h
gpio.h gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume() 2012-05-11 17:08:40 -07:00
gpmc-smc91x.h
gpmc-smsc911x.h
gpmc.h ARM: OMAP3: gpmc: add BCH ecc api and modes 2012-05-13 23:25:42 -05:00
hardware.h ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
hdq1w.h ARM: OMAP2+: HDQ1W: add custom reset function 2012-05-08 17:25:36 -06:00
i2c.h OMAP: hwmod: fix the i2c-reset timeout during bootup 2011-07-10 05:27:16 -06:00
iommu.h iommu/omap: eliminate the public omap_find_iommu_device() method 2011-12-05 15:47:39 +02:00
iommu2.h omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
iopgtable.h omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
iovmm.h iommu/omap: eliminate the public omap_find_iommu_device() method 2011-12-05 15:47:39 +02:00
irda.h
irqs-44xx.h
irqs.h ARM: OMAP: irqs: Fix NR_IRQS value to handle PRCM interrupts 2012-02-28 15:49:54 -08:00
keypad.h ARM: OMAP2+: Limit omap_read/write usage to legacy USB drivers 2012-02-24 10:34:36 -08:00
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
lcd_mipid.h
led.h
mailbox.h
mcbsp.h ARM/ASoC: OMAP McBSP: Move remainig defines from arch to ASoC header 2012-03-12 13:34:23 +00:00
mcspi.h ARM: OMAP: McSPI: Remove unused flag from struct omap2_mcspi_device_config 2012-02-24 10:33:58 -08:00
menelaus.h
mmc.h ARM: omap: remove mmc platform data dma_mask and initialization 2012-07-31 12:06:23 +01:00
multi.h ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
mux.h ARM: OMAP7XX: Remove omap730.h and omap850.h 2012-06-28 00:08:10 -07:00
nand.h omap: cleanup NAND platform data 2011-06-29 01:11:37 -07:00
omap_device.h ARM: OMAP: omap_device: remove omap_device_parent 2012-03-05 15:38:02 -08:00
omap_hwmod.h ARM: OMAP: omap_device: Do not overwrite resources allocated by OF layer 2012-09-07 19:17:40 +02:00
omap-pm.h ARM: OMAP: change get_context_loss_count ret value to int 2011-11-04 17:41:07 -07:00
omap-secure.h ARM: OMAP2+: Move stubbed secure_sram_reserve function to a common.c and call it __weak 2012-07-09 19:14:38 +05:30
omap-serial.h OMAP2+: UART: Remove cpu checks for populating errata flags 2012-04-18 15:07:05 -07:00
omap4-keypad.h Input: omap4-keypad - move platform_data to <linux/platform_data> 2012-03-16 22:49:46 -07:00
omap7xx.h
omap16xx.h
omap24xx.h
omap34xx.h ARM: OMAP: am33xx: Update common OMAP machine specific sources 2011-12-13 10:46:43 -08:00
omap44xx.h ARM: OMAP4: PM: Add SAR RAM support 2011-12-08 11:28:59 -08:00
omap54xx.h ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
omap1510.h
onenand.h
param.h
prcm.h
remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
sdrc.h ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds 2012-07-09 01:44:11 -07:00
serial.h ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
sram.h ARM: OMAP: sram: Add am33xx SRAM support (minimal) 2012-03-05 16:11:01 -08:00
tc.h ARM: OMAP: Remove plat/io.h by splitting it into mach/io.h and mach/hardware.h 2012-02-24 10:34:35 -08:00
ti81xx.h ARM: OMAP: TI81XX: Prepare for addition of TI814X support 2011-12-13 10:46:44 -08:00
timex.h
uncompress.h ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
usb.h ARM: OMAP: Make FS USB omap1 only 2012-06-04 00:57:57 -07:00
voltage.h ARM: OMAP2+: Voltage: Move the omap_volt_data structure to plat 2012-05-31 16:03:44 -07:00
vram.h OMAPDSS: Remove video SRAM support 2012-02-23 09:38:26 +02:00
vrfb.h