* [PATCH 0/2] Add mt7986 i2c support @ 2022-10-09 10:16 Frank Wunderlich 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich 2022-10-09 10:16 ` [PATCH 2/2] i2c: mediatek: add mt7986 support Frank Wunderlich 0 siblings, 2 replies; 8+ messages in thread From: Frank Wunderlich @ 2022-10-09 10:16 UTC (permalink / raw) To: linux-mediatek Cc: Frank Wunderlich, Qii Wang, Rob Herring, Krzysztof Kozlowski, Matthias Brugger, linux-i2c, devicetree, linux-arm-kernel, linux-kernel From: Frank Wunderlich <frank-w@public-files.de> 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(+) -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc 2022-10-09 10:16 [PATCH 0/2] Add mt7986 i2c support Frank Wunderlich @ 2022-10-09 10:16 ` Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno ` (2 more replies) 2022-10-09 10:16 ` [PATCH 2/2] i2c: mediatek: add mt7986 support Frank Wunderlich 1 sibling, 3 replies; 8+ messages in thread From: Frank Wunderlich @ 2022-10-09 10:16 UTC (permalink / raw) To: linux-mediatek Cc: Frank Wunderlich, Qii Wang, Rob Herring, Krzysztof Kozlowski, Matthias Brugger, linux-i2c, devicetree, linux-arm-kernel, linux-kernel From: Frank Wunderlich <frank-w@public-files.de> Add i2c compatible for MT7986 SOC. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml index 4e730fb7be56..421563bf576c 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml @@ -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 -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich @ 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-10-10 13:04 ` Rob Herring 2022-11-01 12:41 ` Wolfram Sang 2 siblings, 0 replies; 8+ messages in thread From: AngeloGioacchino Del Regno @ 2022-10-10 8:27 UTC (permalink / raw) To: Frank Wunderlich, linux-mediatek Cc: linux-arm-kernel, devicetree, linux-kernel, Rob Herring, linux-i2c, Krzysztof Kozlowski, Matthias Brugger, Qii Wang Il 09/10/22 12:16, Frank Wunderlich ha scritto: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c compatible for MT7986 SOC. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno @ 2022-10-10 13:04 ` Rob Herring 2022-11-01 12:41 ` Wolfram Sang 2 siblings, 0 replies; 8+ messages in thread From: Rob Herring @ 2022-10-10 13:04 UTC (permalink / raw) To: Frank Wunderlich Cc: linux-kernel, linux-i2c, Rob Herring, Matthias Brugger, Qii Wang, Krzysztof Kozlowski, devicetree, Frank Wunderlich, linux-mediatek, linux-arm-kernel On Sun, 09 Oct 2022 12:16:30 +0200, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c compatible for MT7986 SOC. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > --- > Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-10-10 13:04 ` Rob Herring @ 2022-11-01 12:41 ` Wolfram Sang 2 siblings, 0 replies; 8+ messages in thread From: Wolfram Sang @ 2022-11-01 12:41 UTC (permalink / raw) To: Frank Wunderlich Cc: linux-mediatek, Frank Wunderlich, Qii Wang, Rob Herring, Krzysztof Kozlowski, Matthias Brugger, linux-i2c, devicetree, linux-arm-kernel, linux-kernel [-- Attachment #1.1: Type: text/plain, Size: 260 bytes --] On Sun, Oct 09, 2022 at 12:16:30PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c compatible for MT7986 SOC. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Applied to for-next, thanks! [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/2] i2c: mediatek: add mt7986 support 2022-10-09 10:16 [PATCH 0/2] Add mt7986 i2c support Frank Wunderlich 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich @ 2022-10-09 10:16 ` Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-11-01 12:41 ` Wolfram Sang 1 sibling, 2 replies; 8+ messages in thread From: Frank Wunderlich @ 2022-10-09 10:16 UTC (permalink / raw) To: linux-mediatek Cc: Frank Wunderlich, Qii Wang, Rob Herring, Krzysztof Kozlowski, Matthias Brugger, linux-i2c, devicetree, linux-arm-kernel, linux-kernel From: Frank Wunderlich <frank-w@public-files.de> Add i2c support for MT7986 SoC. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- drivers/i2c/busses/i2c-mt65xx.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index fc7bfd98156b..d80e59340d97 100644 --- a/drivers/i2c/busses/i2c-mt65xx.c +++ b/drivers/i2c/busses/i2c-mt65xx.c @@ -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 }, -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] i2c: mediatek: add mt7986 support 2022-10-09 10:16 ` [PATCH 2/2] i2c: mediatek: add mt7986 support Frank Wunderlich @ 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-11-01 12:41 ` Wolfram Sang 1 sibling, 0 replies; 8+ messages in thread From: AngeloGioacchino Del Regno @ 2022-10-10 8:27 UTC (permalink / raw) To: Frank Wunderlich, linux-mediatek Cc: linux-arm-kernel, devicetree, linux-kernel, Rob Herring, linux-i2c, Krzysztof Kozlowski, Matthias Brugger, Qii Wang Il 09/10/22 12:16, Frank Wunderlich ha scritto: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c support for MT7986 SoC. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Verified against u-boot sources for MT7986 located at BPI GIT Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] i2c: mediatek: add mt7986 support 2022-10-09 10:16 ` [PATCH 2/2] i2c: mediatek: add mt7986 support Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno @ 2022-11-01 12:41 ` Wolfram Sang 1 sibling, 0 replies; 8+ messages in thread From: Wolfram Sang @ 2022-11-01 12:41 UTC (permalink / raw) To: Frank Wunderlich Cc: linux-mediatek, Frank Wunderlich, Qii Wang, Rob Herring, Krzysztof Kozlowski, Matthias Brugger, linux-i2c, devicetree, linux-arm-kernel, linux-kernel [-- Attachment #1.1: Type: text/plain, Size: 257 bytes --] On Sun, Oct 09, 2022 at 12:16:31PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c support for MT7986 SoC. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Applied to for-next, thanks! [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-11-01 12:42 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-09 10:16 [PATCH 0/2] Add mt7986 i2c support Frank Wunderlich 2022-10-09 10:16 ` [PATCH 1/2] dt-bindings: i2c: update bindings for mt7986 soc Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-10-10 13:04 ` Rob Herring 2022-11-01 12:41 ` Wolfram Sang 2022-10-09 10:16 ` [PATCH 2/2] i2c: mediatek: add mt7986 support Frank Wunderlich 2022-10-10 8:27 ` AngeloGioacchino Del Regno 2022-11-01 12:41 ` Wolfram Sang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).