From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH RFC 0/2] spi: pxa2xx: gpiod cleanups and late CS GPIO allocation Date: Thu, 3 Aug 2017 13:40:31 +0200 Message-ID: Cc: linux-spi , Linux Kernel Mailing List , linux-arm-kernel To: Mark Brown , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Andy Shevchenko , Mika Westerberg Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org 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