Re: [PATCH v4 1/6] dt-bindings: iommu: qcom,iommu: Add qcom,ctx-num property

From: Rob Herring
Date: Wed Jun 21 2023 - 21:50:24 EST


On Tue, Jun 20, 2023 at 11:51:22AM +0200, AngeloGioacchino Del Regno wrote:
> Add a new "qcom,ctx-num" property to force an ASID number on IOMMU
> contexts where required.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/iommu/qcom,iommu.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml b/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml
> index d9fabdf930d9..0446ccc4116e 100644
> --- a/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/qcom,iommu.yaml
> @@ -71,6 +71,11 @@ patternProperties:
> reg:
> maxItems: 1
>
> + qcom,ctx-num:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + The ASID number associated to the context bank.

If the value is ASID, then qcom,ctx-asid would be more descriptive.

> +
> required:
> - compatible
> - interrupts
> --
> 2.40.1
>