arm64: dts: mediatek: Add I2C support for MT6797 SoC
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sat, 22 Feb 2020 16:24:42 +0000 (21:54 +0530)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sat, 16 May 2020 15:03:30 +0000 (17:03 +0200)
commitd3c84299f2088e3927bcbe36a458744a3b804d6d
treec7364f749fcd38bd4de1d4ba1cd4d3f2b7291208
parentb25376126484c0cc6de302559cc7e3760b7838c0
arm64: dts: mediatek: Add I2C support for MT6797 SoC

Add I2C 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.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200222162444.11590-3-manivannan.sadhasivam@linaro.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6797.dtsi