i2c: mt65xx: add 4GB DMA mode support in i2c driver
authorLiguo Zhang <liguo.zhang@mediatek.com>
Mon, 1 Feb 2016 17:19:03 +0000 (01:19 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 12 Feb 2016 19:40:15 +0000 (20:40 +0100)
commitf4f4fed626d51843bd3b9ef7bfed7a78d2968d4a
tree9d9461d96ca715a119bd6ea0002d3932da90ca38
parentcd998ded5c1295c690285c04a6ef8bc014d14234
i2c: mt65xx: add 4GB DMA mode support in i2c driver

If 4GB mode is enabled, we should add 4GB DMA mode support in i2c
driver. Set 4GB mode register to support 4GB mode.

Signed-off-by: Liguo Zhang <liguo.zhang@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
[wsa: updated commit message]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mt65xx.c