Re: [PATCH 1/8] dt-bindings: iommu: mediatek: Add mediatek,infracfg phandle

From: Krzysztof Kozlowski
Date: Tue May 17 2022 - 10:23:34 EST


On 17/05/2022 15:21, AngeloGioacchino Del Regno wrote:
> Add property "mediatek,infracfg" to let the mtk_iommu driver retrieve
> a phandle to the infracfg syscon instead of performing a per-soc
> compatible lookup.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
> index 2ae3bbad7f1a..78c72c22740b 100644
> --- a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
> @@ -101,6 +101,10 @@ properties:
> items:
> - const: bclk
>
> + mediatek,infracfg:
> + $ref: "/schemas/types.yaml#/definitions/phandle"

No need for quotes. They are not present in other places.


> + description: The phandle to the mediatek infracfg syscon
> +
> mediatek,larbs:
> $ref: /schemas/types.yaml#/definitions/phandle-array
> minItems: 1


Best regards,
Krzysztof