i2c: imx: add DMA support for freescale i2c driver
authorYao Yuan <yao.yuan@freescale.com>
Tue, 18 Nov 2014 10:31:06 +0000 (18:31 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 18 Nov 2014 15:01:27 +0000 (16:01 +0100)
commitce1a78840ff7ab846065d5b65eaac959bafe1949
tree6ed38c7249c8f274d94211ee0d4cae727910bda2
parent2fbed5119d6a07a6777b2131262587df338df22b
i2c: imx: add DMA support for freescale i2c driver

Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-imx.txt
drivers/i2c/busses/i2c-imx.c