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. > > This patch add Master Sample Data Mode bit in normal sample mode. > It will affect only A20.
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 integrations choose. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
