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

From: Wolfram Sang
Date: Tue Dec 14 2010 - 13:08:57 EST


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 :)

Kind regards,

Wolfram

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature