iommu/shmobile: Add iommu driver for Renesas IPMMU modules
authorHideki EIRAKU <hdk@igel.co.jp>
Mon, 21 Jan 2013 10:54:26 +0000 (19:54 +0900)
committerJoerg Roedel <joro@8bytes.org>
Wed, 6 Feb 2013 09:57:25 +0000 (10:57 +0100)
commitc2c460f7c148aa1a59630f61dac2481f1efb4f4e
tree97710b216a60c2ee1e9538a0ac55078508dcf622
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7
iommu/shmobile: Add iommu driver for Renesas IPMMU modules

This is the Renesas IPMMU driver and IOMMU API implementation.

The IPMMU module supports the MMU function and the PMB function.  The
MMU function provides address translation by pagetable compatible with
ARMv6.  The PMB function provides address translation including
tile-linear translation.  This patch implements the MMU function.

The iommu driver does not register a platform driver directly because:
- the register space of the MMU function and the PMB function
  have a common register (used for settings flush), so they should ideally
  have a way to appropriately share this register.
- the MMU function uses the IOMMU API while the PMB function does not.
- the two functions may be used independently.

Signed-off-by: Hideki EIRAKU <hdk@igel.co.jp>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/shmobile-iommu.c [new file with mode: 0644]
drivers/iommu/shmobile-ipmmu.c [new file with mode: 0644]
drivers/iommu/shmobile-ipmmu.h [new file with mode: 0644]
include/linux/platform_data/sh_ipmmu.h [new file with mode: 0644]