Re: [PATCH] spi: dw: Enable Slave Select with GPIO Chip Select.

From: Thor Thayer
Date: Thu Oct 06 2016 - 10:09:21 EST




On 10/06/2016 04:37 AM, Mark Brown wrote:
On Wed, Oct 05, 2016 at 04:38:58PM -0500, tthayer@xxxxxxxxxxxxxxxxxxxxx wrote:

This patch adds the Slave Select locally so that the transfer will
start and complete. The GPIO CS is taken care of earlier in the SPI
framework (spi_set_cs).

This seems like something that other devices might need - it's not the
first time I heard of a device with the data transfer start and chip
select being tied together. Why not make this a generic feature that
the core implements and drivers can enable?

OK. Thanks for the suggestion and review. I'll add a new boolean and device tree binding to the SPI core. Thanks.