[PATCH] spi: add driver for BCM2835

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 5 23:33:43 EST 2013


On Tue, Mar 05, 2013 at 09:27:23PM -0700, Stephen Warren wrote:
> On 03/05/2013 09:05 PM, Mark Brown wrote:
> > On Tue, Mar 05, 2013 at 07:49:02PM -0700, Stephen Warren wrote:

> >> +Optional properties: +- brcm,realtime: Boolean. Indicates the
> >> driver should operate with realtime +  priority to minimise the
> >> transfer latency on the bus.

> > This isn't obviously something that ought to be in DT, it'll depend
> > on the OS, kernel version and so on.  Indeed I don't think this is

> If that somehow accidentally snuck in, I can happily remove this feature.

Dunno, my call would be to remove it.

> >> wait_for_completion_timeout(&bs->done, +
> >> msecs_to_jiffies(BCM2835_SPI_TIMEOUT_MS)); +		if (!timeout) { +
> >> err = -ETIMEDOUT; +			goto out; +		}

> > But I wanted to transfer 10G in a single message at 1kHz!  :P

> I'm not sure what the solution is here; calculated timeout value, or
> no timeout?

Either that or just make sure that the timeout that's picked is very
high I guess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20130306/6da43f93/attachment.sig>


More information about the linux-rpi-kernel mailing list