linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] spi: pxa2xx: gpiod cleanups and late CS GPIO allocation
@ 2017-08-03 11:40 Jan Kiszka
  2017-08-03 11:40 ` [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible Jan Kiszka
  2017-08-03 11:40 ` [PATCH RFC 2/2] spi: pxa2xx: Only claim CS GPIOs when the slave device is created Jan Kiszka
  0 siblings, 2 replies; 10+ messages in thread
From: Jan Kiszka @ 2017-08-03 11:40 UTC (permalink / raw)
  To: Mark Brown, Daniel Mack, Haojian Zhuang, Robert Jarzmik,
	Andy Shevchenko, Mika Westerberg
  Cc: linux-spi, Linux Kernel Mailing List, linux-arm-kernel

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

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(-)

-- 
2.12.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-04 11:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 11:40 [PATCH RFC 0/2] spi: pxa2xx: gpiod cleanups and late CS GPIO allocation Jan Kiszka
2017-08-03 11:40 ` [PATCH RFC 1/2] spi: pxa2xx: Convert to GPIO descriptor API where possible Jan Kiszka
     [not found]   ` <6bfd2b29b888c14f1a6feb9dee5bb54b74e761b0.1501760433.git.jan.kiszka-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org>
2017-08-04 10:10     ` Mika Westerberg
2017-08-04 10:18       ` Jan Kiszka
     [not found]         ` <b411858d-6a09-a3bc-555d-b1e648b9c8ed-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org>
2017-08-04 10:24           ` Mika Westerberg
     [not found]             ` <20170804102408.GX2369-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2017-08-04 11:43               ` Mark Brown
2017-08-04 11:44     ` Applied "spi: pxa2xx: Convert to GPIO descriptor API where possible" to the spi tree Mark Brown
2017-08-03 11:40 ` [PATCH RFC 2/2] spi: pxa2xx: Only claim CS GPIOs when the slave device is created Jan Kiszka
     [not found]   ` <5a691263ccf9d61134d6184861b37eaf37b13b77.1501760433.git.jan.kiszka-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org>
2017-08-04 10:29     ` Mika Westerberg
2017-08-04 11:43     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).