Thread (9 messages) 9 messages, 2 authors, 2014-11-26
STALE4236d

[PATCH] spi: s3c64xx: add support for exynos7 SPI controller

From: Padma Venkat <hidden>
Date: 2014-11-14 11:16:06
Also in: linux-samsung-soc, linux-spi

Hi Mark,

On 11/10/14, Padma Venkat [off-list ref] wrote:
Hi Mark,

On 11/7/14, Mark Brown [off-list ref] wrote:
quoted
On Fri, Nov 07, 2014 at 02:01:57PM +0530, Padma Venkat wrote:
quoted
CS can also be controlled automatically by setting AUTO_N_MANUAL to 1
in CS_CFG. When it is auto CS automatically toggles between packet to
packet. NCS_TIME_COUNT in CS_CFG controls the inactive period. The
driver by default uses manual mode. But on exynos7 the manual mode is
removed.
OK, but what's a packet here?
Packet is either 1 byte or 4 bytes size depends on width of the SPI
channel.
quoted
quoted
I tested the driver with wm5110 codec.
Did you try firmware downloads or something else that generates multiple
transfers in a message?  Normal register writes will use a single
transfer so I'd expect them to just work.
OK. I don't have provision to test on this board. I will try to test
on older boards by disabling manual mode.
I tested on exynos5420 peach-pit by enabling auto mode. I used dd
command to read 1MB data from spi flash and I compared the result with
manual mode. Both are same.
Thanks
padma
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help