Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b3d8c6e authored by Patrick Daly's avatar Patrick Daly
Browse files

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: default avatarPatrick Daly <pdaly@codeaurora.org>
parent cf7b0de8
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -90,8 +90,12 @@ conditions.
                  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
+242 −189

File changed.

Preview size limit exceeded, changes collapsed.