i2c: mediatek: Add i2c support for MediaTek MT8183
authorQii Wang <qii.wang@mediatek.com>
Tue, 2 Apr 2019 12:35:59 +0000 (20:35 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Apr 2019 11:40:43 +0000 (13:40 +0200)
commit25708278f8100b9e5e79b2f24637c8f222256729
tree2c236c01e9be316423dd6dd9236d5d2d9b0074b5
parenta15c91bac6957065090360c4b733859a52274fb6
i2c: mediatek: Add i2c support for MediaTek MT8183

Add i2c compatible for MT8183. Compare to MT2712 i2c controller,
MT8183 has different register offsets. Ltiming_reg is added to
adjust low width of SCL. Arb clock and dma_sync are needed.

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