msm: iommu: Rework clock logic and add IOMMU bus clock control
authorStepan Moskovchenko <stepanm@codeaurora.org>
Tue, 1 Mar 2011 00:03:02 +0000 (16:03 -0800)
committerDavid Brown <davidb@codeaurora.org>
Tue, 8 Mar 2011 22:40:58 +0000 (14:40 -0800)
commitb61401adf38f56dbfdac91f31425edf60595ed30
treeeabe4fdc88d83a4df5afba29d1b899f227a3d901
parent41f3f5138a5ea71ee603f3d556953fce9aba3074
msm: iommu: Rework clock logic and add IOMMU bus clock control

Clean up the clock control code in the probe calls, and add
support for controlling the clock for the IOMMU bus
interconnect. With the (proper) clock driver in place, the
clock control logic in the probe function can be made much
cleaner since it does not have to deal with the placeholder
driver anymore.

Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Reviewed-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/devices-iommu.c
arch/arm/mach-msm/include/mach/iommu.h
arch/arm/mach-msm/iommu_dev.c