OMAP: hwmod: allow hwmod to provide address space accessible from SDMA
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 24 Feb 2011 20:51:45 +0000 (12:51 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Feb 2011 20:51:45 +0000 (12:51 -0800)
commitcd5038024d6c92fbe4bf67af91eea5c6fb24a192
tree131be5bbb10844c72165fd127d0b33edc589c1cf
parent82d2a5db5296834a4317e554f57b8883d7abb86d
OMAP: hwmod: allow hwmod to provide address space accessible from SDMA

Adds support for resource API to get address space info other than just MPU.
The drivers can now use platform_get_resource_byname() to get resource of
type 'IORESOURCE_MEM' by name.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h