mbox series

[0/7,v2] SPI CS using GPIO descriptors

Message ID 20190107155156.3738-1-linus.walleij@linaro.org (mailing list archive)
Headers show
Series SPI CS using GPIO descriptors | expand

Message

Linus Walleij Jan. 7, 2019, 3:51 p.m. UTC
This is a rebased (v5.0-rc1) version of trying to pull
GPIO descriptor handling of SPI chip selects into the
SPI core.

The core grows a bit, bit handles descriptors in addition
to the already handled DT and static GPIO lines, and then
I start converting over some drivers to show the utility
of pulling this into the core.

There are *many* drivers to convert.

This should also cover the ACPI usecase by way of the
completely generic GPIO descriptor handling code that
simply picks the GPIO "cs" descriptors associated with
the device.

Linus Walleij (7):
  spi: Optionally use GPIO descriptors for CS GPIOs
  spi: ath79: Convert to use CS GPIO descriptors
  spi: atmel: Convert to use CS GPIO descriptors
  spi: cadence: Convert to use CS GPIO descriptors
  spi: clps711x: Convert to use CS GPIO descriptors
  spi: davinci: Convert to use CS GPIO descriptors
  spi: dw: Convert to use CS GPIO descriptors

 drivers/spi/spi-ath79.c    |  42 +++++----------
 drivers/spi/spi-atmel.c    |  93 ++++++++++-----------------------
 drivers/spi/spi-cadence.c  |  67 +-----------------------
 drivers/spi/spi-clps711x.c |  23 +-------
 drivers/spi/spi-davinci.c  |  53 +++++--------------
 drivers/spi/spi-dw-mmio.c  |  22 --------
 drivers/spi/spi-dw.c       |   9 +---
 drivers/spi/spi.c          | 104 +++++++++++++++++++++++++++++++++----
 include/linux/spi/spi.h    |  23 ++++++--
 9 files changed, 172 insertions(+), 264 deletions(-)

Comments

patchwork-bot+linux-spi@kernel.org Jan. 9, 2019, 1 p.m. UTC | #1
Hello:

The following patches were marked "accepted", because they were applied to
broonie/spi.git (refs/heads/for-next):

Series: SPI CS using GPIO descriptors
  Submitter: Linus Walleij <linus.walleij@linaro.org>
  Patchwork: https://patchwork.kernel.org/project/spi-devel-general/list/?series=63011
    Patches: [1/7,v2] spi: Optionally use GPIO descriptors for CS GPIOs
             [2/7,v2] spi: ath79: Convert to use CS GPIO descriptors
             [3/7,v2] spi: atmel: Convert to use CS GPIO descriptors
             [4/7,v2] spi: cadence: Convert to use CS GPIO descriptors
             [5/7,v2] spi: clps711x: Convert to use CS GPIO descriptors
             [6/7,v2] spi: davinci: Convert to use CS GPIO descriptors
             [7/7,v2] spi: dw: Convert to use CS GPIO descriptors

Total patches: 7