Thread (2 messages) 2 messages, 2 authors, 2021-10-13
STALE1728d LANDED

[PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property

From: David Heidelberg <david@ixit.cz>
Date: 2021-10-08 23:54:50
Also in: linux-serial, lkml
Subsystem: open firmware and flattened device tree bindings, the rest, tty layer and serial drivers · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

Fixes warning:
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml: properties:xlnx,data-bits: {'const': '$ref'} is not allowed for '$ref'
	hint: Standard unit suffix properties don't need a type $ref
	from schema $id: http://devicetree.org/meta-schemas/core.yaml#

Signed-off-by: David Heidelberg <david@ixit.cz>
---
 Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
index b8a2bfe14bed..f7617b88c7c3 100644
--- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
+++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
@@ -38,7 +38,6 @@ properties:
       The fixed baud rate that the device was configured for.
 
   xlnx,data-bits:
-    $ref: /schemas/types.yaml#/definitions/uint32
     enum: [5, 6, 7, 8]
     description:
       The fixed number of data bits that the device was configured for.
-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help