aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSuman Anna2015-12-17 18:29:45 -0600
committerSuman Anna2019-03-03 17:39:53 -0600
commit03bd31a8c9c5a68cda840c1d29a4164c3351834a (patch)
tree1bd98840875f5b8e07364fe6fd768809a619deca /arch
parent87ef55eb92afebb277a15a6911e6ce0aad2138e5 (diff)
downloadremoteproc-03bd31a8c9c5a68cda840c1d29a4164c3351834a.tar.gz
remoteproc-03bd31a8c9c5a68cda840c1d29a4164c3351834a.tar.xz
remoteproc-03bd31a8c9c5a68cda840c1d29a4164c3351834a.zip
ARM: OMAP2+: plug in device_enable/idle ops for IOMMUs
The OMAP IOMMU driver requires the device_enable/idle platform data ops on all the IOMMU devices to be able to enable and disable the clocks. Plug in these pdata ops for all the existing IOMMUs through pdata quirks. Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/pdata-quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 9126961b5f5f..4a5458722888 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -101,6 +101,8 @@ static struct iommu_platform_data omap3_iommu_pdata = {
101 .reset_name = "mmu", 101 .reset_name = "mmu",
102 .assert_reset = omap_device_assert_hardreset, 102 .assert_reset = omap_device_assert_hardreset,
103 .deassert_reset = omap_device_deassert_hardreset, 103 .deassert_reset = omap_device_deassert_hardreset,
104 .device_enable = omap_device_enable,
105 .device_idle = omap_device_idle,
104}; 106};
105 107
106static int omap3_sbc_t3730_twl_callback(struct device *dev, 108static int omap3_sbc_t3730_twl_callback(struct device *dev,
@@ -427,6 +429,8 @@ static struct iommu_platform_data omap4_iommu_pdata = {
427 .reset_name = "mmu_cache", 429 .reset_name = "mmu_cache",
428 .assert_reset = omap_device_assert_hardreset, 430 .assert_reset = omap_device_assert_hardreset,
429 .deassert_reset = omap_device_deassert_hardreset, 431 .deassert_reset = omap_device_deassert_hardreset,
432 .device_enable = omap_device_enable,
433 .device_idle = omap_device_idle,
430}; 434};
431#endif 435#endif
432 436
@@ -449,6 +453,8 @@ static struct iommu_platform_data dra7_ipu1_dsp_iommu_pdata = {
449 .reset_name = "mmu_cache", 453 .reset_name = "mmu_cache",
450 .assert_reset = omap_device_assert_hardreset, 454 .assert_reset = omap_device_assert_hardreset,
451 .deassert_reset = omap_device_deassert_hardreset, 455 .deassert_reset = omap_device_deassert_hardreset,
456 .device_enable = omap_device_enable,
457 .device_idle = omap_device_idle,
452 .set_pwrdm_constraint = omap_iommu_set_pwrdm_constraint, 458 .set_pwrdm_constraint = omap_iommu_set_pwrdm_constraint,
453}; 459};
454 460