[PATCH v2 0/3] Add MediaTek MT8365 I2C support

From: Alexandre Mergnat
Date: Thu Jan 19 2023 - 12:09:18 EST


Hi,
This patch series adds I2C support for MT8365-EVK board.
The I2C-0 is enabled, it can be used through the board pin header,
as described directly on the PCB.

This series depends to another one which add support for
MT8365 SoC and EVK board. Link [1]

One patch has been cherry-picked from [2], so I've addressed the comment
and kept the trailer.

Regards,
Alex

[1]: https://lore.kernel.org/linux-mediatek/20230101220149.3035048-1-bero@xxxxxxxxxxxx/
[2]: https://lore.kernel.org/all/20220531135026.238475-2-fparent@xxxxxxxxxxxx/

To: Qii Wang <qii.wang@xxxxxxxxxxxx>
To: Rob Herring <robh+dt@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
To: Matthias Brugger <matthias.bgg@xxxxxxxxx>
Cc: linux-i2c@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: Fabien Parent <fparent@xxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
Signed-off-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
---
Changes in v2:
- Drop the patch which do useless change in i2c-mt65xx.c driver.
- Change 2 lines compatible/reg in oneline.
- Link to v1: https://lore.kernel.org/r/20221122-mt8365-i2c-support-v1-0-4aeb7c54c67b@xxxxxxxxxxxx

---
Alexandre Mergnat (2):
arm64: dts: mediatek: add i2c support for mt8365 SoC
arm64: dts: mediatek: enable i2c0 for mt8365-evk board

Fabien Parent (1):
dt-bindings: i2c: i2c-mt65xx: add binding for MT8365 SoC

.../devicetree/bindings/i2c/i2c-mt65xx.yaml | 4 ++
arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 19 ++++++++
arch/arm64/boot/dts/mediatek/mt8365.dtsi | 52 ++++++++++++++++++++++
3 files changed, 75 insertions(+)
---
base-commit: 8b6cfcce3ce939db11166680a57253c39110f07e
change-id: 20221122-mt8365-i2c-support-fc048da261ea

Best regards,
--
Alexandre Mergnat <amergnat@xxxxxxxxxxxx>