[PATCH 0/4] Add I2C controller support for MT6797 SoC

From: Manivannan Sadhasivam
Date: Sat Feb 22 2020 - 11:25:04 EST


Hello,

This patchset adds I2C controller support for Mediatek MT6797 SoC. There
are a total of 8 I2C controllers in this SoC (2 being shared) and they are
same as the controllers present in MT6577 SoC. Hence, the driver support is
added with DT fallback method.

As per the datasheet, there are controllers with _imm prefix like i2c2_imm
and i2c3_imm. These appears to be in different memory regions but sharing
the same pins with i2c2 and i2c3 respectively. Since there is no clear
evidence of what they really are, I've adapted the numbering/naming scheme
from the downstream code by Mediatek.

This patchset has been tested on 96Boards X20 development board.

Thanks,
Mani

Manivannan Sadhasivam (4):
dt-bindings: i2c: Document I2C controller binding for MT6797 SoC
arm64: dts: mediatek: Add I2C support for MT6797 SoC
arm64: dts: mediatek: Enable I2C support for 96Boards X20 Development
board
arm64: dts: mediatek: Switch to SPDX license identifier for MT6797 SoC

.../devicetree/bindings/i2c/i2c-mt65xx.txt | 1 +
.../boot/dts/mediatek/mt6797-x20-dev.dts | 49 ++++
arch/arm64/boot/dts/mediatek/mt6797.dtsi | 229 +++++++++++++++++-
3 files changed, 271 insertions(+), 8 deletions(-)

--
2.17.1