i2c: mediatek: add support for MT7981 SoC
authorDaniel Golle <daniel@makrotopia.org>
Mon, 10 Apr 2023 16:19:38 +0000 (17:19 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 13 Apr 2023 16:40:36 +0000 (18:40 +0200)
commitf82fd1845d309407a6ddc3a1c97c6088189c3a58
treeffa7659f11a81c1013cbf6fbcf5c1f8d356d5890
parent4b5256571951eaa581fb8169e8c460429948d208
i2c: mediatek: add support for MT7981 SoC

Add support for the I2C units found in the MediaTek MT7981 and MT7988
SoCs. Just like other recent MediaTek I2C units that also uses v3
register offsets (which differ from v2 only by OFFSET_SLAVE_ADDR being
0x94 instead of 0x4).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt65xx.c