From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752502AbbEGXg6 (ORCPT ); Thu, 7 May 2015 19:36:58 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:34784 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbbEGXg5 (ORCPT ); Thu, 7 May 2015 19:36:57 -0400 From: Michael Welling To: broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Welling Subject: [PATCH v4 0/2] spi: omap2-mcspi: Add support for GPIO chipselects Date: Thu, 7 May 2015 18:36:52 -0500 Message-Id: <1431041814-24757-1-git-send-email-mwelling@ieee.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch allows for GPIOs specified in the devicetree to be used as SPI chipselects on TI OMAP2 SoCs. Tested on the AM3354. v4: Breaks patch down into patch series. v3: Switches driver to use transfer_one instead of transfer_one_message allowing the spi core to handle toggling GPIO chip selects if specified. v2: Considers the possible use of SPI_CS_HIGH during chip select activation. Michael Welling (2): spi: omap2-mcspi: Switch driver to use transfer_one spi: omap2-mcspi: Add gpio_request and init CS drivers/spi/spi-omap2-mcspi.c | 251 +++++++++++++++++++---------------------- 1 file changed, 117 insertions(+), 134 deletions(-) -- 1.7.9.5