[PATCH RFC 0/2] spi: pxa2xx: gpiod cleanups and late CS GPIO allocation

From: Jan Kiszka
Date: Thu Aug 03 2017 - 07:42:03 EST

This is a follow-up to the discussion on
https://lkml.org/lkml/2017/7/8/42. It tries to convert more of pxa2xx
driver to gpio descriptors, and it does that late CS GPIO binding, but
now hopefully without violating the GPIO API and while taking multiple
calls to setup_cs into account.


Jan Kiszka (2):
spi: pxa2xx: Convert to GPIO descriptor API where possible
spi: pxa2xx: Only claim CS GPIOs when the slave device is created

drivers/spi/spi-pxa2xx.c | 92 ++++++++++++++++++++++--------------------------
drivers/spi/spi-pxa2xx.h | 5 ++-
2 files changed, 44 insertions(+), 53 deletions(-)