2021-10-08 23:57:00

by David Heidelberg

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

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 <[email protected]>
---
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


2021-10-13 13:26:42

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property

On Fri, Oct 8, 2021 at 6:54 PM David Heidelberg <[email protected]> wrote:
>
> 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 <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 1 -
> 1 file changed, 1 deletion(-)

Thanks for fixing.

Acked-by: Rob Herring <[email protected]>