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

Commit 34516845 authored by Patrick Daly's avatar Patrick Daly Committed by Gerrit - the friendly Code Review server
Browse files

iommu: arm-smmu: Use subsys_initcall to register driver



Upstream supports early driver registration through IOMMU_OF_DECLARE.
However, since our clock and regulator dependencies are not available at
that point the driver would defer.

Use the normal method of driver registration through an initcall instead.

Change-Id: I3083c92324550fa001b222e0fb0efaafae8f197c
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 000a2f25
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3870,8 +3870,6 @@ IOMMU_OF_DECLARE(arm_mmu400, "arm,mmu-400", arm_smmu_of_init);
IOMMU_OF_DECLARE(arm_mmu401, "arm,mmu-401", arm_smmu_of_init);
IOMMU_OF_DECLARE(arm_mmu500, "arm,mmu-500", arm_smmu_of_init);
IOMMU_OF_DECLARE(cavium_smmuv2, "cavium,smmu-v2", arm_smmu_of_init);
IOMMU_OF_DECLARE(qcom_smmuv2, "qcom,smmu-v2", arm_smmu_of_init);
IOMMU_OF_DECLARE(qcom_mmu500, "qcom,qsmmu-v500", arm_smmu_of_init);

#define DEBUG_SID_HALT_REG		0x0
#define DEBUG_SID_HALT_VAL		(0x1 << 16)