spicc: compatible modify for g12a
authorSunny Luo <sunny.luo@amlogic.com>
Mon, 19 Mar 2018 09:20:40 +0000 (17:20 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 22 Mar 2018 03:05:31 +0000 (19:05 -0800)
commit838f35a01dc010fff84dd29689a7aebca2bbaf34
tree52f40468e6a9f3fbf4308dbd6b63d3d4559637d4
parentf0bdfcc909e14cfa26c4b11dc6341b15cadb4dae
spicc: compatible modify for g12a

PD#162464: spicc: compatible modify for g12a

1. add dma wait cycle while high speed.
2. support auto dma threshold setting.
3. support pio LSB-FIRST mode.
4. change dma from LSB to MSB-FIRST mode.
5. support loop-back set by transfer mode.
6. delete some sys class entries unused.

Change-Id: Ic10ccb7e7459499c1b25ee074e069f157fb9c72c
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
drivers/amlogic/spicc/spicc.c
drivers/amlogic/spicc/spicc.h