[PATCH 2/2] i2c: mediatek: remove mt6577 support
Wolfram Sang
wsa at kernel.org
Sat Apr 16 19:21:00 PDT 2022
On Thu, Jan 20, 2022 at 09:58:53PM +0300, Boris Lysov wrote:
> 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 at mail.ee>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220417/95a133d9/attachment.sig>
More information about the linux-arm-kernel
mailing list