From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [patch 2.6.22-git5 0/4] MMC-over-SPI Date: Wed, 18 Jul 2007 10:27:17 -0700 Message-ID: <200707181027.17819.david-b@pacbell.net> References: <200707141504.51950.david-b@pacbell.net> <200707170911.16715.david-b@pacbell.net> <20070718164409.56ca0019@poseidon.drzeus.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Hans-Peter Nilsson , Mikael Starvik , Mike Lavender t , spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Pierre Ossman Return-path: In-Reply-To: <20070718164409.56ca0019-mgABNEgzgxm+PRNnhPf8W5YgPPQkE1Si@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Wednesday 18 July 2007, Pierre Ossman wrote: > On Tue, 17 Jul 2007 09:11:15 -0700 > David Brownell wrote: > > > Ideally, someone with access to full MMC and SD specs can see > > what they say about the SPI clocking. The simplified SD specs > > omit the timing diagrams. > > > > I can probably help out there. > > According to the specs, both mode 0 and mode 3 are valid. The idle > polarity simply isn't specified, only that data shall be sampled on > rising edge. Hence mode 0 or 3. Thanks. In that case, I'm thinking there *IS* a bug of some kind in the controller driver Anton is using, else mode 3 would work for him like it (evidently) works for everyone else. I'll see about making time to see if mode 0 works for me too; but even if it does, I'd prefer to leave the driver the way it is now instead of changing it to cover up for that mpc83xx bug ... plus, I just like CPHA=1 modes better because they don't need to start with that strange half-clock. ;) - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/