i2c: mediatek: Add access to more than 8GB dram in i2c driver
authorQii Wang <qii.wang@mediatek.com>
Wed, 5 Aug 2020 10:52:20 +0000 (18:52 +0800)
committerWolfram Sang <wsa@kernel.org>
Wed, 5 Aug 2020 21:39:26 +0000 (23:39 +0200)
commit908d984336daeb0cad65ba015ab0ade132f2e315
tree24e0ecb08c39d36201cd7a20efb7ee58f721848b
parent8426fe70cfa4e4545c6a3709918638a7f613d528
i2c: mediatek: Add access to more than 8GB dram in i2c driver

Newer MTK chip support more than 8GB of dram. Replace support_33bits
with more general dma_max_support and remove mtk_i2c_set_4g_mode.

Reviewed-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Signed-off-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt65xx.c