dt-bindings: serial: uartlite: drop $ref for -bits property
authorDavid Heidelberg <david@ixit.cz>
Fri, 8 Oct 2021 23:43:12 +0000 (01:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 13:32:17 +0000 (15:32 +0200)
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#

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20211008234312.61688-1-david@ixit.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml

index b8a2bfe14bed2c5fa64fdb8b403dc476f7155010..f7617b88c7c36189b9bac7dd09e6f410242f282c 100644 (file)
@@ -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.