lkml.org 
[lkml]   [2009]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] spi-gpio: Implement spidelay() for busses that need it.
Date
On Monday 16 February 2009 21:42:27 David Brownell wrote:
> [
> NOTE: removed openwrt from the cc list, it rejects posts
> from non-subscribers. Please don't cc such lists.
> ]

I'm sorry, I didn't know that it bounces nonsubscribers.

> On Sunday 15 February 2009, Michael Buesch wrote:
> > + * NOTE:  to clock "as fast as we can", set spi_device.max_speed_hz
> > + * and spi_transfer.speed_hz to 0.
>
> Won't work; if spi->max_speed_hz is zero, spi_async() and
> friends will refuse to queue any messages.

Well, why would they do this? Any special reason?

> I'm not averse to a solution that lets some boards use a
> slowed-down bitbang loop. But it would be a lot easier
> if you kept the default the way it is, and just added
> that slowdown as an option for the existing customization
> case (currently oriented towards speedup, not slowdown).

Tell me how to. This patch works for me and I'm only going to change it
if you tell me how to. I'm not so involved in the SPI subsystem that I can
see another obvious way to do this. So I need some advise, please.

--
Greetings, Michael.
--
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/

\
 
 \ /
  Last update: 2009-02-18 12:23    [W:0.254 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site