From patchwork Mon Oct 15 06:38:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10641189 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 A918017E3 for ; Mon, 15 Oct 2018 06:40:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A86E29468 for ; Mon, 15 Oct 2018 06:40:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 985F62958D; Mon, 15 Oct 2018 06:40:27 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 1A81429593 for ; Mon, 15 Oct 2018 06:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbeJOOYR (ORCPT ); Mon, 15 Oct 2018 10:24:17 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39336 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726164AbeJOOYR (ORCPT ); Mon, 15 Oct 2018 10:24:17 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9F6eLhY039260; Mon, 15 Oct 2018 01:40:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539585621; bh=8llY6uAKGX26O+gGuPEvyf9xBVyohB5/wn6OHWmeK7Y=; h=From:To:CC:Subject:Date; b=Og+PCilaZbjkFy86qU8oG432myv3h2fHae4Q8y3JA1rT0vfS8wXxyGpnw5ESFcTIz 0pCUB4xYN4ZtSNNDRnzX3sYoUPq9kxK6c2NzRM7jl4W8bZZCm2ipe7XK1d2WC9WUyj qHopryviHbJDoHimQ1G3CGdfNE7sdQ4xtZpILT14= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9F6eLKh005680; Mon, 15 Oct 2018 01:40:21 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 15 Oct 2018 01:40:21 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 15 Oct 2018 01:40:21 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9F6eH4N023129; Mon, 15 Oct 2018 01:40:19 -0500 From: Vignesh R To: Mark Brown CC: , , , Vignesh R , Sekhar Nori Subject: [PATCH 0/3] omap2-mcspi: Add slave mode support Date: Mon, 15 Oct 2018 12:08:26 +0530 Message-ID: <20181015063829.26978-1-vigneshr@ti.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series add slave mode support for TI's McSPI controller. Slave mode tested on Beagle Bone Black with SPI0 in master mode connected to SPI1 in slave mode. Tested with slave-time, slave-system-control and spidev as slave clients. Master mode tested on AM335x ICEv2 with a SPI flash for regression. Vignesh R (3): spi: omap2-mcspi: Switch to readl_poll_timeout() spi: omap2-mcspi: Set FIFO DMA trigger level to word length spi: omap2-mcspi: Add slave mode support drivers/spi/spi-omap2-mcspi.c | 177 +++++++++++++++++++++++++--------- 1 file changed, 131 insertions(+), 46 deletions(-)