Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-18 Thread Vignesh R
On 09/16/2015 04:26 PM, Mark Brown wrote: > On Wed, Sep 16, 2015 at 03:38:09PM +0530, Vignesh R wrote: > >> But, I didn't get how to integrate with existing message queue. Memory >> mapped read by-passes message queue of SPI core. Could you please >> explain a bit more on integrating with messag

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Michal Suchanek
On 16 September 2015 at 14:46, Jagan Teki wrote: > On 15 September 2015 at 00:05, Mark Brown wrote: >> On Fri, Sep 04, 2015 at 04:55:33PM +0530, Jagan Teki wrote: >>> On 4 September 2015 at 13:59, Vignesh R wrote: >> >>> > + * @spi_mtd_mmap_read: some spi-controller hardwares provide memory >>>

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Mark Brown
On Wed, Sep 16, 2015 at 06:16:55PM +0530, Jagan Teki wrote: > On 15 September 2015 at 00:05, Mark Brown wrote: > > There seem to be a reasonable number of SPI controllers out there which > > have as an extension the ability to do memory mapped reads but are > > otherwise perfectly normal SPI cont

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Jagan Teki
On 15 September 2015 at 00:05, Mark Brown wrote: > On Fri, Sep 04, 2015 at 04:55:33PM +0530, Jagan Teki wrote: >> On 4 September 2015 at 13:59, Vignesh R wrote: > >> > + * @spi_mtd_mmap_read: some spi-controller hardwares provide memory >> > + * mapped interface to communicate

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Mark Brown
On Wed, Sep 16, 2015 at 03:38:09PM +0530, Vignesh R wrote: > But, I didn't get how to integrate with existing message queue. Memory > mapped read by-passes message queue of SPI core. Could you please > explain a bit more on integrating with message queue? Did you mean > locking the existing messag

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Vignesh R
On 09/15/2015 12:05 AM, Mark Brown wrote: > On Fri, Sep 04, 2015 at 04:55:33PM +0530, Jagan Teki wrote: >> On 4 September 2015 at 13:59, Vignesh R wrote: > >>> + * @spi_mtd_mmap_read: some spi-controller hardwares provide memory >>> + * mapped interface to communicate with m

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-16 Thread Vignesh R
On 09/15/2015 12:07 AM, Mark Brown wrote: > On Fri, Sep 04, 2015 at 01:59:58PM +0530, Vignesh R wrote: >> In addition to providing direct access to SPI bus, some spi controller >> hardwares (like ti-qspi) provide special memory mapped port >> to accesses SPI flash devices in order to increase rea

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-14 Thread Mark Brown
On Fri, Sep 04, 2015 at 01:59:58PM +0530, Vignesh R wrote: > In addition to providing direct access to SPI bus, some spi controller > hardwares (like ti-qspi) provide special memory mapped port > to accesses SPI flash devices in order to increase read performance. > This means the controller can au

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-14 Thread Mark Brown
On Fri, Sep 04, 2015 at 04:55:33PM +0530, Jagan Teki wrote: > On 4 September 2015 at 13:59, Vignesh R wrote: > > + * @spi_mtd_mmap_read: some spi-controller hardwares provide memory > > + * mapped interface to communicate with mtd flashes. > > + * For this,

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-04 Thread Jagan Teki
On 4 September 2015 at 13:59, Vignesh R wrote: > In addition to providing direct access to SPI bus, some spi controller > hardwares (like ti-qspi) provide special memory mapped port > to accesses SPI flash devices in order to increase read performance. > This means the controller can automatically

[PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-04 Thread Vignesh R
In addition to providing direct access to SPI bus, some spi controller hardwares (like ti-qspi) provide special memory mapped port to accesses SPI flash devices in order to increase read performance. This means the controller can automatically send the SPI signals required to read data from the SPI