]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: PCI: faraday,ftpci100: Fix 'contains' schema usage
authorRob Herring <robh@kernel.org>
Tue, 17 Aug 2021 17:47:43 +0000 (12:47 -0500)
committerRob Herring <robh@kernel.org>
Wed, 18 Aug 2021 19:08:42 +0000 (14:08 -0500)
commit4d245f814e396ad1b4bfe667d4632dd2f256be3a
tree229c63072ae8af62b6caa84aac053bca76a54e43
parent500adfa345c35f24899d5b806aca039e3a75b9eb
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: 8aa333c76dd5 ("dt-bindings: PCI: ftpci100: convert faraday,ftpci100 to YAML")
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210817174743.541353-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml