diff options
Diffstat (limited to 'arch/arm/mach-msm/include/mach/iommu.h')
-rw-r--r-- | arch/arm/mach-msm/include/mach/iommu.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/include/mach/iommu.h b/arch/arm/mach-msm/include/mach/iommu.h index 296c0f10f23..8738a445558 100644 --- a/arch/arm/mach-msm/include/mach/iommu.h +++ b/arch/arm/mach-msm/include/mach/iommu.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (c) 2010, Code Aurora Forum. All rights reserved. | 1 | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. |
2 | * | 2 | * |
3 | * This program is free software; you can redistribute it and/or modify | 3 | * This program is free software; you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License version 2 and | 4 | * it under the terms of the GNU General Public License version 2 and |
@@ -19,6 +19,7 @@ | |||
19 | #define MSM_IOMMU_H | 19 | #define MSM_IOMMU_H |
20 | 20 | ||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/clk.h> | ||
22 | 23 | ||
23 | /* Sharability attributes of MSM IOMMU mappings */ | 24 | /* Sharability attributes of MSM IOMMU mappings */ |
24 | #define MSM_IOMMU_ATTR_NON_SH 0x0 | 25 | #define MSM_IOMMU_ATTR_NON_SH 0x0 |
@@ -74,13 +75,17 @@ struct msm_iommu_ctx_dev { | |||
74 | * struct msm_iommu_drvdata - A single IOMMU hardware instance | 75 | * struct msm_iommu_drvdata - A single IOMMU hardware instance |
75 | * @base: IOMMU config port base address (VA) | 76 | * @base: IOMMU config port base address (VA) |
76 | * @irq: Interrupt number | 77 | * @irq: Interrupt number |
77 | * | 78 | * @clk: The bus clock for this IOMMU hardware instance |
79 | * @pclk: The clock for the IOMMU bus interconnect | ||
80 | * | ||
78 | * A msm_iommu_drvdata holds the global driver data about a single piece | 81 | * A msm_iommu_drvdata holds the global driver data about a single piece |
79 | * of an IOMMU hardware instance. | 82 | * of an IOMMU hardware instance. |
80 | */ | 83 | */ |
81 | struct msm_iommu_drvdata { | 84 | struct msm_iommu_drvdata { |
82 | void __iomem *base; | 85 | void __iomem *base; |
83 | int irq; | 86 | int irq; |
87 | struct clk *clk; | ||
88 | struct clk *pclk; | ||
84 | }; | 89 | }; |
85 | 90 | ||
86 | /** | 91 | /** |