From patchwork Mon Sep 25 08:48:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 726662 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 753D5CE7A89 for ; Mon, 25 Sep 2023 08:49:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233042AbjIYItG (ORCPT ); Mon, 25 Sep 2023 04:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233022AbjIYIs7 (ORCPT ); Mon, 25 Sep 2023 04:48:59 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75853DF; Mon, 25 Sep 2023 01:48:52 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-59c0b9ad491so69179667b3.1; Mon, 25 Sep 2023 01:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695631731; x=1696236531; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zb+624UUBKDcwZQ/7XWg8oIcy8SQSu42zOyMRW5Nuus=; b=hE7jb3K8YR+HPu2kT+YNTkssl4j0ZW9H2Xstkz1fyFGOSfX+Zn3o4sGKbb0orMdWVD TrU8qy10fgsCqJIEZm42AwRlMYJ5x9sjns0wGepEZHctsFatrpDfDOaj6NnWSoe3hBBL M4NmGD9LjkdOYTX4qvxha4iF6Z3zU1SKC35pIh2tFv6Tm4C5y8yYuYUBML4ZvmyeGtR/ r2gWj/TNnPr6kJZYiGxEXT4uEyp7dRhTBTRNrkYn1+HP1uGhFb3tZeKg32zv1tB4ML2L 5SoUW0PF39+c5inJJ0rkp0lEnWBk84ZDM/QTqyLmP/s8yX6TfIgrf4rUqf4jtmrsuWfB PsgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695631731; x=1696236531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zb+624UUBKDcwZQ/7XWg8oIcy8SQSu42zOyMRW5Nuus=; b=tyNopvKbJ2IM/jJTaR+we46NPqfsQGKJCPQ6FR9sY3bIKLqAwpkeGYDgvPJxFIAuEg zBxtTulLKuPV6M2Rz2GveOThCgbW0WadcufWhEwPjKhToHuNdjJu8UfIAE8wunQYei1Q q9E2tGeKnRUmIKycaxyCpeHy24kgiVcMY0UgHN+X+EtK7Seg9Wx9AQ3ztfGYyZnP+HsS 1EHw4ZpGaTrj2uwufoGnHrqehm56cq6oIG9LVC1bqDi4q5J7XpEgFb6VbhddExsirsCm R26aB+KlzAX/o6IG4ICX8otQBF6BxaJKFYJaWBVf8K1mFiNbw1tC+yBRSCIa7IN3w2kl D9Bg== X-Gm-Message-State: AOJu0YyFoGmeUO3MTa7GeiICtE2WsdZMDVxl04vI0QX5+SsfYJOpU8fg d7iAxP/AWu6tvaji7h3FLq25FeR1B7E= X-Google-Smtp-Source: AGHT+IFU29zrG3SjBujwd+KAgtwsYpBqn5wmDwpSdgFLT+FMFp+ImF92sjUZ9nT0gsa8EHM8i5MfcQ== X-Received: by 2002:a5b:54b:0:b0:d06:f99e:6345 with SMTP id r11-20020a5b054b000000b00d06f99e6345mr4627203ybp.22.1695631731355; Mon, 25 Sep 2023 01:48:51 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:646:a201:19d0:bc97:e554:1bd8:be33]) by smtp.gmail.com with ESMTPSA id t63-20020a638142000000b0055c178a8df1sm7406376pgd.94.2023.09.25.01.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 01:48:50 -0700 (PDT) From: Max Filippov To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Max Filippov Subject: [PATCH v3 4/5] dt-bindings: serial: document esp32s3-acm Date: Mon, 25 Sep 2023 01:48:24 -0700 Message-Id: <20230925084825.4160708-5-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230925084825.4160708-1-jcmvbkbc@gmail.com> References: <20230925084825.4160708-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add documentation for the ESP32S3 USB CDC-ACM controller. Signed-off-by: Max Filippov Reviewed-by: Rob Herring --- Changes v2->v3: - add a reference to serial.yaml Changes v1->v2: - fix description - rename node in the example - fix example indentation .../bindings/serial/esp,esp32-acm.yaml | 42 +++++++++++++++++++ 1 file changed, 42 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..e385ca9d9e2b --- /dev/null +++ b/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml @@ -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 controller + +maintainers: + - Max Filippov + +description: + Fixed function USB CDC-ACM device 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>; + };