Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3733545rdb; Thu, 14 Sep 2023 00:24:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEty/iNmlwRzALQb4W8kgldtDKd7ex6Y9ccxCU131bPH/4NI1lfAk7gXsRgL+Pk4jdMN8Xh X-Received: by 2002:a05:6358:5924:b0:135:51a5:4da0 with SMTP id g36-20020a056358592400b0013551a54da0mr5338473rwf.1.1694676248473; Thu, 14 Sep 2023 00:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694676248; cv=none; d=google.com; s=arc-20160816; b=rLA1vTnaKsDZoMpgewpYNYMKZ3/9cgJIPvKt+BVx/YwoI4VJFOnWwPogrxUU+BIEwS wk4TS89MhGSp45C8mk0ZALpUUtpemJbph8xJOgRdnbhKwinHeY9UE8XgrTylfRAj/YoN HQn/0fwkMOe2ZAgERlITadXG3gpccxLIT4UNlm/0V0/IZqbeVxc3eB27MV32yp/+I6z1 9FX2S6r+LjQariKCPKyJNCv/iWdKF4EgTT+k2Dzt4dN7O26ZsJ1og1lxeFhlatIvDPdP VotWz6zTEo2bbQwnxed6qMAx78UcZiX4FwhQac1XgsVS9kOi66QqRtkowGMfG4FVvYDz GGGA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gsH9bk643G8YxEeFoePkpJ9hzS+Ib/AEJLLU+UFoGDw=; fh=acVikVMbwFOwamUuHB8M0QgaAfnMDk6x8tH4oLYsdrw=; b=VD3rxGCxN0kDZmnZT6ThKbG5lpAS4iTzBXuZy420J9MkAXOXPbNoagyPm9x9UJpwpr yP9oldShLsDOxnDwzbxuCf1lvVxdTZ1l3KOcxUW8Hj71vk/h73XlhPPvYJfyj3tBCWki qlgdmUwdROEFnFm5bmYGir4MC0OC2QoZ70GrU7XZ5jRYhsNXE+hZnYHFjJmZ8R1Comke DuJsLJLCN6HyQT9J5d7MusN5/kNPXzGCYMcoI0y4HO/D8DRNKXVd+j2mb7vmjtifwayW eKwcLO0Gh+9T/lyD6n9/gGckXOqXB6E2/80wmpc+RmZn8l/HENSDhPkDl7dSULsMrn7Y lI5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=K1LxRNZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l28-20020a63701c000000b00565313fe9d2si973184pgc.733.2023.09.14.00.24.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 00:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=K1LxRNZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id D98158341001; Wed, 13 Sep 2023 14:15:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232795AbjIMVPP (ORCPT + 99 others); Wed, 13 Sep 2023 17:15:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232740AbjIMVPO (ORCPT ); Wed, 13 Sep 2023 17:15:14 -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 80D8D1724; Wed, 13 Sep 2023 14:15:10 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c328b53aeaso1848075ad.2; Wed, 13 Sep 2023 14:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694639710; x=1695244510; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gsH9bk643G8YxEeFoePkpJ9hzS+Ib/AEJLLU+UFoGDw=; b=K1LxRNZjIQ01N0iwkNGyXJeoGw5bvBiNEnhjGzNrA83q5THrZFeml2+BkiFN2O7WdJ HS6gZ9P/ySr7nremXIpRZm/4ekJbTohXYCVVawXNe2HiOco43kFp6ERuLoMaG5DBe7XG U35aydFsMgOfvEP+A8qqufBHW38NxuhVl3CkRFRoT7BO6OuMTU5aDV+wcFkncOcmSF6t Vv3fQfkLYM1LVXaiVtjm4Ct4sfURtR+W4dNWZzosXTDXeSFO283ABu/kRyq4+8AXIrgJ jps9EYH9bfcAh8tJltWzTaHLqvCMJaS4nYpMtYSiI+fRvhZP32t0p6TcvtheE6P4N2SM 2JsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694639710; x=1695244510; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gsH9bk643G8YxEeFoePkpJ9hzS+Ib/AEJLLU+UFoGDw=; b=ipAWHJiK3eBzns8+gAORJKmMCB7S2zOA6uCwVhXFBQI3pxGNsWqpGs1slgXC9QE4jl BQbhCBlDElaJwLJhJhi/r37bMcR13h3EncY7sYXyLXINdZOEtzTJerI14/Vm4Tbvde0k DzxrxLbQF6wQQDrCACOJM1DK+As6e/gz92zex06HAw08XvlNMNrqwM9O+8+iYv/KtnfL QJGJow2n7kPbb6FenQm1EpUc1HBDSJtPG73EeCXMZH3vNaqMQy6ot01gfn0C6MzmYyA1 zXeaGXn+Ca/SOIeL47GT3N2tvEXr64+FqYB7qNz8k67UwcsHIpAWututflF4IsC4RSah ekIA== X-Gm-Message-State: AOJu0Ywvu5kbjfx3nzKZn2XDfIIVSOJYqnNYjyN9j2otccPoOc+byTw4 m1w9pUZnYanomVPgAVolAq/Bfeopln4= X-Received: by 2002:a17:902:ecc5:b0:1c3:7628:fcbb with SMTP id a5-20020a170902ecc500b001c37628fcbbmr4876872plh.43.1694639709665; Wed, 13 Sep 2023 14:15:09 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:646:a201:19d0:82b1:d7c2:2eaf:61e7]) by smtp.gmail.com with ESMTPSA id e18-20020a17090301d200b001b8c689060dsm73707plh.28.2023.09.13.14.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 14:15:09 -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 , Max Filippov Subject: [PATCH 0/4] serial: add drivers for the ESP32xx serial devices Date: Wed, 13 Sep 2023 14:14:45 -0700 Message-Id: <20230913211449.668796-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 14:15:15 -0700 (PDT) Hello, this series adds drivers for the UART and ACM controllers found in the Espressif ESP32 and ESP32S3 SoCs. Max Filippov (4): dt-bindings: serial: document esp32-uart bindings drivers/tty/serial: add driver for the ESP32 UART dt-bindings: serial: document esp32s3-acm bindings drivers/tty/serial: add ESP32S3 ACM device driver .../bindings/serial/esp,esp32-acm.yaml | 40 + .../bindings/serial/esp,esp32-uart.yaml | 48 ++ drivers/tty/serial/Kconfig | 27 + drivers/tty/serial/Makefile | 2 + drivers/tty/serial/esp32_acm.c | 473 +++++++++++ drivers/tty/serial/esp32_uart.c | 766 ++++++++++++++++++ include/uapi/linux/serial_core.h | 6 + 7 files changed, 1362 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml create mode 100644 drivers/tty/serial/esp32_acm.c create mode 100644 drivers/tty/serial/esp32_uart.c -- 2.30.2