arm:omap:hsmmc: Support new HSMMC IP Variant
authorHebbar, Gururaja <gururaja.hebbar@ti.com>
Tue, 27 Sep 2011 17:23:34 +0000 (22:53 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:26 +0000 (00:44 +0530)
commitee0bca8c199159647a851dc38da18f096b16329f
tree2acaf72ebc0a42c1bc296f188b7ac3fec91d1bcf
parent01c67cf6c067288d63e4cc84c5d6a0cc4e27d7c8
arm:omap:hsmmc: Support new HSMMC IP Variant

Few OMAP platform has a new Variant of HSMMC.

This patch adds support for the same.

Changes
- Add new mmc version platform data to identify new IP
- Currently code support max segs of 1
- uses different registr bit to identify dma completion errors
- New MMC IP variant defines MMC EDMA Event using HWMOD. Using regular
  platform_get_resource fails for in this manner. Replace it with
  platform_get_resource_byname

Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/plat-omap/include/plat/mmc.h
drivers/mmc/host/omap_hsmmc.c