On Wed, 2016-09-14 at 09:31 +0200, Tomasz Bursztyka wrote:I call it a hack in DW driver, because this controller has a CS... whichThis GPIO used as CS is a hack for - currently - DW controllers. WhenNot sure why you call this a 'hack'. Anyway, the serial device IP I'm
So, rather than upstreaming this driver along with other boardLegacy or new API: your driver will have to deal with CS internally,
either controlling the controller's capability or
a GPIO line. That has nothing to do with zero-copy btw.
As I proposed, we could make such "GPIO as CS" generic into an
spi_utils.h into drivers/spi/
It's really a driver centric piece, nothing that needs to be public. Up
to the boards.h file to provide the proper mapping.
We will have to sort this out anyway