Charulatha V 1a5d81905a OMAP: devices: Modify McSPI device to adapt to hwmod framework
Cleans up all base address definitions for omap_mcspi
and adapts the device registration and driver to hwmod framework.
Changes involves:
1) Removing all base address macro defines.
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(number of chipselect).
3) Appending base address with pdata reg_offset for omap4 boards.
   For omap4 all regs used in driver deviate with reg_offset_macros
   defined with an value of 0x100. So pass this offset through pdata
   and append the same to base address retrieved from hwmod data file
   and we are not mapping *_HL_* regs which are not used in driver.

Signed-off-by: Charulatha V <charu@ti.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Partha Basak <p-basak2@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-02-17 09:53:31 -08:00
..
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-02-14 15:40:20 -08:00
2011-01-27 16:39:40 -08:00
2010-02-15 09:27:05 -08:00
2010-12-07 16:26:57 -08:00
2011-01-27 16:39:40 -08:00
2011-01-27 16:39:40 -08:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:36 +03:00
2011-01-06 22:32:52 +00:00
2011-01-27 16:39:40 -08:00
2010-12-21 14:30:40 -08:00
2010-12-21 20:01:54 -07:00
2010-12-17 15:13:44 -08:00
2011-01-06 19:58:28 -08:00