Skip to content

RFC spi: pxa2xx: gpiod cleanups and late CS GPIO allocation

Jan Kiszka linux-arm-kernel linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: pxa2xx: Convert to GPIO descriptor API where possibledrivers/spi/spi-pxa2xx.c drivers/spi/spi-pxa2xx.h+17 -175 replies
2/2spi: pxa2xx: Only claim CS GPIOs when the slave device is createddrivers/spi/spi-pxa2xx.c drivers/spi/spi-pxa2xx.h+31 -402 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMika Westerberg
1/2A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.12.3