Re: [RFC][PATCH v2 2/3] spi_bitbang : get nsecs delay from cs during transfer

From: Ben Gardiner
Date: Tue Dec 14 2010 - 13:17:30 EST


On Tue, Dec 14, 2010 at 1:08 PM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
> Hi Ben,
>
>> I think it is starting to sink-in that a 'slower' spi gpio _driver_ is
>> needed. I can think of a couple different ways to make the CS-to-data
>> delay assigned to 'nsecs' a per-device feature:
>> 1) a flag or 2) a function pointer in struct spi_bitbang. Were you
>> thinking of something else entirely?
>
> Nope, just saw (very high-level) that it should be per-device as it
> might be feasible to have a fast and a slow bus at the same time. My
> advice would be to start coding your favourite solution and check if it
> feels right :)

:) Sounds like good advice.

Thanks again, Wolfram.

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/