From patchwork Tue Mar 19 15:48:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 10859863 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 9B67D17E9 for ; Tue, 19 Mar 2019 15:48:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80C9A2978C for ; Tue, 19 Mar 2019 15:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F2512978E; Tue, 19 Mar 2019 15:48:48 +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=-7.9 required=2.0 tests=BAYES_00,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 2CB362978C for ; Tue, 19 Mar 2019 15:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726876AbfCSPss (ORCPT ); Tue, 19 Mar 2019 11:48:48 -0400 Received: from mga07.intel.com ([134.134.136.100]:7645 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726612AbfCSPsr (ORCPT ); Tue, 19 Mar 2019 11:48:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2019 08:48:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,498,1544515200"; d="scan'208";a="135391340" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga003.jf.intel.com with ESMTP; 19 Mar 2019 08:48:45 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1F55F11F; Tue, 19 Mar 2019 17:48:43 +0200 (EET) From: Andy Shevchenko To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org, Jarkko Nikula Cc: Andy Shevchenko Subject: [PATCH v5 0/2] spi: pxa2xx: Adjust DMA burst size per platform Date: Tue, 19 Mar 2019 17:48:41 +0200 Message-Id: <20190319154843.74684-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On some platforms DMA burst size is not the same as hard coded default Fix the driver to support them. In v5: - correct subject in cover letter - correct the patches that have been sent In v4: - fix s/master/controller/g In v3: - drop threshold print since it's easy to calculate constant (Jarkko) - split one more unrelated change to a separate patch, but independent from this series (Jarkko) In v2: - drop unrelated changes (Jarkko, Robert) - don't include Robert's tag due to changes in the patch Andy Shevchenko (2): spi: pxa2xx: Introduce DMA burst size support spi: pxa2xx: Debug print DMA burst size drivers/spi/spi-pxa2xx-dma.c | 4 +++- drivers/spi/spi-pxa2xx-pci.c | 4 ++++ drivers/spi/spi-pxa2xx.c | 4 ++++ include/linux/spi/pxa2xx_spi.h | 1 4 files changed, 12 insertions(+), 1 deletion(-)