[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <196fb9ac-53b7-51a6-6ce4-9f980215fde4@linaro.org>
Date: Thu, 14 Sep 2023 07:57:32 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Max Filippov <jcmvbkbc@...il.com>, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, devicetree@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>
Subject: Re: [PATCH 3/4] dt-bindings: serial: document esp32s3-acm bindings
On 13/09/2023 23:14, Max Filippov wrote:
> Add documentation for the ESP32S3 ACM controller.
A nit, subject: drop second/last, redundant "bindings". The
"dt-bindings" prefix is already stating that these are bindings.
>
> Signed-off-by: Max Filippov <jcmvbkbc@...il.com>
> ---
> .../bindings/serial/esp,esp32-acm.yaml | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
>
> diff --git a/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml b/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
> new file mode 100644
> index 000000000000..dafbae38aa64
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/serial/esp,esp32-acm.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ESP32S3 ACM controller
> +
> +maintainers:
> + - Max Filippov <jcmvbkbc@...il.com>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + ESP32S3 ACM controller is a communication device found in the ESP32S3
What is "ACM"? Why is this in serial? Only serial controllers are in
serial. The description is very vague, way too vague.
> + SoC that is connected to one of its USB controllers.
Same comments as previous patch.
> +
> +properties:
> + compatible:
> + const: esp,esp32s3-acm
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + acm@...38000 {
> + compatible = "esp,esp32s3-acm";
Use 4 spaces for example indentation.
> + reg = <0x60038000 0x1000>;
> + interrupts = <96 3 0>;
Same comments as previous patch.
> + };
Best regards,
Krzysztof
Powered by blists - more mailing lists