Hello,

This small patch series adds support for controllers without MISO or
MOSI pin to the spi_gpio driver. Like it was suggested by Grant Likely
the patch has been redesigned in such a way that it will not affect the
hot paths in the existing driver spi_gpio driver, so the driver won't be
slower in the existing systems. This is the main change since v1.

There is still a space for optimisation in the driver. Plat data is
dereferenced from struct spi on every call to setsclk/setmosi/getmiso
(dev_get_drvdata is an external symbol and cannot be easily inlined).
This can be optimized and done only once per word transfer.

A complete list of patches:

[PATCH 1/2] drivers: gpio: bitbang: add support for SPI_MASTER_NO_{TX,RX} modes
[PATCH 2/2] drivers: spi-gpio: add support for controllers without MISO or MOSI 
pin

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to