Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-16 Thread Anton Vorontsov
On Fri, Dec 12, 2008 at 01:39:45PM -0800, Trent Piepho wrote: > On Fri, 12 Dec 2008, Anton Vorontsov wrote: > > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: > >> What do you think about having a mechanism to specify that some > >> SPI slaves have a chip select, while others don'

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-14 Thread David Gibson
On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: > This patch adds a dummy GPIO driver, which is useful for SPI devices > that do not have a physical chip select. > > Signed-off-by: Steven A. Falco > --- > The SPI subsystem requires a chip-select for each connected slave > device.

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread David Gibson
On Fri, Dec 12, 2008 at 01:39:45PM -0800, Trent Piepho wrote: > On Fri, 12 Dec 2008, Anton Vorontsov wrote: > > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: > >> What do you think about having a mechanism to specify that some > >> SPI slaves have a chip select, while others don'

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Trent Piepho
On Fri, 12 Dec 2008, Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: >> What do you think about having a mechanism to specify that some >> SPI slaves have a chip select, while others don't have to have a >> chip select managed by the SPI subsystem? > > Um..

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: >> Anton Vorontsov wrote: >>> On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: This patch adds a dummy GPIO driver, which is useful for SPI devices that do not have a physical chip se

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Anton Vorontsov
On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: > Anton Vorontsov wrote: > > On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: > >> This patch adds a dummy GPIO driver, which is useful for SPI devices > >> that do not have a physical chip select. > > > > Hm. Then yo

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: >> This patch adds a dummy GPIO driver, which is useful for SPI devices >> that do not have a physical chip select. > > Hm. Then you don't need a chip-select, and SPI driver must understand > this case. When

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Anton Vorontsov
On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: > This patch adds a dummy GPIO driver, which is useful for SPI devices > that do not have a physical chip select. Hm. Then you don't need a chip-select, and SPI driver must understand this case. When SPI controller has no "gpios" pro

[RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
This patch adds a dummy GPIO driver, which is useful for SPI devices that do not have a physical chip select. Signed-off-by: Steven A. Falco --- The SPI subsystem requires a chip-select for each connected slave device. I have a custom board with an Atmel "co-processor". This part is reprogramme