Skip to content

Commit

Permalink
dt-bindings: serial: document esp32s3-acm
Browse files Browse the repository at this point in the history
Add documentation for the ESP32S3 USB CDC-ACM gadget controller.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231010085926.1021667-5-jcmvbkbc@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
jcmvbkbc authored and gregkh committed Oct 16, 2023
1 parent 8cc89a2 commit 7f399b0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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 gadget controller

maintainers:
- Max Filippov <jcmvbkbc@gmail.com>

description:
Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC.

allOf:
- $ref: serial.yaml#

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>;
};

0 comments on commit 7f399b0

Please sign in to comment.