[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <40562324-8d15-6dd6-46db-053f65b030b6@linaro.org>
Date: Fri, 20 May 2022 10:10:35 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
gregkh@...uxfoundation.org
Cc: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
matthias.bgg@...il.com, linux-serial@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH v2] dt-bindings: serial: mtk-uart: Convert txt to
json-schema
On 19/05/2022 17:23, AngeloGioacchino Del Regno wrote:
> Convert the mtk-uart documentation from freeform text to a json-schema.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
> ---
>
> v2: Changed to also accept just "mediatek,mt6577-uart" as compatible.
>
>
> .../bindings/serial/mediatek,uart.yaml | 121 ++++++++++++++++++
> .../devicetree/bindings/serial/mtk-uart.txt | 59 ---------
> 2 files changed, 121 insertions(+), 59 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> delete mode 100644 Documentation/devicetree/bindings/serial/mtk-uart.txt
>
> diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> new file mode 100644
> index 000000000000..7929aa123487
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> @@ -0,0 +1,121 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/serial/mediatek,uart.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: MediaTek Universal Asynchronous Receiver/Transmitter (UART)
> +
> +maintainers:
> + - Matthias Brugger <matthias.bgg@...il.com>
> +
> +allOf:
> + - $ref: serial.yaml#
> +
> +description: |+
No need for |+
> + The MediaTek UART is based on the basic 8250 UART and compatible
> + with 16550A, with enhancements for high speed baud rates and
> + support for DMA.
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
This is just single item, so no items.
> + - const: mediatek,mt6577-uart
Best regards,
Krzysztof
Powered by blists - more mailing lists