Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 04:39:47PM +, Jane Wan wrote: > On Mon, Apr 14, 2014 at 09:51:56PM +0100, Mark Brown wrote: > > > + if (spi_raw_rxdata_to_user[m->spi->chip_select]) > > > + espi_trans->len = n_tx; > > > + else > > > + espi_trans->len =

RE: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-16 Thread Jane Wan
On Mon, Apr 14, 2014 at 09:51:56PM +0100, Mark Brown wrote: > On Sat, Apr 12, 2014 at 11:48:36AM -0700, Jane Wan wrote: > > Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) > > configurable through device tree. FSL eSPI driver hardcodes them to 0. > > Some device requires

RE: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-16 Thread Jane Wan
On Mon, Apr 14, 2014 at 09:51:56PM +0100, Mark Brown wrote: On Sat, Apr 12, 2014 at 11:48:36AM -0700, Jane Wan wrote: Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) configurable through device tree. FSL eSPI driver hardcodes them to 0. Some device requires different

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 04:39:47PM +, Jane Wan wrote: On Mon, Apr 14, 2014 at 09:51:56PM +0100, Mark Brown wrote: + if (spi_raw_rxdata_to_user[m-spi-chip_select]) + espi_trans-len = n_tx; + else + espi_trans-len = trans_len + n_tx;

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-15 Thread Mark Brown
On Mon, Apr 14, 2014 at 05:00:59PM -0700, Insop Song wrote: > On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: > > > We use scripts/get_maintainer.pl to get the mailing addresses. > > > We will double check the mailing list from MAINTAINER file. > > This will be part of not using a

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-15 Thread Mark Brown
On Mon, Apr 14, 2014 at 05:00:59PM -0700, Insop Song wrote: On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: We use scripts/get_maintainer.pl to get the mailing addresses. We will double check the mailing list from MAINTAINER file. This will be part of not using a current

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: > On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: > > On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: > > > > Please also be sure to CC the mailing list on patches, the sourceforge > > > list has been unused for

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: > On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: > > On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: > > > > Please also be sure to CC the mailing list on patches, the sourceforge > > > list has been unused for

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: > On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: > > Please also be sure to CC the mailing list on patches, the sourceforge > > list has been unused for quite some time now. > We use scripts/get_maintainer.pl to get the

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: > On Sat, Apr 12, 2014 at 11:48:35AM -0700, Jane Wan wrote: > > Make FSL eSPI properties configurable through device tree. The > > configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn > > registers (n=0,1,2,3), and whether

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Sat, Apr 12, 2014 at 11:48:36AM -0700, Jane Wan wrote: > Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) > configurable through device tree. FSL eSPI driver hardcodes them to 0. > Some device requires different value. What do these do? > Allow FSL eSPI driver

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Sat, Apr 12, 2014 at 11:48:35AM -0700, Jane Wan wrote: > Make FSL eSPI properties configurable through device tree. The > configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn > registers (n=0,1,2,3), and whether to send all received data to user. Don't send cover letters for

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: Please also be sure to CC the mailing list on patches, the sourceforge list has been unused for quite some time now. We use scripts/get_maintainer.pl to get the mailing

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: Please also be sure to CC the mailing list on patches, the sourceforge list has been unused for quite some

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Tue, Apr 15, 2014 at 12:49:49AM +0100, Mark Brown wrote: On Mon, Apr 14, 2014 at 02:38:53PM -0700, Insop Song wrote: On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: Please also be sure to CC the mailing list on patches, the sourceforge list has been unused for quite some

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Sat, Apr 12, 2014 at 11:48:35AM -0700, Jane Wan wrote: Make FSL eSPI properties configurable through device tree. The configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3), and whether to send all received data to user. Don't send cover letters for

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Mark Brown
On Sat, Apr 12, 2014 at 11:48:36AM -0700, Jane Wan wrote: Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) configurable through device tree. FSL eSPI driver hardcodes them to 0. Some device requires different value. What do these do? Allow FSL eSPI driver configurable

Re: [PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-14 Thread Insop Song
On Mon, Apr 14, 2014 at 09:51:51PM +0100, Mark Brown wrote: On Sat, Apr 12, 2014 at 11:48:35AM -0700, Jane Wan wrote: Make FSL eSPI properties configurable through device tree. The configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3), and whether to send

[PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-12 Thread Jane Wan
Make FSL eSPI properties configurable through device tree. The configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3), and whether to send all received data to user. The FSL eSPI driver hardcodes CSnBEF and CSnAFT to 0. Some device needs to set them to different

[PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-12 Thread Jane Wan
Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) configurable through device tree. FSL eSPI driver hardcodes them to 0. Some device requires different value. Allow FSL eSPI driver configurable whether to send all received data form slave devices to user. When user wants to

[PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-12 Thread Jane Wan
Make FSL eSPI CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3) configurable through device tree. FSL eSPI driver hardcodes them to 0. Some device requires different value. Allow FSL eSPI driver configurable whether to send all received data form slave devices to user. When user wants to

[PATCH] Configure FSL eSPI CSBEF, CSAFT, and whether to send all received data to user

2014-04-12 Thread Jane Wan
Make FSL eSPI properties configurable through device tree. The configurable parameters include CSnBEF and CSnAFT in ESPI_SPMODEn registers (n=0,1,2,3), and whether to send all received data to user. The FSL eSPI driver hardcodes CSnBEF and CSnAFT to 0. Some device needs to set them to different