[Freedreno] [PATCH v5 5/6] iommu/arm-smmu: Add support for qcom, smmu-v2 variant

Vivek Gautam vivek.gautam at codeaurora.org
Fri Jan 12 05:29:17 UTC 2018


Hi Rob,


On 01/12/2018 03:53 AM, Rob Herring wrote:
> On Tue, Jan 09, 2018 at 03:31:48PM +0530, Vivek Gautam wrote:
>> qcom,smmu-v2 is an arm,smmu-v2 implementation with specific
>> clock and power requirements. This smmu core is used with
>> multiple masters on msm8996, viz. mdss, video, etc.
>> Add bindings for the same.
>>
>> Signed-off-by: Vivek Gautam <vivek.gautam at codeaurora.org>
>> ---
>>
>>   * Major change in this patch -
>>     Changed compatible string from 'qcom,msm8996-smmu-v2' to
>>     'qcom,smmu-v2' to reflect the IP version rather than the
>>     platform on which it is used.
> The bugs and how things are connected are all the same? I'd suggest you
> keep both strings.

Sure,
     compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";

>
>>     The same IP is used across multiple platforms including msm8996,
>>     and sdm845 etc.
> But for only 2 or so platforms a fallback is not really worth it. You'll
> probably be on SMMUv3 before too long...
Right. There's msm8998 as well, but as you said keeping both strings
will make more sense.
Thanks.

Best regards
Vivek

[snip]

-- 
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the Freedreno mailing list