dt-bindings: spi: update bindings for MT8192 SoC
Subsystems (3)
PATCH v2 1/2 dt-bindings: spi: update bindings for MT8192 SoC
From: "leilk.liu" <[email protected]>
Add a DT binding documentation for the MT8192 soc.
--- Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/spi-mt65xx.txt +1 -0
@@ -11,6 +11,7 @@ Required properties: - mediatek,mt8135-spi: for mt8135 platforms - mediatek,mt8173-spi: for mt8173 platforms - mediatek,mt8183-spi: for mt8183 platforms + - "mediatek,mt8192-spi", "mediatek,mt6765-spi": for mt8192 platforms - "mediatek,mt8516-spi", "mediatek,mt2712-spi": for mt8516 platforms - #address-cells: should be 1.
Signature · 5 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 2/2 spi: mediatek: add spi support for mt8192 IC
From: "leilk.liu" <[email protected]>
This patch add spi support for mt8192 IC.
--- drivers/spi/spi-mt65xx.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/spi/spi-mt65xx.c +3 -0
@@ -170,6 +170,9 @@ static const struct of_device_id mtk_spi_of_match[] = { { .compatible = "mediatek,mt8183-spi", .data = (void *)&mt8183_compat, }, + { .compatible = "mediatek,mt8192-spi", + .data = (void *)&mt6765_compat, + }, {} };MODULE_DEVICE_TABLE (of, mtk_spi_of_match);
Signature · 5 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Matthias Brugger
maintainerRe: [PATCH v2 2/2] spi: mediatek: add spi support for mt8192 IC
Quoted 14 lines · Leilk Liu
From: "leilk.liu" <[email protected]>
This patch add spi support for mt8192 IC.
Signed-off-by leilk.liu <[email protected]>--- drivers/spi/spi-mt65xx.c | 3 +++ 1 file changed, 3 insertions(+)drivers/spi/spi-mt65xx.c +0
-0
drivers/spi/spi-mt65xx.c static const struct of_device_id mtk_spi_of_match[] = { · line 175
Quoted 6 lines
drivers/spi/spi-mt65xx.c +3
-0@@ -170,6 +170,9 @@ static const struct of_device_id mtk_spi_of_match[] = { { .compatible = "mediatek,mt8183-spi", .data = (void *)&mt8183_compat, }, + { .compatible = "mediatek,mt8192-spi", + .data = (void *)&mt6765_compat, + },
That's not needed. We will use the fallback compatible which is "mediatek,mt6765-spi" which will take the correct DT data. If in the future we realize that mt8192 has a difference in the HW we can add the compatible. Otherwise with the binding description we should be fine
Quoted 4 lines
drivers/spi/spi-mt65xx.c +0
-0{} };MODULE_DEVICE_TABLE (of, mtk_spi_of_match);
Re: [PATCH v2 2/2] spi: mediatek: add spi support for mt8192 IC
Quoted 11 lines · Matthias Brugger
Quoted 9 lines · Leilk Liu
From: "leilk.liu" <[email protected]>
This patch add spi support for mt8192 IC.
Signed-off-by leilk.liu <[email protected]>--- drivers/spi/spi-mt65xx.c | 3 +++ 1 file changed, 3 insertions(+)
Quoted 17 lines
drivers/spi/spi-mt65xx.c static const struct of_device_id mtk_spi_of_match[] = { · line 175
Quoted 11 lines
drivers/spi/spi-mt65xx.c +3
-0@@ -170,6 +170,9 @@ static const struct of_device_id mtk_spi_of_match[] = { { .compatible = "mediatek,mt8183-spi", .data = (void *)&mt8183_compat, }, + { .compatible = "mediatek,mt8192-spi", + .data = (void *)&mt6765_compat, + },That's not needed. We will use the fallback compatible which is "mediatek,mt6765-spi" which will take the correct DT data. If in the future we realize that mt8192 has a difference in the HW we can add the compatible. Otherwise with the binding description we should be fine
So you mean that only the following binding patch is needed? [PATCH v2 1/2] dt-bindings: spi: update bindings for MT8192 SoC
Quoted 4 lines
drivers/spi/spi-mt65xx.c static const struct of_device_id mtk_spi_of_match[] = { · line 178
Quoted 4 lines
drivers/spi/spi-mt65xx.c +0
-0{} };MODULE_DEVICE_TABLE (of, mtk_spi_of_match);
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Matthias Brugger
maintainerRe: [PATCH v2 2/2] spi: mediatek: add spi support for mt8192 IC
Quoted 29 lines · lei liu
Quoted 11 lines · Matthias Brugger
Quoted 9 lines · Leilk Liu
From: "leilk.liu" <[email protected]>
This patch add spi support for mt8192 IC.
Signed-off-by leilk.liu <[email protected]>--- drivers/spi/spi-mt65xx.c | 3 +++ 1 file changed, 3 insertions(+)Quoted 17 lines
drivers/spi/spi-mt65xx.c static const struct of_device_id mtk_spi_of_match[] = { · line 175
Quoted 11 lines
drivers/spi/spi-mt65xx.c +3
-0@@ -170,6 +170,9 @@ static const struct of_device_id mtk_spi_of_match[] = { { .compatible = "mediatek,mt8183-spi", .data = (void *)&mt8183_compat, }, + { .compatible = "mediatek,mt8192-spi", + .data = (void *)&mt6765_compat, + },That's not needed. We will use the fallback compatible which is "mediatek,mt6765-spi" which will take the correct DT data. If in the future we realize that mt8192 has a difference in the HW we can add the compatible. Otherwise with the binding description we should be fine
Quoted 3 lines
So you mean that only the following binding patch is needed? [PATCH v2 1/2] dt-bindings: spi: update bindings for MT8192 SoC
Yes, exactly.
Regards,
Matthias
Quoted 5 lines · Leilk Liu
From: "leilk.liu" <[email protected]>
Add a DT binding documentation for the MT8192 soc.
Signed-off-by leilk.liu <[email protected]>
Quoted 17 lines
--- Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/spi/spi-mt65xx.txt +1
-0@@ -11,6 +11,7 @@ Required properties: - mediatek,mt8135-spi: for mt8135 platforms - mediatek,mt8173-spi: for mt8173 platforms - mediatek,mt8183-spi: for mt8183 platforms + - "mediatek,mt8192-spi", "mediatek,mt6765-spi": for mt8192 platforms - "mediatek,mt8516-spi", "mediatek,mt2712-spi": for mt8516 platforms - #address-cells: should be 1.
Mark Brown
maintainerQuoted 1 line · Leilk Liu
Add a DT binding documentation for the MT8192 soc.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] spi: update bindings for MT8192 SoC
commit: 30962fe33ab5ed4bbd78c12f4b9e25a85c3e8d0b
[2/2] spi: mediatek: add spi support for mt8192 IC
commit: 8cf125c403f4e0c7c7b78f34bbf9d7a7c55c1ff8All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark