Thread (2 messages) 2 messages, 2 authors, 2021-08-17

Re: [PATCH] dt-bindings: PCI: faraday,ftpci100: Fix 'contains' schema usage

flat view

From: Linus Walleij <hidden>
Date: 2021-08-17 20:28:09
Also in: linux-pci, lkml

On Tue, Aug 17, 2021 at 7:47 PM Rob Herring [off-list ref] wrote:
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 <bhelgaas@google.com>
Cc: Linus Walleij <redacted>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help