On Thu, Feb 26, 2009 at 01:13:34PM +0100, Henk Stegeman wrote: > As far as I understand the DTS bindings now support an SPI master controller > to > - use the chip-selects controlled directly by the SPI master controller > hardware > or > - to use GPIO's trough gpiolib as chip selects > but not a combination of both, am I right? > > Now every SPI driver needs to be adapted to provide support for using > gpios as chip-selects, Wouldn't it be possible to let the > divers/of/of_spi take care of all the work required to use gpios as > chip-selects?
It's certainly possible. Though, I'm not sure if it should be of_spi's matter. Maybe some generic "SPI GPIO chip-selects" framework, and then OF bindings for it... Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev