diff options
author | Barry Song <Baohua.Song@csr.com> | 2012-11-01 22:54:43 +0800 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-07 22:05:03 -0800 |
commit | f7d935dcc34fae9ad4a39f2cf8e2a96199c48948 (patch) | |
tree | 900ccbbe1963162bcdb3009e60ad596d75db3e40 /drivers/char | |
parent | 91f8aecc501e456c97a6f49f7ea3797e874d5d89 (diff) | |
download | linux-f7d935dcc34fae9ad4a39f2cf8e2a96199c48948.tar.gz linux-f7d935dcc34fae9ad4a39f2cf8e2a96199c48948.tar.xz |
dmaengine: sirf: enable the driver support new SiRFmarco SoC
The driver supports old up SiRFprimaII SoCs, this patch makes it support
the new SiRFmarco as well.
SiRFmarco, as a SMP SoC, adds new DMA_INT_EN_CLR and DMA_CH_LOOP_CTRL_CLR
registers, to disable IRQ/Channel, we should write 1 to the corresponding
bit in the two CLEAR register.
Tested on SiRFmarco using SPI driver:
$ /mnt/spidev-sirftest -D /dev/spidev32766.0
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00
$ cat /proc/interrupts
CPU0 CPU1
32: 1593 0 GIC sirfsoc_timer0
33: 0 3533 GIC sirfsoc_timer1
44: 0 0 GIC sirfsoc_dma
45: 16 0 GIC sirfsoc_dma
47: 6 0 GIC sirfsoc_spi
50: 5654 0 GIC sirfsoc-uart
...
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions