Skip to contentSkip to conversation

dt-bindings: serial: xlnx,opb-uartlite: Drop 'contains' from 'xlnx,use-parity'

PATCH New Rob Herring 1 participant 1 message Nov 11, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: serial: xlnx,opb-uartlite: Drop 'contains' from 'xlnx,use-parity'

'contains' applies to arrays, but 'xlnx,use-parity' is a scalar. So drop 'contains' from the 'if' schema.

---
 .../devicetree/bindings/serial/xlnx,opb-uartlite.yaml          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml +1 -2
index f7617b88c7c3..2f4390e8d4e8 100644
@@ -67,8 +67,7 @@ allOf:
   - if:
       properties:
         xlnx,use-parity:
-          contains:
-            const: 1
+          const: 1
     then:
       required:
         - xlnx,odd-parity
Signature · 1 line
2.35.1