iommu: arm-smmu: Abstract power resources from struct arm_smmu_device
Directly containing clock and regulator structures within struct
arm_smmu_device forces the functions which enable/disable/initialize clocks
and regulators to use struct arm_smmu_device. This prevents code reuse.
Future changes will use a second struct which also needs to control clocks
and regulators.
Change-Id: I978d80d25217b8f4d560f02c68e84d3f2da50b2c
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
index 0a74f48..862f076 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
@@ -90,8 +90,12 @@
Documentation/devicetree/bindings/clock/clock-bindings.txt
for more info.
-- vdd-supply : Phandle of the regulator that should be powered on during
- SMMU register access.
+- (%s)-supply : Phandle of the regulator that should be powered on during
+ SMMU register access. (%s) is a string from the
+ qcom,regulator-names property.
+
+- qcom,regulator-names :
+ List of strings to use with the (%s)-supply property.
- qcom,msm-bus,name
- qcom,msm-bus,num-cases