diff options
author | Charulatha V <charu@ti.com> | 2011-02-02 12:22:14 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-17 17:53:31 (GMT) |
commit | 1a5d81905aec1536783fb6ab875f31910f449941 (patch) | |
tree | 73b594a73cb333496e48210d4a5c29e501bd46f0 /drivers/pci/Kconfig | |
parent | 0f616a4e17ea244f882056656964b792edde8364 (diff) | |
download | linux-fsl-qoriq-1a5d81905aec1536783fb6ab875f31910f449941.tar.xz |
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>
Diffstat (limited to 'drivers/pci/Kconfig')
0 files changed, 0 insertions, 0 deletions