Re: [PATCH fixes] dt-bindings: PCI: fsl,imx6q: fix assigned-clocks warning

From: Krzysztof Kozlowski
Date: Mon May 08 2023 - 05:22:45 EST


On 08/05/2023 10:23, Conor Dooley wrote:
> On Mon, May 08, 2023 at 09:18:37AM +0200, Krzysztof Kozlowski wrote:
>> @@ -49,6 +62,31 @@ required:
>> allOf:
>> - $ref: /schemas/pci/snps,dw-pcie-ep.yaml#
>> - $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml#
>> + - if:
>> + properties:
>> + compatible:
>> + enum:
>> + - fsl,imx8mq-pcie-ep
>
> How come this is enum rather than const (and same for the other
> single-compatible ones below)?

I assume the list might grow, so enum will spare one indentation change.

Best regards,
Krzysztof