iommu: arm-smmu-impl: Use table to list QCOM implementations
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Wed, 25 Nov 2020 07:00:17 +0000 (12:30 +0530)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 13:12:27 +0000 (13:12 +0000)
commit00597f9ff5eccd8b90e34cbd963471c6befcad98
treee0626073bcaada3deb94d4fddf956be1890ccac0
parent12bc36793fd6dbc910a6d7c5bec707274815b3c0
iommu: arm-smmu-impl: Use table to list QCOM implementations

Use table and of_match_node() to match qcom implementation
instead of multiple of_device_compatible() calls for each
QCOM SMMU implementation.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/4e11899bc02102a6e6155db215911e8b5aaba950.1606287059.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
drivers/iommu/arm/arm-smmu/arm-smmu.h