Re: [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia, smmu-v2

Robin Murphy
2019-08-30T15:14:27Z

On 29/08/2019 23:47, Krishna Reddy wrote:
> Add binding doc for Nvidia's smmu-v2 implementation.
>
> Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
> ---
> Documentation/devicetree/bindings/iommu/arm,smmu.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
> index 3133f3b..0de3759 100644
> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt
> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt
> @@ -17,6 +17,7 @@ conditions.
> "arm,mmu-401"
> "arm,mmu-500"
> "cavium,smmu-v2"
> + "nidia,smmu-v2"
> "qcom,smmu-v2"

I agree with Mikko that the compatible must be at least SoC-specific,
but potentially even instance-specific (e.g. "nvidia,tegra194-gpu-smmu")
depending on how many of these parallel-SMMU configurations might be
hiding in current and future SoCs.

Robin.

>
> depending on the particular implementation and/or the
>