Re: [PATCH] dt-bindings: PCI: brcmstb: compatible is required

From: Rob Herring
Date: Thu Dec 02 2021 - 17:41:31 EST


On Thu, Dec 2, 2021 at 4:36 PM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:
>
> The compatible property is required, make sure the binding documents it
> as such.

Yes, though if 'compatible' is not present and matching, the schema is
never applied. I'll apply it later, but I wouldn't be too concerned
fixing any others.

> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
> index 1fe102743f82..7c24d711b377 100644
> --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
> @@ -76,6 +76,7 @@ properties:
> maxItems: 3
>
> required:
> + - compatible
> - reg
> - ranges
> - dma-ranges
> --
> 2.25.1
>