iommu: arm-smmu-impl: Convert to a generic reset implementation
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Mon, 20 Apr 2020 18:33:49 +0000 (00:03 +0530)
committerWill Deacon <will@kernel.org>
Thu, 7 May 2020 13:21:42 +0000 (14:21 +0100)
commit64510ede36845500584485f3ad30dbcbf83091a6
tree2da9e769cce772ab9dbbed390c5876ac43212ff1
parent02782f3d60f197f02efd153b43ef64214dc00c01
iommu: arm-smmu-impl: Convert to a generic reset implementation

Currently the QCOM specific smmu reset implementation is very
specific to SDM845 SoC and has a wait-for-safe logic which
may not be required for other SoCs. So move the SDM845 specific
logic to its specific reset function. Also add SC7180 SMMU
compatible for calling into QCOM specific implementation.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/d24a0278021bc0b2732636c5728efe55e7318a8b.1587407458.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-impl.c
drivers/iommu/arm-smmu-qcom.c