[PATCH 1/2] dt-bindings: i2c: i2c-mt65xx: remove mt6577 support
Boris Lysov
arzamas-16 at mail.ee
Thu Jan 20 10:58:52 PST 2022
Remove mentions of mt6577 from the dt-binding doc because the existing driver
doesn't support this SoC. mt6577 was used in this driver as some sort of a
"generic" configuration and it is now replaced with mt2701.
Update the dt-binding example to replace mt6577 with mt6589, as the example
uses [1] register addresses of the latter SoC.
[1] https://marc.info/?l=devicetree&m=159949247901831&w=2
Signed-off-by: Boris Lysov <arzamas-16 at mail.ee>
---
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt
index 5ea216ae7084..d1d0c5d2b9e9 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt
@@ -4,13 +4,12 @@ The MediaTek's I2C controller is used to interface with I2C devices.
Required properties:
- compatible: value should be either of the following.
- "mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for MediaTek MT2701
+ "mediatek,mt2701-i2c": for MediaTek MT2701
"mediatek,mt2712-i2c": for MediaTek MT2712
- "mediatek,mt6577-i2c": for MediaTek MT6577
"mediatek,mt6589-i2c": for MediaTek MT6589
- "mediatek,mt6797-i2c", "mediatek,mt6577-i2c": for MediaTek MT6797
+ "mediatek,mt6797-i2c", "mediatek,mt2701-i2c": for MediaTek MT6797
"mediatek,mt7622-i2c": for MediaTek MT7622
- "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for MediaTek MT7623
+ "mediatek,mt7623-i2c", "mediatek,mt2701-i2c": for MediaTek MT7623
"mediatek,mt7629-i2c", "mediatek,mt2712-i2c": for MediaTek MT7629
"mediatek,mt8173-i2c": for MediaTek MT8173
"mediatek,mt8183-i2c": for MediaTek MT8183
@@ -38,7 +37,7 @@ Optional properties:
Example:
i2c0: i2c at 1100d000 {
- compatible = "mediatek,mt6577-i2c";
+ compatible = "mediatek,mt6589-i2c";
reg = <0x1100d000 0x70>,
<0x11000300 0x80>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>;
--
2.20.1
More information about the Linux-mediatek
mailing list