]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: adapt hsmmc to hwmod framework
authorKishore Kadiyala <kishore.kadiyala@ti.com>
Mon, 28 Feb 2011 15:18:04 +0000 (20:48 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 1 Mar 2011 21:13:25 +0000 (13:13 -0800)
commit291083710ab883691bc9a18c33adcaf9ca5d804c
tree7dc7961bd638dc6f8a8de4f8cdda1871564a8200
parente3c18b5eb9ec162d60976cbd712a176bee018c31
OMAP: adapt hsmmc to hwmod framework

OMAP2420 platform consists of mmc block as in omap1 and not the
hsmmc block as present in omap2430, omap3, omap4 platforms.
Removing all base address macro defines except keeping one for OMAP2420 and
adapting only hsmmc device registration and driver to hwmod framework.

Changes involves:
1) Remove controller reset in devices.c which is taken care of
   by hwmod framework.
2) Using omap-device layer to register device and utilizing data from
   hwmod data file for base address, dma channel number, Irq_number,
   device attribute.
3) Update the driver to use dev_attr to find whether controller
   supports dual volt cards

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Reviewed-by: Balaji T K <balajitk@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
CC: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/hsmmc.c
arch/arm/plat-omap/include/plat/mmc.h
drivers/mmc/host/omap_hsmmc.c