Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752272AbdHCLl7 (ORCPT ); Thu, 3 Aug 2017 07:41:59 -0400 Received: from david.siemens.de ([192.35.17.14]:47206 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752014AbdHCLlN (ORCPT ); Thu, 3 Aug 2017 07:41:13 -0400 From: Jan Kiszka To: Mark Brown , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Andy Shevchenko , Mika Westerberg Cc: linux-spi , Linux Kernel Mailing List , linux-arm-kernel 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: X-Mailer: git-send-email 2.12.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 18 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