From patchwork Mon Mar 18 14:41:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 10857853 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 8734A922 for ; Mon, 18 Mar 2019 14:42:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62941293FB for ; Mon, 18 Mar 2019 14:42:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60BDE29310; Mon, 18 Mar 2019 14:42:00 +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 1175F293EF for ; Mon, 18 Mar 2019 14:41:59 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=C7WuTqZ+e7jaRTswFCgQVs12Qhy2WsJCYtSzLe6+S1c=; b=S1tDZ0ptKGaWPA RpsE0HYzcgHaj6mg27B1ObJZ+vE4/3zbjRLwyD2/ETCeTyK1iuRGRJSfRfuMDSGxMQ5oLyS2LoMV3 fFAnKgfchv7Pw9cxnYYzTMosaD5eiinGqdy0/WUrRxGsYuka+oVRag8mBY/pQynmpFW6CsmkyQbUz YLgqcACHL4FV8uj8b7HuSE+DCkj0mqh7yBD0jy2RNoM4ZEy7NccvRx1veynNAtmi+FH9kj7xSJehq 0gx8rApLl5OeaLfPRN/6sYqLNmvGrXlRdALGdI3fkC9pAJqfRgr8xCBl6unyHJM33HY4xJhwPXKCj ilBewUP6sj6HB1z1oSDA==; 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 1h5tSg-0001vc-OW; Mon, 18 Mar 2019 14:41:58 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5tSW-0001lg-Vt for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 14:41:50 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 07:41:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,494,1544515200"; d="scan'208";a="141688247" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP; 18 Mar 2019 07:41:46 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1E6291AA; Mon, 18 Mar 2019 16:41:44 +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 Subject: [PATCH v3 0/2] spi: pxa2xx: Adjust DMA burst size per platform Date: Mon, 18 Mar 2019 16:41:42 +0200 Message-Id: <20190318144144.42367-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_074149_039258_088E06BC X-CRM114-Status: GOOD ( 10.22 ) 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: Andy Shevchenko 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 On some platforms DMA burst size is not the same as hard coded default. Fix the driver to support them. 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(-)