Received: by 10.213.65.68 with SMTP id h4csp3652348imn; Tue, 3 Apr 2018 08:33:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+iZ7zNGA/Xao0htpWx09e7ugOT3pCy/hTTNKaFzyq5W4DSL8CTZSwSkLrkvS+d+nktfxhR X-Received: by 2002:a17:902:8d96:: with SMTP id v22-v6mr14937419plo.373.1522769585219; Tue, 03 Apr 2018 08:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522769585; cv=none; d=google.com; s=arc-20160816; b=eHxaJTLLV4//ZsfjHEb6J/axCqWMbwUqviBCyKjwO/JgWZaBBD8q9GUObVKCdHXOdj n16cMWqI0So1jNUj76LdF29eHSAm2Oyp5hp8973q9p4vL7LBPcbU+q6AfDBtMXBxahTM tqahHGINkr7prY7G1qi8iZewIqJlfI/9H6EfZdd0Or9E6Yb0QKryMDXSDwNMNqq9eCAW ye3ScQHe7PXc5UmpYdmQZ4lgP4JIqqrd2081drOZdpUT2oVV/hj/CPhR6Zc0Aa92QGLp ELQau2g92ssZ1BYj79Qusj1e2aL5lafg9QtJRAEraTDw7cPMfr9y55Qhn+E3afkzwb08 kIDQ== 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 :dkim-signature:arc-authentication-results; bh=X6g3xF/YKC2Iz92Aby2MP3H3CGfNyRjwNZ60furUpfY=; b=H6cN5G6tqKxY+7lhlRYCbmaBWcPUlP2DYOyZy+5UXfxN3o/AezeWEEvfbhA4IMJHGu l9EqkIKbKst1TvSILNHdydXJM60QgBD7NDvntiFFT3s1j9xonaOoDeRmlmPEHGia2suj +an0YLXQGFOyvU7TxY5gQ9u+goiM6rNk/0U5HvYoreEEESxa3gKrnpxm9BzIPJeEughZ l5Q44+N71EzhQwP5m8COQI9abSFYnTtyyFbOU77JskXfvFcJkK178Sj7aD5yTwEu/bi+ Jdspc+9pA7AjcL5an2UErNca6PCw3wfoqmMoBUp03wKh1Hpfm1Q1QLlLU7VUVbXAAi3g q4gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@orpaltech.com header.s=mailru header.b=k6tQ7Hvd; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si3165175pli.226.2018.04.03.08.32.51; Tue, 03 Apr 2018 08:33:05 -0700 (PDT) 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; dkim=pass header.i=@orpaltech.com header.s=mailru header.b=k6tQ7Hvd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbeDCP3M (ORCPT + 99 others); Tue, 3 Apr 2018 11:29:12 -0400 Received: from smtp54.i.mail.ru ([217.69.128.34]:55854 "EHLO smtp54.i.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbeDCP3K (ORCPT ); Tue, 3 Apr 2018 11:29:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=orpaltech.com; s=mailru; h=Message-Id:Date:Subject:Cc:To:From; bh=X6g3xF/YKC2Iz92Aby2MP3H3CGfNyRjwNZ60furUpfY=; b=k6tQ7HvdWhMI9miEmxMh09gCN1B5SoSXxvFUtt4JM+45s9eFcOnLMgBysY8p1AQrd58rSOYinvMboO28ey5MfaOaOrZYverWk3HLIP0TRYPZNiJGFORmviprhWNQoKP1xd9fs7hx7XWk/Sw1W+dwI4Ox/9/9qZNVIIUp+kQ9leQ=; Received: by smtp54.i.mail.ru with esmtpa (envelope-from ) id 1f3Nrw-0003oL-2z; Tue, 03 Apr 2018 18:29:08 +0300 From: Sergey Suloev To: Mark Brown , Maxime Ripard , Chen-Yu Tsai Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sergey Suloev Subject: [PATCH v2 0/6] spi: Add support for DMA transfers in sun4i SPI driver Date: Tue, 3 Apr 2018 18:28:59 +0300 Message-Id: <20180403152905.1524-1-ssuloev@orpaltech.com> X-Mailer: git-send-email 2.16.2 Authentication-Results: smtp54.i.mail.ru; auth=pass smtp.auth=ssuloev@orpaltech.com smtp.mailfrom=ssuloev@orpaltech.com X-7FA49CB5: 0D63561A33F958A5CF92BCBD4E106AD2FD153644D6503B5886FBC7D9D424934E725E5C173C3A84C3A1C30C8AFC676C8BC54B4A3D9DA81217CC4B623DB76FBBCBC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: C5364AD02485212F3ACDC11E67D84917423DD33A7258B93345D63C342C77BFB0069BFC61DABEEB110841D3AAAB1726C63DDE9B364B0DF289264D2CD8C2503E8C22A194DADEED8EEDCA01A23BA9CD1BE7ED14614B50AE0675 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patchset provides corrections for PIO-mode and support for DMA transfers in sun4i SPI driver. Changes in v2: 1) Restored processing of 3/4 FIFO full interrupt. 2) Debug log enhancements. Sergey Suloev (6): spi: core: handle timeout error from transfer_one() spi: sun4i: restrict transfer length in PIO-mode spi: sun4i: coding style/readability improvements spi: sun4i: use completion provided by SPI core driver spi: sun4i: introduce register set/unset helpers spi: sun4i: add DMA transfers support drivers/spi/spi-sun4i.c | 442 +++++++++++++++++++++++++++++++++++++----------- drivers/spi/spi.c | 5 +- 2 files changed, 347 insertions(+), 100 deletions(-) -- 2.16.2