From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [patch linux-omap-git] fix SPI_CPHA related errors Date: Thu, 24 May 2007 17:36:25 -0700 Message-ID: <20070525003624.GF19506@atomide.com> References: <200705222232.27584.david-b@pacbell.net> <465470F1.2020109@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <465470F1.2020109@mvista.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Kevin Hilman Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Kevin Hilman [070523 09:52]: > David Brownell wrote: > > The OMAP SPI controller drivers handle SPI_CPHA incorrectly. > > It should mean: > > > > CPHA=0 ... sample at leading edge of clock > > CPHA=1 ... sample at trailing edge of clock > > > > This fixes them, and the protocol drivers which depended on the wrong > > meaning. Separate ads7846 and omap_uwire patches are going upstream, > > already since those drivers were already pushed there. The tsc2102 > > code already had this right ... strange. > > > > Signed-off-by: David Brownell > > Verified that tsc2046 driver still works. > > Acked-by: Kevin Hilman Pushing today. Tony