From patchwork Mon Jan 28 16:03:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 10783949 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 DCB4113B4 for ; Mon, 28 Jan 2019 16:04:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBF2D2B497 for ; Mon, 28 Jan 2019 16:04:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C004B2B91F; Mon, 28 Jan 2019 16:04:41 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 540912B497 for ; Mon, 28 Jan 2019 16:04:41 +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:References: In-Reply-To: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:List-Owner; bh=WIkrvIkfljBeaRZ9isqz55LDFNION13Vm8ZNKNeKbl8=; b=AqWXeavsxL+dLeavhycf7Chyo9 E7DzM8A3B1WMnCEcDouF9wC8v5GCHa8pvCDcSBCGZVo7uyGZq/PzjnObU+NZnI4IjAiw6XrZDaISA 5lVGtYHlr4F8kBWmUBbTvpQF9pvwJGyAHezy0aJ2vws6Z52tZSBFnZ4hLxquI4fZNDjM2AreBy93L 4YDCChg12gYH6Ss1iF1V6QUxrITBDdsgCJQGRGl6k+fCr8isn/ks9pSxBXLp8QDA7lO+OjPngLjbs JJtBpAKb57Wp9PzQskGwZaIbd0E/MKRQauPCbmcHPORRljsSojSYTwgZnMbNxx6Ftc9T07a1IiIZ2 RtXy3ogA==; 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 1go9Oq-0003bl-0s; Mon, 28 Jan 2019 16:04:40 +0000 Received: from node.akkea.ca ([192.155.83.177]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1go9Om-0003Zp-1l for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2019 16:04:37 +0000 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 575A44E204E; Mon, 28 Jan 2019 16:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1548691475; bh=TGsglsMNcGnDF0d6jP9ubSnPlqZvcEUC+9FikYH4jUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SD6rvHJlxbIX2sCljMuCyf8Pxc+ujjp7LxEilruAEKxYydmgWPI/Ci0VzFeVvIhxQ q5aVcBFZ+dFPkfq6k88Nt4zUQvaDgIp88jK1vutGAnZEBStS9u1iUCBA0qfzmRo094 Hm4wzWYUfM3tMy30O/OWhByBh1LMPZOskKdcHu4o= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jPD-lxCjPMSW; Mon, 28 Jan 2019 16:04:35 +0000 (UTC) Received: from localhost.localdomain (198-48-167-13.cpe.pppoe.ca [198.48.167.13]) by node.akkea.ca (Postfix) with ESMTPSA id 5F6A24E204B; Mon, 28 Jan 2019 16:04:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1548691474; bh=TGsglsMNcGnDF0d6jP9ubSnPlqZvcEUC+9FikYH4jUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bkWcJZQ8zSXj8knE7N+aNTwqeU+YZ/PPEMvd26z+FIM9tDsi827PlbXEfBZvtklh3 5vWEO+qE7PtwpkhhHXTYj/ioH1s7HjzS1+r7F3OHPvONRxuRv2N18AsBeMjCY9SNmQ Zkb3QKlSXMvMoytDC91NOYfTo0oF7yri18yYlK9s= From: "Angus Ainslie (Purism)" To: angus@akkea.ca Subject: [PATCH v6 0/3] dmaengine: imx-sdma: add the sdma engine to the imx8mq Date: Mon, 28 Jan 2019 09:03:20 -0700 Message-Id: <20190128160323.28170-1-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190120023150.17138-1-angus@akkea.ca> References: <20190120023150.17138-1-angus@akkea.ca> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190128_080436_144916_6B06146A X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. 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: Daniel Baluta , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, Vinod Koul , NXP Linux Team , Pengutronix Kernel Team , angus.ainslie@puri.sm, linux-arm-kernel@lists.infradead.org, Lucas Stach 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 Add sdma support for the imx8mq Changes since V5 Dropped device tree bindings. Added reviewed by tags. Changes since V4 Builds against 5.0-rc4. Dropped device tree additions, will send a separate patch. Fixed sdma1 alignement. Dropped phandles in favour of of_nodes. Refactored SDMA_H_CONFIG register fix. Changes since V3 Builds against 5.0-rc3. Dropped sdma device index matching in favour of phandles. Corrected subsytem name to dmaengine Devicetree fixes. Fixed SDMA_H_CONFIG register bug. Changes since V2 Dropped device tree bindings and added clock ratio check. Fixed bug where incorrect sdma device was selected. Added new compatible string for "fsl,imx8mq-sdma" Changes since V1 Fixed to build against v5.0-rc2 Angus Ainslie (Purism) (3): dmaengine: imx-sdma: add clock ratio 1:1 check dmaengine: imx-sdma: add a test for imx8mq multi sdma devices dmaengine: imx-sdma: fix consistent dma test failures drivers/dma/imx-sdma.c | 25 +++++++++++++++++++++---- include/linux/platform_data/dma-imx.h | 1 + 2 files changed, 22 insertions(+), 4 deletions(-)