Messages in this thread | | | Date | Tue, 14 Dec 2010 19:08:40 +0100 | From | Wolfram Sang <> | Subject | Re: [RFC][PATCH v2 2/3] spi_bitbang : get nsecs delay from cs during transfer |
| |
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/ | [unhandled content-type:application/pgp-signature] | |