dt-bindings: PCI: cdns-ep: Fix 'unevaluatedProperties' warnings
authorRob Herring <robh@kernel.org>
Mon, 6 Dec 2021 19:44:13 +0000 (13:44 -0600)
committerRob Herring <robh@kernel.org>
Tue, 14 Dec 2021 22:18:51 +0000 (16:18 -0600)
With 'unevaluatedProperties' support implemented, the TI j721e endpoint
binding example has a warning:

Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.example.dt.yaml: pcie-ep@d000000: Unevaluated properties are not allowed ('max-link-speed', 'num-lanes', 'max-functions' were unexpected)

Adjust where pci-ep.yaml is referenced so that ti,j721e-pci-ep.yaml will
include it.

Cc: Tom Joseph <tjoseph@cadence.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211206194413.2469643-1-robh@kernel.org
Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml

index 651eee8..e6ef101 100644 (file)
@@ -11,7 +11,6 @@ maintainers:
 
 allOf:
   - $ref: "cdns-pcie-ep.yaml#"
-  - $ref: "pci-ep.yaml#"
 
 properties:
   compatible:
index 21e8a88..baeafda 100644 (file)
@@ -11,6 +11,7 @@ maintainers:
 
 allOf:
   - $ref: "cdns-pcie.yaml#"
+  - $ref: "pci-ep.yaml#"
 
 properties:
   cdns,max-outbound-regions: