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

From: Conor Dooley
Date: Mon May 08 2023 - 12:25:24 EST


On Mon, May 08, 2023 at 11:22:36AM +0200, Krzysztof Kozlowski wrote:
> 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.

Figured it'd be either that or consistency across the entries.

Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

Thanks,
Conor.

Attachment: signature.asc
Description: PGP signature