From patchwork Wed Sep 20 02:26:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 1836931 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=brbDSTHa; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=permerror (SPF Permanent Error: More than 10 MX records returned) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-1557-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rr2Vd2Cl9z1yhR for ; Wed, 20 Sep 2023 12:27:21 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 92E211C2082C for ; Wed, 20 Sep 2023 02:27:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 579011864; Wed, 20 Sep 2023 02:27:07 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E34FD1857 for ; Wed, 20 Sep 2023 02:27:05 +0000 (UTC) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 291EFC5; Tue, 19 Sep 2023 19:27:03 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3aca5c85a34so4381539b6e.3; Tue, 19 Sep 2023 19:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695176822; x=1695781622; 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=EFp5dcr86642Gm0jWlFS8dlTBzQtD+VYPc/5vpg94e8=; b=brbDSTHasaJIlDMaJyyUCsWcO0DJ6a68I6RebxUc2rcMZQSnVJ0CkDqm8sIQVx5nes i0l4NR2b6SG2SciBAk2tCJxIXSYBKYGTsuMESCOjKXmzBGvIs3/W2mznRcA0ctuRbRfc 2iMT/lV7CGYaSA1o+5lGhDPkCGAKfC8PtaA+e6JTlUNoSgeyjvks/NARYnOS6IISKZnf B/pq2b/XMvfRmzNnq4NmHo189nUnkA8jySHA9vnIx7jCiAL3LToCV5FGaSumq3q7nCPB LuD39/WiSKChJRH8Fs85hXP6RJR+xmTROndT4Z3R0eshpBI9K7qj9ckiJugNC3SZfn/t dlpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695176822; x=1695781622; 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=EFp5dcr86642Gm0jWlFS8dlTBzQtD+VYPc/5vpg94e8=; b=boRUqUewtr2GKAoP1gGbHZpp7kRtg4GT3ZnYXaNPyZP/Fbv/LZtdnTYXM8m4KeewGa sf0DAG804jTj5a17Bq7/Y8mwrrAFrSG25QIbhO5MeVlcDsfPdcOpMyZ5iZlInhh8ZZ0i xM+5gbJf3KSctOe8gFdlw4OQ82hSyZHKdecxPTVFL6EZnZGjjoT/s4kDy5RIBl6yDrZe w2AX8s5SRLxkgNBVU1Nrr85CEY2Sr1BN9sOm70r2eZkuHrv1c7MxvSj8PTzCqGKN0lJv Nn3WAaz0287cUdxcIOpYd89SARswwDviwhWuIp8nE+WuKj7vMjF3xdT7qgBda0qoX05f 3o1w== X-Gm-Message-State: AOJu0YzZY32ViIF/g/fnUerizXTdVVuN7CDsC5acemC5nS8h6eXSr+RG EOoVYIguCBDmLs4fs7xnL++zQi5mLUo= X-Google-Smtp-Source: AGHT+IEb3kx6scx+qBGioyQ9JNEYrxApeHbBklPcWL4W0AB5nV0SxX81IfXLHlxNyB460gdPUKTeUQ== X-Received: by 2002:a05:6808:1484:b0:3ab:84f0:b49d with SMTP id e4-20020a056808148400b003ab84f0b49dmr1361354oiw.3.1695176822033; Tue, 19 Sep 2023 19:27:02 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:646:a201:19d0:9ca3:318f:421e:68cb]) by smtp.gmail.com with ESMTPSA id p15-20020a62ab0f000000b0067aea93af40sm9224757pff.2.2023.09.19.19.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 19:27:01 -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 v2 2/5] dt-bindings: serial: document esp32-uart Date: Tue, 19 Sep 2023 19:26:41 -0700 Message-Id: <20230920022644.2712651-3-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230920022644.2712651-1-jcmvbkbc@gmail.com> References: <20230920022644.2712651-1-jcmvbkbc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Add documentation for the ESP32xx UART controllers. Signed-off-by: Max Filippov --- Changes v1->v2: - drop '|' from description - change 'compatible' property type to enum - drop label from the example node - fix example indentation .../bindings/serial/esp,esp32-uart.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml diff --git a/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml b/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml new file mode 100644 index 000000000000..707c10eb093c --- /dev/null +++ b/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/esp,esp32-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ESP32xx UART controllers + +maintainers: + - Max Filippov + +description: + ESP32 UART controller is a part of the ESP32 SoC. + ESP32S3 UART controller is a part of the ESP32S3 SoC. + Both SoCs are produced by Espressif Systems Co. Ltd. + +properties: + compatible: + enum: + - esp,esp32-uart + - esp,esp32s3-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + serial@60000000 { + compatible = "esp,esp32s3-uart"; + reg = <0x60000000 0x80>; + interrupts = <27 1 0>; + clocks = <&serial_clk>; + };