[PATCH 09/17] spi/spi.h: Add "mem" variable in spi master.
Sourav Poddar
sourav.poddar at ti.com
Tue Nov 26 08:05:35 EST 2013
On Tuesday 26 November 2013 06:31 PM, Mark Brown wrote:
> On Tue, Nov 26, 2013 at 01:05:05PM +0530, Sourav Poddar wrote:
>> Add "mem" variable in spi_master, which can be used to hold on the
>> memory mapped address.
> Is this really generic enough to put here rather than in the driver
> data?
The thought behind this was that if a master controller supports
memory mapped operation and slave wants to use memcpy in his
driver(bypassing spi ), then we should have a mean to communicate
between the
master and the slave. So, 'spi_master' seems to be the place for me for
this data,
which could be parsed in the slave side also.
More information about the linux-mtd
mailing list