From patchwork Sat Sep 1 16:42:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10584871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7123816B1 for ; Sat, 1 Sep 2018 16:43:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 518A42A3E7 for ; Sat, 1 Sep 2018 16:43:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 451DC2A3FA; Sat, 1 Sep 2018 16:43:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B9AF52A3E7 for ; Sat, 1 Sep 2018 16:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=WS435yVsuToqnEoA55bijPba5uYc/pmLRLuJ4r7Xup4=; b=QXS vM3ehf1k/sA4Jps+XL5v4oUvvMuL5M7Dq+9rzLyrGcP8bOJ2YOW6KLas8od0nH4FsGqOFfiv6Yd3l Fgesi3BRVlqajVqQcUD3IHHtJri1/TeFLibpjplYotT1nw+qR+iG7s7n/iTSmHUY2qVOKwENdRuK+ r1znBnN4CYk0tfCxjuR2EiH4eg/dXIj469zMYZWlMhzvMMRMZCR2JSf6gOoLAMh8ORHAP4UDgDBO/ 9ivkyS0TVdD4mA1vXrEceaHoT/ACD3wGFT01oTf9RUlsvt6NzuD/+qr4qQZ/Vw7svM8TlzS9sHf/r lx63RedUa4vMc59p2C5IYaEFUeqT26A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fw8z5-0004RB-NJ; Sat, 01 Sep 2018 16:42:51 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fw8z2-0004Pw-EV for linux-arm-kernel@lists.infradead.org; Sat, 01 Sep 2018 16:42:49 +0000 Received: by mail-pg1-x542.google.com with SMTP id g20-v6so6788836pgv.6 for ; Sat, 01 Sep 2018 09:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=XNJdvxTA3kkAmewIk12VKooCaTPzww9/QAvYulchVO4=; b=I/ddFPYHeBCAHh7eAQi0yBqXUagu30CbWJ7JleWpBs4BEHoSCg6Flr4j+nI1z2wYgC KAS5qsskwdBpk8KDb/tGTsbsFq69JBKiXPmbcikKIia+fvwD8pSbUnUfWt/fJV0RvGCw dAbbZt55/lOX0rQu+KsK0lO8j9+7Nu4xd8CMw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XNJdvxTA3kkAmewIk12VKooCaTPzww9/QAvYulchVO4=; b=STAm/+SfQO3ShOBys/lpAFuwEX1i2Q/pquRPVVkXAK6c7ZV4BX5oxiFyG9mlL2Be+H evFw/CVBIBaUvHD6uMSE/BozWsIKh7uqdEIqGp0HEOufuvKxw8oVDUWk+hInzxw+wDJS UzyowQ1aofxzA6ml/XGbqAdGRUVj5VKdb+6g5r8FCIs0dV2xG2EjWWJnfydnlidQhatH 6qUe08+VgdlucnFf/DV9T2hFYOPrmyPXUlcrzWzNmUnr5qZ/Cpk8RrqVwQXAi6qvyir8 yh3X72Kafpd1sW8GCM8kjM2kWD1Wn2C50R7142cZnPYcQMiF+o3Zh6DnZ5zMXxRaAndw f3FQ== X-Gm-Message-State: APzg51B1z6Mo5OOtJY3ah2Ma81HutgEH4td/7iOPx27bUaaNjHHnRdkJ R8TIqAbnMUMKxpBB9MgUTia5 X-Google-Smtp-Source: ANB0VdYYUuB1cv/l7dz8OT9oqYKn24PoX0RiTlqaWDpBVqQwpWkZ6nnOzyPHtiLGiHVvoXpEGyA8sw== X-Received: by 2002:a63:c347:: with SMTP id e7-v6mr19550197pgd.240.1535820156829; Sat, 01 Sep 2018 09:42:36 -0700 (PDT) Received: from localhost.localdomain ([2405:204:724a:4d47:6510:16:9ba1:39a3]) by smtp.gmail.com with ESMTPSA id y7-v6sm23763595pff.181.2018.09.01.09.42.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Sep 2018 09:42:36 -0700 (PDT) From: Manivannan Sadhasivam To: vkoul@kernel.org, dan.j.williams@intel.com, afaerber@suse.de, robh+dt@kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com Subject: [PATCH 0/3] Add slave DMA support for Actios Semi S900 SoC Date: Sat, 1 Sep 2018 22:12:12 +0530 Message-Id: <20180901164215.3683-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180901_094248_482448_E7F58495 X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, manivannanece23@gmail.com, jeff.chen@actions-semi.com, bdong@ucrobotics.com, liuwei@actions-semi.com, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, thomas.liau@actions-semi.com, linux-serial@vger.kernel.org, 96boards@ucrobotics.com, dmaengine@vger.kernel.org, pn@denx.de, Manivannan Sadhasivam , edgar.righi@lsitec.org.br, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset adds slave DMA support for Actions Semi S900 SoC of the Owl family. As a consumer, enable TX DMA support for UART peripheral in S900. The UART driver still supports interrupt mode if there is no DMA property specified in DT. The dts patch depends on the previous DMA patches which is not yet merged. Thanks, Mani Manivannan Sadhasivam (3): arm64: dts: actions: s900: Enable Tx DMA for UART5 dmaengine: Add Slave and Cyclic mode support for Actions Semi Owl S900 SoC tty: serial: Add Tx DMA support for UART in Actions Semi Owl SoCs arch/arm64/boot/dts/actions/s900.dtsi | 2 + drivers/dma/owl-dma.c | 273 +++++++++++++++++++++++++- drivers/tty/serial/owl-uart.c | 172 +++++++++++++++- 3 files changed, 439 insertions(+), 8 deletions(-)