Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161174AbbENVni (ORCPT ); Thu, 14 May 2015 17:43:38 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:35129 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161024AbbENVng (ORCPT ); Thu, 14 May 2015 17:43:36 -0400 Message-ID: <555516F2.6080201@gmail.com> Date: Thu, 14 May 2015 14:43:14 -0700 From: Florian Fainelli User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Mark Brown , Jonathan Richardson CC: Scott Branden , Dmitry Torokhov , Anatol Pomazau , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, bcm-kernel-feedback-list , devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] spi: bcm-mspi: Add support for Broadcom MSPI driver. References: <1431452293-16697-1-git-send-email-jonathar@broadcom.com> <1431452293-16697-3-git-send-email-jonathar@broadcom.com> <20150512191718.GW3066@sirena.org.uk> <5553E31A.8060309@broadcom.com> <5553E9FA.4070708@broadcom.com> <20150514103144.GO2761@sirena.org.uk> <5554E715.7070203@broadcom.com> <20150514190823.GR2761@sirena.org.uk> <5554FDB4.50809@broadcom.com> <20150514201221.GX2761@sirena.org.uk> In-Reply-To: <20150514201221.GX2761@sirena.org.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 29 On 14/05/15 13:12, Mark Brown wrote: > On Thu, May 14, 2015 at 12:55:32PM -0700, Jonathan Richardson wrote: >> On 15-05-14 12:08 PM, Mark Brown wrote: > >>> All it takes is one hardware engineer who sees a SPI controller and a >>> GPIO they can use for chip select; I wouldn't be so sure that nobody >>> ever fixed this up locally (or happened to use a device that only needed >>> single duplex). > >> Hi Mark. Would it help if we just set the flags to half duplex using >> SPI_MASTER_HALF_DUPLEX when we register the master? > > That would deal with the data corruption issues, yes. Though it seems > like there are some people who want full duplex support here - I don't > know if any of them can point you at suitable hardware to test? I am fine with having the driver supporting only half-duplex for now, considering that Jonathan and Scott have no peripheral to test full-duplex with. Getting you platforms and test setups could take more time than needed so, let's proceed with the shortest path. -- Florian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/