i2c: mediatek: Add i2c and apdma sync in i2c driver
authorQii Wang <qii.wang@mediatek.com>
Tue, 2 Apr 2019 12:35:58 +0000 (20:35 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Apr 2019 11:40:42 +0000 (13:40 +0200)
commita15c91bac6957065090360c4b733859a52274fb6
tree9786733924ee5ea9cf7cf41cd29d47e155c0855c
parentcad6dc5d2887e3d646848849e5e56863480491f4
i2c: mediatek: Add i2c and apdma sync in i2c driver

When i2c and apdma use different source clocks, we should enable
synchronization between them.

Signed-off-by: Qii Wang <qii.wang@mediatek.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mt65xx.c