Skip to content

Commit

Permalink
dt-bindings: i2c: i2c-mt65xx: remove mt6577 support
Browse files Browse the repository at this point in the history
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@mail.ee>
  • Loading branch information
arzam16 committed May 9, 2022
1 parent ded1368 commit 4b52288
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,mt8168-i2c": for MediaTek MT8168
"mediatek,mt8173-i2c": for MediaTek MT8173
Expand Down Expand Up @@ -40,7 +39,7 @@ Optional properties:
Example:

i2c0: i2c@1100d000 {
compatible = "mediatek,mt6577-i2c";
compatible = "mediatek,mt6589-i2c";
reg = <0x1100d000 0x70>,
<0x11000300 0x80>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>;
Expand Down

0 comments on commit 4b52288

Please sign in to comment.