On Thu, Jan 23, 2014 at 04:05:46PM +0200, Baruch Siach wrote:
> On Thu, Jan 23, 2014 at 01:26:23PM +0000, Mark Brown wrote:

> > If you convert to the generic queue then there's generic support for
> > managing a GPIO based /CS if you set cs_gpio in the spi_device.  We
> > should extend that for GPIO descriptors too.

> Thank. This further simplifies things. AFAICS the generic gpio chip select 
> code does not request the GPIO. Is there a reason for that?

Mostly because it might not interact so well with deferred probe, lots
of drivers only request/figure out the GPIOs in setup at the minute but
for deferred probe we ought to be doing it as part of the main driver
probe().  We should also be switching away to the GPIO descriptor API is
part of it, but also I want to do a pass and add standard DT bindings
for this.

Attachment: signature.asc
Description: Digital signature

Reply via email to