Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: mediatek: remove mt6577 support
The mt6577 compatibility was introduced back in 2014 in commit 8452c80d5b4b ("I2C: mediatek: Add driver for MediaTek I2C controller") by Xudong Chen. The i2c-mt65xx driver relies on DMA since it was first introduced. mt6577 does not support DMA [1] for I2C and doesn't have dedicated DMA engines for I2C. Moreover, the entire mt65xx Cortex-A9 SoC family (mt6515, mt6517, mt6575, and mt6577) which share the same I2C IP doesn't support I2C DMA at all which makes this particular driver incompatible with these SoCs. The existing code used mt6577 as a "generic" configuration to be used with other SoCs such as mt6589 (for quirks), and mt2701/mt6797/mt7623 (in general). This patch makes mt2701 (which is *actually* supported by this driver) a new placeholder for generic Mediatek I2C bus configuration. [1] see references in https://lists.infradead.org/pipermail/linux-mediatek/2021-October/030333.html Signed-off-by: Boris Lysov <arzamas-16@mail.ee>
- Loading branch information