kernel_optimize_test/arch/arm/plat-omap
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
..
include/plat ARM: OMAP: omap_device: Do not overwrite resources allocated by OF layer 2012-09-07 19:17:40 +02:00
clock.c ARM: OMAP: PM: Lock clocks list while generating summary 2012-06-17 11:57:50 -06:00
common.c ARM: OMAP2+: Move stubbed secure_sram_reserve function to a common.c and call it __weak 2012-07-09 19:14:38 +05:30
counter_32k.c ARM: OMAP: counter-32k: Select the CR register offset using the IP scheme 2012-07-09 19:14:39 +05:30
debug-devices.c
debug-leds.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
devices.c ARM: OMAP: Move omap_mmc_add() to mach-omap1 2012-05-09 16:35:12 -07:00
dma.c ARM: OMAP: dma: Clear status registers on enable/disable irq 2012-06-03 22:50:42 -07:00
dmtimer.c ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe() 2012-07-05 02:15:55 -07:00
fb.c ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set 2012-03-09 09:53:21 +02:00
i2c.c
Kconfig arm-soc: power management changes 2012-07-23 17:43:53 -07:00
mailbox.c ARM: OMAP: enable mailbox irq per instance 2012-05-13 16:09:39 +03:00
Makefile ARM: OMAP2+: All OMAP2PLUS uses omap-device.o target so add one entry 2012-07-05 08:05:14 -07:00
mux.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
omap_device.c ARM: OMAP: omap_device: Do not overwrite resources allocated by OF layer 2012-09-07 19:17:40 +02:00
omap-pm-noop.c ARM: OMAP: omap_device: remove omap_device_parent 2012-03-05 15:38:02 -08:00
sram.c ARM: OMAP5: Add minimal support for OMAP5430 SOC 2012-07-09 19:14:39 +05:30
sram.h