aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include
diff options
context:
space:
mode:
authorStepan Moskovchenko <stepanm@codeaurora.org>2011-02-28 19:03:02 -0500
committerDavid Brown <davidb@codeaurora.org>2011-03-08 17:40:58 -0500
commitb61401adf38f56dbfdac91f31425edf60595ed30 (patch)
treeeabe4fdc88d83a4df5afba29d1b899f227a3d901 /arch/arm/mach-msm/include
parent41f3f5138a5ea71ee603f3d556953fce9aba3074 (diff)
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>
Diffstat (limited to 'arch/arm/mach-msm/include')
-rw-r--r--arch/arm/mach-msm/include/mach/iommu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-msm/include/mach/iommu.h b/arch/arm/mach-msm/include/mach/iommu.h
index 8738a4455588..4dfe7efcf4ea 100644
--- a/arch/arm/mach-msm/include/mach/iommu.h
+++ b/arch/arm/mach-msm/include/mach/iommu.h
@@ -45,14 +45,9 @@
45/** 45/**
46 * struct msm_iommu_dev - a single IOMMU hardware instance 46 * struct msm_iommu_dev - a single IOMMU hardware instance
47 * name Human-readable name given to this IOMMU HW instance 47 * name Human-readable name given to this IOMMU HW instance
48 * clk_rate Rate to set for this IOMMU's clock, if applicable to this
49 * particular IOMMU. 0 means don't set a rate.
50 * -1 means it is an AXI clock with no valid rate
51 *
52 */ 48 */
53struct msm_iommu_dev { 49struct msm_iommu_dev {
54 const char *name; 50 const char *name;
55 int clk_rate;
56}; 51};
57 52
58/** 53/**