[linux-sunxi] Re: [PATCH v2] ARM: spi/sun7i: Add Master Sample Data Mode for SPI

2017-03-02 Thread Siarhei Siamashka
On Sun, 26 Feb 2017 06:10:50 -0800 (PST) Vinicius Maciel wrote: > Em segunda-feira, 13 de fevereiro de 2017 09:52:53 UTC-3, Mark Brown > escreveu: > > > > This should be controlled by the SPI mode settings, different chips have > > different requirements. If the

[linux-sunxi] Re: [PATCH v2] ARM: spi/sun7i: Add Master Sample Data Mode for SPI

2017-02-26 Thread Vinicius Maciel
Em segunda-feira, 13 de fevereiro de 2017 09:52:53 UTC-3, Mark Brown escreveu: > > This should be controlled by the SPI mode settings, different chips have > different requirements. If the controller supports multiple modes then > it should expose that and let the drivers and system

[linux-sunxi] Re: [PATCH v2] ARM: spi/sun7i: Add Master Sample Data Mode for SPI

2017-02-13 Thread Mark Brown
On Sat, Feb 11, 2017 at 12:54:47AM -0300, Vinicius Maciel wrote: > In order to work appropriately, the max11043 ADC chip and probably > others, needs SPI master samples the data at the correct edge. From > max11043 datasheet: "The data at DIN is latched on the rising edge > of SCLK". Same to DOUT.

[linux-sunxi] Re: [PATCH v2] ARM: spi/sun7i: Add Master Sample Data Mode for SPI

2017-02-12 Thread Maxime Ripard
On Sat, Feb 11, 2017 at 12:54:47AM -0300, Vinicius Maciel wrote: > In order to work appropriately, the max11043 ADC chip and probably > others, needs SPI master samples the data at the correct edge. From > max11043 datasheet: "The data at DIN is latched on the rising edge > of SCLK". Same to DOUT.