msm: iommu: Add support for halting IOMMU

When programming certain registers in the IOMMU the IOMMU needs to
be in an idle state. To ensure the IOMMU is in an idle state before
accessing IOMMU registers we command the IOMMU to halt and wait
for the IOMMU to be idle before programming its registers.

Change-Id: I5437c02e9961070485f4538608763457df839b44
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
6 files changed