[PATCH v2] ARM: spi/sun7i: Add Master Sample Data Mode for SPI
Maxime Ripard
maxime.ripard at free-electrons.com
Sun Feb 12 23:12:38 PST 2017
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.
>
> Signed-off-by: Vinicius Maciel <viniciusfre at gmail.com>
> Reviewed-by: Siarhei Siamashka <siarhei.siamashka at gmail.com>
Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170213/ff3a2910/attachment.sig>
More information about the linux-arm-kernel
mailing list