Re: [PATCH 1/7] spi: add slave device size in spi_device struct

2018-09-03 Thread Boris Brezillon
sforpe...@gmail.com; shawn...@kernel.org; linux-arm- > > ker...@lists.infradead.org > > Subject: Re: [PATCH 1/7] spi: add slave device size in spi_device struct > > > > Hi, > > > > On Fri, 31 Aug 2018 15:59:58 +0530 Yogesh Gaur wrote: > > > Add 'size' data v

RE: [PATCH 1/7] spi: add slave device size in spi_device struct

2018-09-02 Thread Yogesh Narayan Gaur
nel.org; > devicet...@vger.kernel.org; mark.rutl...@arm.com; r...@kernel.org; linux- > ker...@vger.kernel.org; frieder.schre...@exceet.de; > computersforpe...@gmail.com; shawn...@kernel.org; linux-arm- > ker...@lists.infradead.org > Subject: Re: [PATCH 1/7] spi: add slave device size in s

Re: [PATCH 1/7] spi: add slave device size in spi_device struct

2018-08-31 Thread Lothar Waßmann
Hi, On Fri, 31 Aug 2018 15:59:58 +0530 Yogesh Gaur wrote: > Add 'size' data variable in spi_device struct. > This is to save the size of the connected slave device. > > After slave device scan, spi_nor_scan, size being assigned to this > from MTD layer. > > SFDP read is being requested before co

Re: [PATCH 1/7] spi: add slave device size in spi_device struct

2018-08-31 Thread Geert Uytterhoeven
Hi Yogesh, Thanks for your patch! On Fri, Aug 31, 2018 at 12:33 PM Yogesh Gaur wrote: > Add 'size' data variable in spi_device struct. > This is to save the size of the connected slave device. What is the "size" of an SPI slave device? > After slave device scan, spi_nor_scan, size being assign

[PATCH 1/7] spi: add slave device size in spi_device struct

2018-08-31 Thread Yogesh Gaur
Add 'size' data variable in spi_device struct. This is to save the size of the connected slave device. After slave device scan, spi_nor_scan, size being assigned to this from MTD layer. SFDP read is being requested before completion of spi_nor_scan() routine, thus populate device size before maki