Commit 778d02e9 authored by Juan Gutierrez's avatar Juan Gutierrez Committed by Ohad Ben-Cohen

ARM: OMAP4: fix irq and clock name for dsp-iommu

Irq and clock names were wrong for dsp iommu configuration
for omap4.

- Renamed tesla_ick to dsp_fck:
   This is required because the new naming convention introduced
   by: commit 0e433271 "OMAP4 clock: Fix clock names and align
   with hwmod names"

- Renamed INT_44XX_DSP_MMU to OMAP44XX_IRQ_TESLA_MMU.
   Naming convention adopted since: commit e927f8d0 "omap4: Add
   auto-generated irq and dma headers"

- dsp-iommu is enabled by default.
Signed-off-by: default avatarJuan Gutierrez <jgutierrez@ti.com>
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent 1d8a0e96
...@@ -73,19 +73,17 @@ static struct iommu_device omap4_devices[] = { ...@@ -73,19 +73,17 @@ static struct iommu_device omap4_devices[] = {
.da_end = 0xFFFFF000, .da_end = 0xFFFFF000,
}, },
}, },
#if defined(CONFIG_MPU_TESLA_IOMMU)
{ {
.base = OMAP4_MMU2_BASE, .base = OMAP4_MMU2_BASE,
.irq = INT_44XX_DSP_MMU, .irq = OMAP44XX_IRQ_TESLA_MMU,
.pdata = { .pdata = {
.name = "tesla", .name = "tesla",
.nr_tlb_entries = 32, .nr_tlb_entries = 32,
.clk_name = "tesla_ick", .clk_name = "dsp_fck",
.da_start = 0x0, .da_start = 0x0,
.da_end = 0xFFFFF000, .da_end = 0xFFFFF000,
}, },
}, },
#endif
}; };
#define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices) #define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices)
static struct platform_device *omap4_iommu_pdev[NR_OMAP4_IOMMU_DEVICES]; static struct platform_device *omap4_iommu_pdev[NR_OMAP4_IOMMU_DEVICES];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment