From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
gregkh@linuxfoundation.org
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
matthias.bgg@gmail.com, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2] dt-bindings: serial: mtk-uart: Convert txt to json-schema
Date: Fri, 20 May 2022 10:10:35 +0200 [thread overview]
Message-ID: <40562324-8d15-6dd6-46db-053f65b030b6@linaro.org> (raw)
In-Reply-To: <20220519152329.55028-1-angelogioacchino.delregno@collabora.com>
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@collabora.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@gmail.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
prev parent reply other threads:[~2022-05-20 8:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-19 15:23 [PATCH v2] dt-bindings: serial: mtk-uart: Convert txt to json-schema AngeloGioacchino Del Regno
2022-05-20 8:10 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40562324-8d15-6dd6-46db-053f65b030b6@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).