Re: [PATCH 07/17] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string

From: Krzysztof Kozlowski
Date: Mon Feb 13 2023 - 06:14:51 EST


On 12/02/2023 16:41, Janne Grunau wrote:
> "apple,t8112-sart" as found on the Apple M2 SoC appears to be SART3 as
> well. To allow for later discovered incompatibilities use
> '"apple,t8112-sart", "apple,t6000-sart"' as compatible string.
>
> Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
>
> ---
> This trivial dt-bindings update should be merged through the asahi-soc
> tree to ensure validation of the Apple M2 (t8112) devicetrees in this
> series.

Same comment as in other cases.

> ---
> Documentation/devicetree/bindings/iommu/apple,sart.yaml | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/Documentation/devicetree/bindings/iommu/apple,sart.yaml
> index 1524fa3094ef..07d2d68a87df 100644
> --- a/Documentation/devicetree/bindings/iommu/apple,sart.yaml
> +++ b/Documentation/devicetree/bindings/iommu/apple,sart.yaml
> @@ -28,9 +28,14 @@ description:
>
> properties:
> compatible:
> - enum:
> - - apple,t6000-sart
> - - apple,t8103-sart
> + oneOf:
> + - items:
> + - const: apple,t8112-sart
> + - const: apple,t6000-sart
> + - items:

Drop items.

> + enum:
> + - apple,t6000-sart
> + - apple,t8103-sart
>
> reg:
> maxItems: 1
>

Best regards,
Krzysztof