aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2021-08-17 12:47:43 -0500
committerRob Herring <[email protected]>2021-08-18 14:08:42 -0500
commita083fadf540dd63812651c7a7a0ce30dfbe5e6ee (patch)
tree229c63072ae8af62b6caa84aac053bca76a54e43
parent0a7eb4fe831b5966fff9ad2ec0323568c832911e (diff)
dt-bindings: PCI: faraday,ftpci100: Fix 'contains' schema usage
The 'contains' keyword applies to elements within an array, so using 'items' only makes sense if the elements of the array are another array which is not the case for 'compatible' properties. Looking at the driver, it seems the intent was the condition should be true when 'faraday,ftpci100' is present, so we can drop 'cortina,gemini-pci'. Fixes: 2720b991337d ("dt-bindings: PCI: ftpci100: convert faraday,ftpci100 to YAML") Cc: Bjorn Helgaas <[email protected]> Cc: Linus Walleij <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml b/Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml
index fb32f7b55035..92efbf0f1297 100644
--- a/Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml
+++ b/Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml
@@ -113,9 +113,7 @@ if:
properties:
compatible:
contains:
- items:
- - const: cortina,gemini-pci
- - const: faraday,ftpci100
+ const: faraday,ftpci100
then:
required:
- interrupt-controller