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: 10584865 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 3C10216B1 for ; Sat, 1 Sep 2018 16:42:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 164372A395 for ; Sat, 1 Sep 2018 16:42:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A1F52A39B; Sat, 1 Sep 2018 16:42:39 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86A552A395 for ; Sat, 1 Sep 2018 16:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727119AbeIAUzL (ORCPT ); Sat, 1 Sep 2018 16:55:11 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44391 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727059AbeIAUzL (ORCPT ); Sat, 1 Sep 2018 16:55:11 -0400 Received: by mail-pg1-f195.google.com with SMTP id r1-v6so6777708pgp.11 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=ad9mpT4xr2hsOLx8W7sXWKqHzymGClFFUf7jQ3jCDlI7s0GnyL7BzgKXuQmPzkRJ94 HIGsqkVAl2DisvVRZM7NYPgEtpyg0pLq6aDW5PHzZ6EnaiWd922q1bvGtnLsUgJuancp fW7mlG2pM3swjhz5fqA6PgDOywQd30g9NUH3ySsikU22pPl9UIfFsMF6q8I9/AcD6wyk HoUpPt1vliyxzr+HKFjCrooR5IZNRDaYXJ4nZoxSxofZy+NJNXUnyKzmrggYO8Fpx5A+ wFKsdld90x7mImJ4CPeLq2YJk+M87uyLxk4Hu2uBk00/9qsFNW0FsWV2JKueO64nvC2c 1InA== X-Gm-Message-State: APzg51C7VcRTq5t077pxWoSV15AJx2p2g7TKi/fGMLKpeN7GwpggtH4Q 7fMY31pVV6lEikA/sHjUihsZ 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 Cc: linux-serial@vger.kernel.org, dmaengine@vger.kernel.org, liuwei@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, pn@denx.de, edgar.righi@lsitec.org.br, Manivannan Sadhasivam 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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(-)