diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2016-05-14 14:17:08 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-05-15 08:52:49 +0200 |
commit | 73e8b0528346e88a0624f2d9821f382cd6256677 (patch) | |
tree | e6dcfd5eefeee9ac5e5b77645e52f71dc10a516a /arch/powerpc/perf/callchain.c | |
parent | i2c: st: Implement bus clear (diff) | |
download | linux-73e8b0528346e88a0624f2d9821f382cd6256677.tar.xz linux-73e8b0528346e88a0624f2d9821f382cd6256677.zip |
i2c: rcar: add DMA support
Make it possible to transfer i2c message buffers via DMA.
Start/Stop/Sending_Slave_Address and some data is still handled using
the old state machine, it is sending the bulk of the data that is done
via DMA.
The first byte of a transmission and the last two bytes of reception are
sent/received using PIO. This is needed for the HW to have access to the
first byte before DMA transmit and to be able to set the STOP condition
for DMA reception.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[wsa: fixed a checkpatch warning]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/powerpc/perf/callchain.c')
0 files changed, 0 insertions, 0 deletions