Received: by 10.223.185.116 with SMTP id b49csp3710995wrg; Tue, 6 Mar 2018 03:48:53 -0800 (PST) X-Google-Smtp-Source: AG47ELstHfxIaHn5l7OuzM8UxqAUM9NKuoGJXdgY/9zXcyrW1Uy2EcNde6Oq5Jwm0PT3dX7f6Yml X-Received: by 2002:a17:902:6bc2:: with SMTP id m2-v6mr15794120plt.432.1520336933189; Tue, 06 Mar 2018 03:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520336933; cv=none; d=google.com; s=arc-20160816; b=rAYK+aNFmaPu3+YpQoySMbqU55LrDqSXFL/GQB/+05hUyXiJEyokhkgqvuJJiMNgkc ZF8oFj7cv144v3zrOnCelO0Y5BwPuTubF0oGcAcSnvdWeQF6QpwaFlE//elfCUoVCsfP 8BwcpMfk+dPA5LRyxYVsdJ9A6xdgKguWjOP+U0WLpoukL8KAq4nVnbYH3O0TI+vejWZx zWmamIjKkkWMG20hH2W7c4X2pfJg2Ey7MSa2wr/ALQn2uq83bkTB5/nBlptkTDPfswOu /yAQ+bymhfu1lp2uSQM/rS/SYVmzvywFVETtGz+KOp1Wofr667pr8hJ1BtbilFMUNGF9 GCMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=GXbwcC1ZfvLav0tdKBm/Y/AEVyAk6sZdSTB0mq7lYlQ=; b=hkHI2UW/Hfildg6+4EKr3KGFAdI0uAkY2EL8cMc/aOzeohN1yQn47qsdGTOKgWia85 PhLq7LeQjT8lLqsRiRxRosn+NnkTUfMa3IwfUYNPhzzUPfg6N9UI9j+TxoodoWr8ie73 NqkQgMtyF1sQ6DfUwYBMA+iVhiss7AvATs7HTa41eCmV6ZAz6019mLyf1h2sDjcXPtgA +W+H28b6Kp1Ru8jBWBmIJldEbeMY/CN+HAZruEMEt1LNGc0T9xU3LAovySnaX2JBJBDA KmUP+f5q61DOoakgS8T6Z67WLwaTkp9a5dvTWKIPfLmwER3hMSxhE1tzK8vKEZSiKKcI aCRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si11002773plx.791.2018.03.06.03.48.39; Tue, 06 Mar 2018 03:48:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529AbeCFLqW (ORCPT + 99 others); Tue, 6 Mar 2018 06:46:22 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:41022 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753500AbeCFLqU (ORCPT ); Tue, 6 Mar 2018 06:46:20 -0500 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 2485910C03D0; Tue, 6 Mar 2018 03:46:20 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 03FF73B2B; Tue, 6 Mar 2018 03:46:20 -0800 (PST) Received: from paltsev-e7480.internal.synopsys.com (unknown [10.121.8.67]) by mailhost.synopsys.com (Postfix) with ESMTP id 502803AE7; Tue, 6 Mar 2018 03:46:17 -0800 (PST) From: Eugeniy Paltsev To: dmaengine@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vinod Koul , Dan Williams , Rob Herring , Wan Ahmad Zainie , Alexey Brodkin , Andy Shevchenko , Eugeniy Paltsev Subject: [PATCH v3 0/2] Introduce DW AXI DMAC driver Date: Tue, 6 Mar 2018 14:46:13 +0300 Message-Id: <20180306114615.8895-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add support for the DW AXI DMAC controller. DW AXI DMAC is a part of HSDK development board from Synopsys. In this driver implementation only DMA_MEMCPY transfers are supported. Changes v2->v3 (suggested by Andy Shevchenko and Vinod Koul): * Fix SPDX licence comment style. * Use KBUILD_MODNAME macro instead of custom one. * Refactor dma_chan_tx_status function. * Refactor dma_chan_pause function. * Remove dma_cookie_init() call from dma_chan_alloc_chan_resources() * Use upper_32_bits() and lower_32_bits() instead of custom one. * Add __maybe_unused to runtime PM callback functions instead of CONFIG_PM ifdef use. * Other small fixies. Changes v1->v2 (suggested by Andy Shevchenko): * Use SPDX licence identifier. * Refactor axi_chan_get_xfer_width function. * Fix timeout calculation in dma_chan_pause. * Add record to MAINTAINERS in correct alphabetical order. Eugeniy Paltsev (2): dmaengine: Introduce DW AXI DMAC driver dt-bindings: Document the Synopsys DW AXI DMA bindings .../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 + MAINTAINERS | 6 + drivers/dma/Kconfig | 10 + drivers/dma/Makefile | 1 + drivers/dma/dw-axi-dmac/Makefile | 1 + drivers/dma/dw-axi-dmac/axi_dma_platform.c | 1010 ++++++++++++++++++++ drivers/dma/dw-axi-dmac/axi_dma_platform.h | 342 +++++++ 7 files changed, 1411 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt create mode 100644 drivers/dma/dw-axi-dmac/Makefile create mode 100644 drivers/dma/dw-axi-dmac/axi_dma_platform.c create mode 100644 drivers/dma/dw-axi-dmac/axi_dma_platform.h -- 2.9.3