From patchwork Fri Feb 10 07:26:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiaWei Wang X-Patchwork-Id: 5217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp809277wrn; Thu, 9 Feb 2023 23:31:22 -0800 (PST) X-Google-Smtp-Source: AK7set8z9z5S1gEI+BUK+TEIQyI+SIzzy7KdtMY5zgNaBi+UGV02iI/RiC96vOr48d9UR02karTL X-Received: by 2002:a17:907:3e27:b0:86c:a3ed:1442 with SMTP id hp39-20020a1709073e2700b0086ca3ed1442mr19049446ejc.4.1676014282486; Thu, 09 Feb 2023 23:31:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676014282; cv=none; d=google.com; s=arc-20160816; b=gjwyYRVvhy36YFhtwrl6AMrIjUih/TxS0X+BCKOs1xFRHONs+C+KxXAl3zLKn/dnWh 84HBsMLltJPInX1HPdnC2inE3TOh02luO+alPm423L3pCN5YEu0gbySg5k6HeznonY62 UaJTjXEGwYcxhdQjupnJvLCrAmCGrR615erQUWxJxPcn+bkMXYGSrrBTMpGPESmtMW5a q/9sxSrLlrsNwp/WwZHxW+ikrLPVZ6v1NaJ4/MqolI16MLkLBCzeF0s/xBUY5/6u/0hN v0bPYuYX/8tPG8LndKwQxxVQwXPxl4Xzvlu4/84G5TG4ABGwVZiy8z2cuiGW7USBxRKu 4Gdw== 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:to:from; bh=gg8RhxaghlHtCbgvBtLH6v7aGl4fJ9028aWN/ywzhvo=; b=F8r7uGCXR6LhT6JDoZFHSj4thFARKquLiXEuYYmlY39oHLClN1XYfURgmftrZhPzPK /hTKnY/LB7XB8MevORir4PJDU6ojsJBwdWQPed4RBLD5Gi0sMjadNSswZcryrSL05i7c aw2wh3mtzb7O1UGywDRC+bbqenzK8WtpbP1WIH+hEgNdx3ZUMqHuMAlO8qZcubd0ST8g mJ2rw+p7+SEuS/StnJr42uNPnVvfxgVis9CiOZ2M485SVMLiYX501dIwIROnQfKBnlXc 2EQ4S37JqjKb80qIJw5vlV8LyDOlunE7FYFpyVWTW2MKW2hxui3CHaqAwPW8xC45w2p8 zarQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020a170906749600b008af2aa0dd33si2519837ejl.973.2023.02.09.23.30.58; Thu, 09 Feb 2023 23:31:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231432AbjBJH1y (ORCPT + 99 others); Fri, 10 Feb 2023 02:27:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbjBJH1x (ORCPT ); Fri, 10 Feb 2023 02:27:53 -0500 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3E055ACFE; Thu, 9 Feb 2023 23:27:51 -0800 (PST) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 31A7EW2B068844; Fri, 10 Feb 2023 15:14:32 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from Chiawei-PC03.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Feb 2023 15:26:47 +0800 From: Chia-Wei Wang To: , , , , , , , , , , , Subject: [PATCH 0/4] arm: aspeed: Add UART with DMA support Date: Fri, 10 Feb 2023 15:26:39 +0800 Message-ID: <20230210072643.2772-1-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [192.168.2.66] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 31A7EW2B068844 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757428352166564986?= X-GMAIL-MSGID: =?utf-8?q?1757428352166564986?= This patch series add the serial driver with DMA support for AST26xx UART and VUART devices. Chia-Wei Wang (4): dt-bindings: aspeed: Add UART controller soc: aspeed: Add UART DMA support serial: 8250: Add Aspeed UART driver ARM: dts: aspeed-g6: Add UDMA node .../bindings/serial/aspeed,uart.yaml | 81 +++ arch/arm/boot/dts/aspeed-g6.dtsi | 7 + drivers/soc/aspeed/Kconfig | 9 + drivers/soc/aspeed/Makefile | 1 + drivers/soc/aspeed/aspeed-udma.c | 447 ++++++++++++++++ drivers/tty/serial/8250/8250_aspeed.c | 502 ++++++++++++++++++ drivers/tty/serial/8250/Kconfig | 8 + drivers/tty/serial/8250/Makefile | 1 + include/linux/soc/aspeed/aspeed-udma.h | 34 ++ 9 files changed, 1090 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/aspeed,uart.yaml create mode 100644 drivers/soc/aspeed/aspeed-udma.c create mode 100644 drivers/tty/serial/8250/8250_aspeed.c create mode 100644 include/linux/soc/aspeed/aspeed-udma.h