[PATCH v2 3/5] dt-bindings: iommu: add new compatible strings
Chen-Yu Tsai
wens at csie.org
Thu Jun 20 03:17:19 PDT 2024
On Mon, Jun 17, 2024 at 6:42 AM Andre Przywara <andre.przywara at arm.com> 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 at arm.com>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Reviewed-by: Chen-Yu Tsai <wens at csie.org>
> ---
> .../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
>
>
More information about the linux-arm-kernel
mailing list