From patchwork Tue Dec 24 00:58:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 182421 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp1083085ili; Mon, 23 Dec 2019 16:58:47 -0800 (PST) X-Google-Smtp-Source: APXvYqx2hK+QHRo8uKFZl93d9qxnJN/jLZ/T/ikcIAVGbaLXWTCcPo0vz2CkwU2asFSeeuBU+46u X-Received: by 2002:a05:6830:4d5:: with SMTP id s21mr19289387otd.294.1577149127353; Mon, 23 Dec 2019 16:58:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577149127; cv=none; d=google.com; s=arc-20160816; b=GgNdvP2GKHaa6k5IlGIjEr3gOYgPPFOewvVmtNWY3p3d9dWvlyWWVuZHk//uue/ryT qFPHM16RBL1p5PBavI2c7LfWQ5eOgsKoR3TUn2FwSU/3sn+D/5jn0EJngOQVLnE68wT+ 9qmaCseglUDpWIk1kk24qDUyTv3cYI2HtDAq8wVP4PVfp59NuGRpFWKsQCQ7fx40bGTC tm6rVEjhdSwB3nEgval5gNbLpvgPTBcWZnCz0wAcJTLBth75nMcw7UGKjloA+rAvFwHJ wzVoXikjh6qIsQFky9vnXL2ipM84WXVKABcKccxHJUk0hteG0AbGCBpsUhYES5eBRC1l aXJg== 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; bh=ep+MYAm4j2z1EW4ZaArr+MRYTrDFWKjqeGqx+Kcg58Y=; b=Tf1xb8c4rr29GegSCX+ceEu1EAnFVCaSp85tBhRjb2OZ7PaR+FfbPyz1SSkN92arBI fCb9bHq3dnhc3UrVahacmq3Z6pb0HLgH9/EvE7gPBy46Np7E/1C0KctnIxm1SywMOBxm ikF7x8mpJ8M9IHW/aoYQr+HAq2Z4uxvm8Ac60KVP1p7rKs1Q7XTrn5nPI9D91qANogqM qzsUnq78nnd0D56U5QVT7ZZqFQ0ENEJEIyg1fiZCY7Gx32U40RRHRztXLAzAkMlNex27 GKu5z+graDfVAERogqqHZ/Unlqh6G4VmQkv1zjFaArip09IucyZvyx6Rd2VL5L0c/IfM eRvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v202si9870321oie.79.2019.12.23.16.58.46; Mon, 23 Dec 2019 16:58:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-spi-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-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726865AbfLXA6q (ORCPT + 2 others); Mon, 23 Dec 2019 19:58:46 -0500 Received: from mx.socionext.com ([202.248.49.38]:23630 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbfLXA6q (ORCPT ); Mon, 23 Dec 2019 19:58:46 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 24 Dec 2019 09:58:45 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 2FEE1603AB; Tue, 24 Dec 2019 09:58:45 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 24 Dec 2019 09:59:24 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id B36781A01CF; Tue, 24 Dec 2019 09:58:44 +0900 (JST) From: Kunihiko Hayashi To: Mark Brown , linux-spi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Keiji Hayashibara , Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 0/5] spi: uniphier: Introduce DMA transfer mode Date: Tue, 24 Dec 2019 09:58:22 +0900 Message-Id: <1577149107-30670-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org This series introduces DMA transfer mode into UniPhier SPI driver. This only supports UniPhier XDMAC implemented in the SoC. The DMA transfer mode uses FIFO threshold as a trigger to start DMA transfer, however, the FIFO is limited to one word width due to alignment restiction of the DMA controller. Kunihiko Hayashi (5): spi: uniphier: Fix FIFO threshold spi: uniphier: Change argument of irq functions to private structure spi: uniphier: Add handle_err callback function spi: uniphier: Add SPI_LOOP to the capabilities spi: uniphier: Add DMA transfer mode support drivers/spi/spi-uniphier.c | 261 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 241 insertions(+), 20 deletions(-) -- 2.7.4