[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f63f12e-c0fc-04a9-0762-5dbc63b19206@arm.com>
Date: Thu, 18 Jun 2020 17:56:52 +0100
From: Robin Murphy <robin.murphy@....com>
To: Jonathan Marek <jonathan@...ek.ca>, linux-arm-msm@...r.kernel.org
Cc: Will Deacon <will@...nel.org>, Joerg Roedel <joro@...tes.org>,
"moderated list:ARM SMMU DRIVERS"
<linux-arm-kernel@...ts.infradead.org>,
"open list:IOMMU DRIVERS" <iommu@...ts.linux-foundation.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/8] iommu: arm-smmu-impl: Use qcom impl for sm8150 and
sm8250 compatibles
On 2020-06-09 20:40, Jonathan Marek wrote:
> Use the qcom implementation for IOMMU hardware on sm8150 and sm8250 SoCs.
Given a promise that anyone who wants to add more of these in future
converts it into an of_device_id table exported from arm-smmu-qcom,
Reviewed-by Robin Murphy <robin.murphy@....com>
> Signed-off-by: Jonathan Marek <jonathan@...ek.ca>
> ---
> drivers/iommu/arm-smmu-impl.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/arm-smmu-impl.c b/drivers/iommu/arm-smmu-impl.c
> index c75b9d957b70..f5f6cab626be 100644
> --- a/drivers/iommu/arm-smmu-impl.c
> +++ b/drivers/iommu/arm-smmu-impl.c
> @@ -172,7 +172,9 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu)
> smmu->impl = &calxeda_impl;
>
> if (of_device_is_compatible(np, "qcom,sdm845-smmu-500") ||
> - of_device_is_compatible(np, "qcom,sc7180-smmu-500"))
> + of_device_is_compatible(np, "qcom,sc7180-smmu-500") ||
> + of_device_is_compatible(np, "qcom,sm8150-smmu-500") ||
> + of_device_is_compatible(np, "qcom,sm8250-smmu-500"))
> return qcom_smmu_impl_init(smmu);
>
> return smmu;
>
Powered by blists - more mailing lists