Re: [PATCH v2 3/5] dt-bindings: iommu: add new compatible strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 17, 2024 at 6:42 AM Andre Przywara <andre.przywara@xxxxxxx> wrote:
>
> The Allwinner H616 and A523 contain IOMMU IP very similar to the H6, but
> use a different reset value for the bypass register, which makes them
> strictly speaking incompatible.
>
> Add a new compatible string for the H616, and a version for the A523,
> falling back to the H616.
>
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>

> ---
>  .../bindings/iommu/allwinner,sun50i-h6-iommu.yaml          | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml b/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml
> index e20016f120175..a8409db4a3e3d 100644
> --- a/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml
> @@ -17,7 +17,12 @@ properties:
>        The content of the cell is the master ID.
>
>    compatible:
> -    const: allwinner,sun50i-h6-iommu
> +    oneOf:
> +      - const: allwinner,sun50i-h6-iommu
> +      - const: allwinner,sun50i-h616-iommu
> +      - items:
> +          - const: allwinner,sun55i-a523-iommu
> +          - const: allwinner,sun50i-h616-iommu
>
>    reg:
>      maxItems: 1
> --
> 2.39.4
>
>





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux