[PATCH v4 0/2] spi: omap2-mcspi: Add support for GPIO chipselects

From: Michael Welling
Date: Thu May 07 2015 - 19:37:04 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/