Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3450127rdh; Thu, 28 Sep 2023 12:00:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUTS/QGJfA242txBYxVEMgBRhBvZVqOt1wu50vERqNgPxDg6bbfGkJYRUGTd8g41QjGTg9 X-Received: by 2002:a05:6a21:4985:b0:160:b670:5236 with SMTP id ax5-20020a056a21498500b00160b6705236mr2050975pzc.61.1695927628966; Thu, 28 Sep 2023 12:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695927628; cv=none; d=google.com; s=arc-20160816; b=wIvAW4dtsTeZNIrvvmT6hqxqSa400BEUISi72WDkdCSGflVkcW++sM9au0APOJVLqi HYWoukgGURfA5/rV7HseIJRRSP/q+d5gGzxFop8BRpFMVq0+oeo04MAE29A2W9wM7owl IXLxRZAckYhP4/xtBXwxAphL0JTWwMK2bvgKEgqGuoC1xsTpoFiwzk7+W2bhmC3HK7uz xUBHetKtU9V/+LbZJVWTk/l2oqrSmOfZqTJLqJTPQA9PmyBxRwQiZ1ELdRX/g/4u0DmI /CZ2uwISuIa1xWpbZRikI3yIcOtOA5BOxhrd8L6o1qLxQe/AZDSfzmMvvmxyiJ9n0FP4 FZig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sEPQeXbDNX7cEZDTBC032FO6/JWl4BuZWQHhgOFQHzg=; fh=HQ2pV9fcCF/7JPtCzAEynlAYT3MytH6R1zDzDxg4qFU=; b=0VU84tECfgtIc1T9nfw/Bc38s6s738q3KTwYQydq9s0YmFCoAONvtLrxJa61ituKtM YAP1qeOmlMyPAVYmx8kB76DvBlHtGU7f+pjGs9Ccymky7LwayEaf8/ZAm0Xp2kuTtE2c UuBZOLz+KU0VUZFq8qw6epO3SbFKySpUEgEsX26i4yqamiSlV22mm6JGLHLLdY8cbl8k jvln2xpq+PYHxsqMmNqrhPMDprJExlj6rdD7HYqiU3XL8b7Zydcx/37on26ZAPo9ZKgI gFaXQulmukL8OvdQPn+dkwUrAvbP7cwzMfQs1kkm8Aihd5L4GgZfT8WkMVqMu5qdsS4g Ri6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ktNBy0jP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l63-20020a638842000000b00578a9529cfasi18994660pgd.87.2023.09.28.12.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 12:00:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ktNBy0jP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2A633801BA78; Thu, 28 Sep 2023 08:30:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbjI1Pa2 (ORCPT + 99 others); Thu, 28 Sep 2023 11:30:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbjI1PaT (ORCPT ); Thu, 28 Sep 2023 11:30:19 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53407DD; Thu, 28 Sep 2023 08:30:18 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c735473d1aso9010695ad.1; Thu, 28 Sep 2023 08:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695915017; x=1696519817; 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=sEPQeXbDNX7cEZDTBC032FO6/JWl4BuZWQHhgOFQHzg=; b=ktNBy0jPnShWfOSdU+VZPgM5cRu3lrvVUWuttuZcWPScOAP+KT/VyGSoQWoVfm1ZPe fQzGs4pMYWSCqqxlGTIZNI4kJKdgrqtQ5RnW6SC71Peaznxy/iXS/iNxnN8XKb/ToS7M MV21/NGtbYF9KB+xVEgHzxHV9dRvBUnaxPVJdIVrE6ucYpDDQ1fyvGPGps2GHHufHzaZ O4vpZAAHm/T6+8BZsls53/Lh6CaiULtqo+Vlqzpg+1VF5bTv+IWResTLxHJ1dKtBWeLC hvHv6rgF52J1qPiCpRwF7v/omVQnzNDj3f5fveDQxhR1pk/HqRYSW+IQG/a2Lf/qNtk3 bVeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695915017; x=1696519817; 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=sEPQeXbDNX7cEZDTBC032FO6/JWl4BuZWQHhgOFQHzg=; b=G5cVeNtETtpjP+q9GJ4yUuR/iVkjdZUO3ZUWj/pfhNgFy64piKDED0YDO/V38uaDYN RBb2icwP6qUHXHcv2L5lshaMlBFNSr0fJ4+PfPVC88MoAprkyBoczRiDNMp7gowY6WV5 qhw5WIzIyPSmq+2MjFfBqkvEE7etKZbys6w3vY1SuaRB8wGqh4mtLPsMDU2qyTdSuf4u j/n78fF3H2gF5iX9x9KwacHUhg3dFiOeo9EF95sgIOqy6oMOfIg0tWoG9nfS6tWejSqJ w1B2A0/LgGq+nv/O9ZzeYZXhwIjHrvpaTDfDvE7/IDUnpGM+zT1sl3wZu4LiK9QsDOcc NXtA== X-Gm-Message-State: AOJu0YxDSXZ9GaE2D+qB23bJtWS/pteTnVFZ8tGavD3i0P4IiuKJ4DRI A2QSpXf3oJsqFyGwANVzU/KICDE0b3U= X-Received: by 2002:a17:90a:6046:b0:274:b12a:37ad with SMTP id h6-20020a17090a604600b00274b12a37admr1408433pjm.37.1695915017515; Thu, 28 Sep 2023 08:30:17 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:646:a201:19d0:a19c:f3d0:698d:f7a]) by smtp.gmail.com with ESMTPSA id m6-20020a17090a414600b00274a9f8e82asm3892318pjg.51.2023.09.28.08.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:30:17 -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=20J=C3=A4rvinen?= , Max Filippov , Rob Herring Subject: [PATCH v4 2/5] dt-bindings: serial: document esp32-uart Date: Thu, 28 Sep 2023 08:16:28 -0700 Message-Id: <20230928151631.149333-3-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230928151631.149333-1-jcmvbkbc@gmail.com> References: <20230928151631.149333-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 28 Sep 2023 08:30:59 -0700 (PDT) Add documentation for the ESP32xx UART controllers. Signed-off-by: Max Filippov Reviewed-by: Rob Herring --- Changes v2->v3: - add a reference to serial.yaml 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 | 51 +++++++++++++++++++ 1 file changed, 51 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..2a80ca997a0c --- /dev/null +++ b/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml @@ -0,0 +1,51 @@ +# 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. + +allOf: + - $ref: serial.yaml# + +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>; + }; -- 2.30.2