Re: [linux-sunxi] [PATCH] Add Master Sample Data Mode for SPI

2017-02-10 Thread Vinicius Maciel
Hi Siarhei, I'm aware this driver is used by A13 and A10. Indeed, I did test this patch in A13 and the bit is set to 1, despite the fact that apparently is not be used. But I did not test SPI communication on A13 with max11043. Em sábado, 11 de fevereiro de 2017 00:33:14 UTC-3, Siarhei

Re: [linux-sunxi] [PATCH] Add Master Sample Data Mode for SPI

2017-02-10 Thread Siarhei Siamashka
On Sat, 11 Feb 2017 00:05:42 -0300 Vinicius Maciel wrote: > Em 10 de fev de 2017 23:53, "Siarhei Siamashka" > escreveu: > > > On Fri, 10 Feb 2017 19:02:47 -0300 > > Vinicius Maciel wrote: > > > > > In order to work

Re: [linux-sunxi] [PATCH] Add Master Sample Data Mode for SPI

2017-02-10 Thread Vinicius Maciel
Hi Siarhei, I was really aiming only A20 in this patch. Em 10 de fev de 2017 23:53, "Siarhei Siamashka" escreveu: > On Fri, 10 Feb 2017 19:02:47 -0300 > Vinicius Maciel wrote: > > > In order to work appropriately, the max11043 ADC chip and

Re: [linux-sunxi] [PATCH] Add Master Sample Data Mode for SPI

2017-02-10 Thread Siarhei Siamashka
On Fri, 10 Feb 2017 19:02:47 -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

[linux-sunxi] [PATCH] Add Master Sample Data Mode for SPI

2017-02-10 Thread Vinicius Maciel
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. This patch add Master Sample Data Mode bit in normal sample mode.