Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-14 Thread Cyrille Pitchen
Le 14/04/2016 10:57, Mark Brown a écrit : > On Thu, Apr 14, 2016 at 10:06:55AM +0200, Cyrille Pitchen wrote: > >> I understand but you propose to patch both the SPI layer and the m25p80 >> driver >> to introduce some support which is already provided by the "spi_flash_read" >> hook: struct spi_fl

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-14 Thread Mark Brown
On Thu, Apr 14, 2016 at 10:06:55AM +0200, Cyrille Pitchen wrote: > I understand but you propose to patch both the SPI layer and the m25p80 driver > to introduce some support which is already provided by the "spi_flash_read" > hook: struct spi_flash_read_message has already a "dummy_bytes" field. >

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-14 Thread Cyrille Pitchen
gt;> Cc: linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; linux- >> s...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Harini Katakam >> ; Punnaiah Choudary Kalluri ; >> Anirudha Sarangi ; Lakshmi Sai Krishna Potthuri >> ; R, Vignesh >> Subject:

RE: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-12 Thread Lakshmi Sai Krishna Potthuri
arini Katakam >; Punnaiah Choudary Kalluri ; >Anirudha Sarangi ; Lakshmi Sai Krishna Potthuri >; R, Vignesh >Subject: Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the >spi_transfer structure. > >Hi all, > >Le 07/04/2016 16:39, P L Sai Krishna a écrit : >> Thi

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-11 Thread Mark Brown
On Thu, Apr 07, 2016 at 08:09:27PM +0530, P L Sai Krishna wrote: > + * @dummy_cycles: number of dummy cycles. If host controller requires > + * dummy cycles rather than dummy bytes which send along with Cmd > + * and address then this dummy_cycles is used. I'm having a very hard time parsing

Re: [LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-07 Thread Cyrille Pitchen
Hi all, Le 07/04/2016 16:39, P L Sai Krishna a écrit : > This patch adds dummy_cycles entry in the spi_transfer structure. > len field in the transfer structure contains dummy bytes along with > actual data bytes, controllers which requires dummy bytes use len > field and simply Ignore the dummy_c

[LINUX PATCH v2 1/3] spi: Added dummy_cycle entry in the spi_transfer structure.

2016-04-07 Thread P L Sai Krishna
This patch adds dummy_cycles entry in the spi_transfer structure. len field in the transfer structure contains dummy bytes along with actual data bytes, controllers which requires dummy bytes use len field and simply Ignore the dummy_cycles field. Controllers which expects dummy cycles won't work d