Message ID | 20230920022644.2712651-5-jcmvbkbc@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
Series | serial: add drivers for the ESP32xx serial devices | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 20/09/2023 04:26, Max Filippov wrote: > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + Same comment here - missing $ref to serial.yaml. Sorry for no bringing it up earlier. Best regards, Krzysztof
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..6ec836db694a --- /dev/null +++ b/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml @@ -0,0 +1,39 @@ +# 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@gmail.com> + +description: + Fixed function USB CDC-ACM device controller of the Espressif ESP32S3 SoC. + +properties: + compatible: + const: esp,esp32s3-acm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + serial@60038000 { + compatible = "esp,esp32s3-acm"; + reg = <0x60038000 0x1000>; + interrupts = <96 3 0>; + };
Add documentation for the ESP32S3 USB CDC-ACM controller. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Changes v1->v2: - fix description - rename node in the example - fix example indentation .../bindings/serial/esp,esp32-acm.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml