From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Brenda Streiff <brenda.streiff@ni.com>
Cc: Gratian Crisan <gratian.crisan@ni.com>,
Jason Smith <jason.smith@ni.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Jiri Slaby <jirislaby@kernel.org>,
linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH tty-next 1/2] dt-bindings: serial: ni,ni16650: add bindings
Date: Thu, 30 Mar 2023 09:28:59 +0200 [thread overview]
Message-ID: <9cd03cb0-0924-3431-8fe3-4d5f4a27b1a1@linaro.org> (raw)
In-Reply-To: <20230329154235.615349-2-brenda.streiff@ni.com>
On 29/03/2023 17:42, Brenda Streiff wrote:
> Add bindings for the NI 16550 UART.
>
> Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
> Cc: Gratian Crisan <gratian.crisan@ni.com>
> Cc: Jason Smith <jason.smith@ni.com>
> ---
> .../bindings/serial/ni,ni16550.yaml | 53 +++++++++++++++++++
> 1 file changed, 53 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/serial/ni,ni16550.yaml
>
> diff --git a/Documentation/devicetree/bindings/serial/ni,ni16550.yaml b/Documentation/devicetree/bindings/serial/ni,ni16550.yaml
> new file mode 100644
> index 000000000000..4ac1c96726f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/ni,ni16550.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/serial/ni,ni16550.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NI 16550 asynchronous serial interface (UART)
> +
> +maintainers:
> + - Brenda Streiff <brenda.streiff@ni.com>
> +
> +allOf:
> + - $ref: serial.yaml#
> +
> +properties:
> + compatible:
> + items:
You have one item, so remove item.
> + - enum:
> + - ni,ni16550
As Rob pointed out - you did not test it at all.
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clock-frequency: true
> +
> + transceiver:
Missing description, type and maybe vendor prefix if this is not a
common property. Explain what's this.
> + items:
Not a list.
> + - enum:
> + - RS-232
> + - RS-485
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clock-frequency
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + serial@80000000 {
Broken indentation.
Use 4 spaces for example indentation.
> + compatible = "ni,ni16550", "ns16550a";
> + reg = <0x80000000 0x8>;
> + interrupts = <0 30 4>;
> + clock-frequency = <58824000>;
> + transceiver = "RS-485";
> + };
> +
> +...
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-03-30 7:29 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-29 15:42 [PATCH tty-next 0/2] serial: Add driver for National Instruments UARTs Brenda Streiff
2023-03-29 15:42 ` [PATCH tty-next 1/2] dt-bindings: serial: ni,ni16650: add bindings Brenda Streiff
2023-03-29 21:40 ` Rob Herring
2023-03-30 7:28 ` Krzysztof Kozlowski [this message]
2023-03-31 17:59 ` Brenda Streiff
2023-03-31 20:00 ` Krzysztof Kozlowski
2023-03-29 15:42 ` [PATCH tty-next 2/2] serial: 8250: add driver for NI UARTs Brenda Streiff
2023-03-29 16:30 ` Greg Kroah-Hartman
2023-03-31 17:59 ` Brenda Streiff
2023-03-30 6:28 ` kernel test robot
2023-03-30 7:30 ` Krzysztof Kozlowski
2023-03-31 11:46 ` Ilpo Järvinen
2023-03-31 17:59 ` Brenda Streiff
2023-04-05 10:17 ` Ilpo Järvinen
2023-04-10 21:11 ` [PATCH v2 tty-next 0/2] serial: Add driver for National Instruments UARTs Brenda Streiff
2023-04-10 21:11 ` [PATCH v2 tty-next 1/2] dt-bindings: serial: ni,ni16650: add bindings Brenda Streiff
2023-04-11 5:44 ` Krzysztof Kozlowski
2023-04-12 22:24 ` Brenda Streiff
2023-04-13 7:39 ` Krzysztof Kozlowski
2023-04-13 20:44 ` Brenda Streiff
2023-04-14 7:42 ` Krzysztof Kozlowski
2023-04-10 21:11 ` [PATCH v2 tty-next 2/2] serial: 8250: add driver for NI UARTs Brenda Streiff
2023-04-18 22:37 ` [PATCH v3 tty-next 0/2] serial: Add driver for National Instruments UARTs Brenda Streiff
2023-04-18 22:37 ` [PATCH v3 tty-next 1/2] dt-bindings: serial: ni,ni16650: add bindings Brenda Streiff
2023-04-19 8:46 ` Krzysztof Kozlowski
2023-04-18 22:38 ` [PATCH v3 tty-next 2/2] serial: 8250: add driver for NI UARTs Brenda Streiff
2023-04-19 11:43 ` Ilpo Järvinen
2023-04-28 21:03 ` Brenda Streiff
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=9cd03cb0-0924-3431-8fe3-4d5f4a27b1a1@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=brenda.streiff@ni.com \
--cc=devicetree@vger.kernel.org \
--cc=gratian.crisan@ni.com \
--cc=gregkh@linuxfoundation.org \
--cc=jason.smith@ni.com \
--cc=jirislaby@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--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).