Add mt7986 i2c support
Subsystems (4)
cover Add mt7986 i2c support
From: Frank Wunderlich <[email protected]>
This series changes binding and driver for supporting i2c on mt7986.
Frank Wunderlich (2):
dt-bindings: i2c: update bindings for mt7986 soc
i2c: mediatek: add mt7986 support
.../devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + drivers/i2c/busses/i2c-mt65xx.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+)
Signature · 1 line
2.34.1
PATCH 2/2 i2c: mediatek: add mt7986 support
From: Frank Wunderlich <[email protected]>
Add i2c support for MT7986 SoC.
--- drivers/i2c/busses/i2c-mt65xx.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/i2c/busses/i2c-mt65xx.c +14 -0
@@ -431,6 +431,19 @@ static const struct mtk_i2c_compatible mt8168_compat = { .max_dma_support = 33, }; +static const struct mtk_i2c_compatible mt7986_compat = { + .quirks = &mt7622_i2c_quirks, + .regs = mt_i2c_regs_v1, + .pmic_i2c =0 , + .dcm =1 , + .auto_restart =1 , + .aux_len_reg =1 , + .timing_adjust =0 , + .dma_sync =1 , + .ltiming_adjust =0 , + .max_dma_support =32 , +}; +static const struct mtk_i2c_compatible mt8173_compat = { .regs = mt_i2c_regs_v1, .pmic_i2c =0 ,
@@ -503,6 +516,7 @@ static const struct of_device_id mtk_i2c_of_match[] = { { .compatible = "mediatek,mt6577-i2c", .data = &mt6577_compat }, { .compatible = "mediatek,mt6589-i2c", .data = &mt6589_compat }, { .compatible = "mediatek,mt7622-i2c", .data = &mt7622_compat }, + { .compatible = "mediatek,mt7986-i2c", .data = &mt7986_compat }, { .compatible = "mediatek,mt8168-i2c", .data = &mt8168_compat }, { .compatible = "mediatek,mt8173-i2c", .data = &mt8173_compat }, { .compatible = "mediatek,mt8183-i2c", .data = &mt8183_compat },
Signature · 1 line
2.34.1
PATCH 1/2 dt-bindings: i2c: update bindings for mt7986 soc
In reply to Frank WunderlichFrom: Frank Wunderlich <[email protected]>
Add i2c compatible for MT7986 SOC.
--- Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml +1 -0
@@ -23,6 +23,7 @@ properties: - const: mediatek,mt6577-i2c - const: mediatek,mt6589-i2c - const: mediatek,mt7622-i2c + - const: mediatek,mt7986-i2c - const: mediatek,mt8168-i2c - const: mediatek,mt8173-i2c - const: mediatek,mt8183-i2c
Signature · 1 line
2.34.1
Re: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc
Il 09/10/22 12:16, Frank Wunderlich ha scritto:
Quoted 5 lines
From: Frank Wunderlich <[email protected]>
Add i2c compatible for MT7986 SOC.
Signed-off-by Frank Wunderlich <[email protected]>
Re: [PATCH 2/2] i2c: mediatek: add mt7986 support
In reply to Frank WunderlichIl 09/10/22 12:16, Frank Wunderlich ha scritto:
Quoted 5 lines
From: Frank Wunderlich <[email protected]>
Add i2c support for MT7986 SoC.
Signed-off-by Frank Wunderlich <[email protected]>
Verified against u-boot sources for MT7986 located at BPI GIT
Re: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc
In reply to Frank WunderlichQuoted 9 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Add i2c compatible for MT7986 SOC.
Signed-off-by Frank Wunderlich <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + 1 file changed, 1 insertion(+)
Wolfram Sang
AppliedRe: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc
In reply to Frank WunderlichQuoted 5 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Add i2c compatible for MT7986 SOC.
Signed-off-by Frank Wunderlich <[email protected]>
Applied to for-next, thanks!
Wolfram Sang
AppliedRe: [PATCH 2/2] i2c: mediatek: add mt7986 support
In reply to Frank WunderlichQuoted 5 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Add i2c support for MT7986 SoC.
Signed-off-by Frank Wunderlich <[email protected]>
Applied to for-next, thanks!