* [PATCH] dt-bindings: serial: xlnx,opb-uartlite: Drop 'contains' from 'xlnx,use-parity'
@ 2022-11-11 21:28 Rob Herring
0 siblings, 0 replies; only message in thread
From: Rob Herring @ 2022-11-11 21:28 UTC (permalink / raw)
To: Greg Kroah-Hartman, Krzysztof Kozlowski, Peter Korsgaard
Cc: linux-serial, devicetree, linux-kernel
'contains' applies to arrays, but 'xlnx,use-parity' is a scalar. So drop
'contains' from the 'if' schema.
Signed-off-by: Rob Herring <robh@kernel.org>
---
.../devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
index f7617b88c7c3..2f4390e8d4e8 100644
--- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
+++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
@@ -67,8 +67,7 @@ allOf:
- if:
properties:
xlnx,use-parity:
- contains:
- const: 1
+ const: 1
then:
required:
- xlnx,odd-parity
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-11 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 21:28 [PATCH] dt-bindings: serial: xlnx,opb-uartlite: Drop 'contains' from 'xlnx,use-parity' Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).