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: 13135439 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0207DC636CD for ; Fri, 10 Feb 2023 07:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TEQzi698rckT1PETDlZKrLALk4ygDzGksHI6PT5RUEk=; b=pbB9riTz75ejX1 0D7HzH2jABcfuAfH2aLUxErVgZv0EGjfHugco4oSyQDEVd/maUXIWQSGZ3WOtWTrRxpQHiUKHrZSY 9oK9rZ1vR1rEJXNpl8AiNng+fRzb1B2QuKXy5H48+F0jFsJm6EEhlr93huMXHWFvzfo7+q6AYxkZ9 GPf7jsxL068YteqZOC1BVD+JsbI7+6BFabKW5AU/Y7SdeHI1KOjg4BvrnroKFwvMDWRUv2L3ki+Q1 3bGy9YUYWlYgJbEqosXUzXpHI/UiE1cFx6iP+c0KB1CLNeWwcyLzQK2CGiEiAOpm5BllpMul18w4W OxKAjbxM9NQnheEEkk4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQNp9-004c7Y-Sg; Fri, 10 Feb 2023 07:27:59 +0000 Received: from twspam01.aspeedtech.com ([211.20.114.71]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQNop-004bxH-Ov for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2023 07:27:42 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_232740_284123_53A00C19 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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