Re: [PATCH] spi: core: use gpio_request_one for configured gpio cs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 24, 2017 at 01:49:14PM +0300, Andy Shevchenko wrote:
> On Mon, Jul 24, 2017 at 12:53 PM, Martin Hundebøll <mnhu@xxxxxxxxx> wrote:
> > Some gpio controllers requires lines to be configured as outputs to make
> > subsequent calls to `gpio_set_value()` have any effect.

> > Add a call to `gpio_request_one()` for configured gpio chip-selects to
> > make it work on (at least) mvebu gpio controllers.

> More and more hacks around plain GPIO integers... :-(

> Perhaps we need to discuss how to convert SPI core to use GPIO
> descriptors everywhere.

The best way would be to test the work that Chris Packham submitted in
May to do this, it'll need a refresh now and it ought to get some
testing on ep93xx but sadly nobody working on ep93xx has responded - I
think at this point I'd probably just apply and let people test -next.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux