linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property
@ 2021-10-08 23:43 David Heidelberg
  2021-10-13 13:24 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: David Heidelberg @ 2021-10-08 23:43 UTC (permalink / raw)
  To: robh+dt, gregkh; +Cc: linux-serial, devicetree, linux-kernel, David Heidelberg

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property
  2021-10-08 23:43 [PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property David Heidelberg
@ 2021-10-13 13:24 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-10-13 13:24 UTC (permalink / raw)
  To: David Heidelberg
  Cc: Greg Kroah-Hartman, open list:SERIAL DRIVERS, devicetree, linux-kernel

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

Thanks for fixing.

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-13 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 23:43 [PATCH] dt-bindings: serial: uartlite: drop $ref for -bits property David Heidelberg
2021-10-13 13:24 ` 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).