* add SPI driver support for mt8183 @ 2018-11-01 6:02 Leilk Liu 2018-11-01 6:02 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT8183 soc platform Leilk Liu 2018-11-01 6:02 ` [PATCH 2/2] spi: mediatek: add spi support for mt8183 IC Leilk Liu 0 siblings, 2 replies; 5+ messages in thread From: Leilk Liu @ 2018-11-01 6:02 UTC (permalink / raw) To: Mark Brown Cc: Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek From 44b1c34bc19d9bfdc736664439c0530fbb2c75b8 Mon Sep 17 00:00:00 2001 From: Leilk Liu <leilk.liu@mediatek.com> Date: Thu, 1 Nov 2018 11:48:20 +0800 Subject: [PATCH 0/2] add SPI driver support for mt8183 This series are based on 4.19-rc1 and provide two patches to support mt8183 IC. Leilk Liu (2): spi: mediatek: Add bindings for mediatek MT8183 soc platform spi: mediatek: add spi support for mt8183 IC Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + drivers/spi/spi-mt65xx.c | 9 +++++++++ 2 files changed, 10 insertions(+) -- 2.19.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT8183 soc platform 2018-11-01 6:02 add SPI driver support for mt8183 Leilk Liu @ 2018-11-01 6:02 ` Leilk Liu 2018-11-05 12:05 ` Applied "spi: mediatek: Add bindings for mediatek MT8183 soc platform" to the spi tree Mark Brown 2018-11-01 6:02 ` [PATCH 2/2] spi: mediatek: add spi support for mt8183 IC Leilk Liu 1 sibling, 1 reply; 5+ messages in thread From: Leilk Liu @ 2018-11-01 6:02 UTC (permalink / raw) To: Mark Brown Cc: Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek, Leilk Liu This patch adds a DT binding documentation for the MT8183 soc. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> --- .../devicetree/bindings/spi/spi-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt index 236dcb0..7940940 100644 --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt @@ -8,6 +8,7 @@ Required properties: - mediatek,mt7622-spi: for mt7622 platforms - mediatek,mt8135-spi: for mt8135 platforms - mediatek,mt8173-spi: for mt8173 platforms + - mediatek,mt8183-spi: for mt8183 platforms - #address-cells: should be 1. -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Applied "spi: mediatek: Add bindings for mediatek MT8183 soc platform" to the spi tree 2018-11-01 6:02 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT8183 soc platform Leilk Liu @ 2018-11-05 12:05 ` Mark Brown 0 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2018-11-05 12:05 UTC (permalink / raw) To: Leilk Liu Cc: Mark Brown, Mark Brown, Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek, linux-spi The patch spi: mediatek: Add bindings for mediatek MT8183 soc platform has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All 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 From f611dfdb8544b5ac4228f4e3cb3b06ce15b9c74b Mon Sep 17 00:00:00 2001 From: Leilk Liu <leilk.liu@mediatek.com> Date: Thu, 1 Nov 2018 14:02:18 +0800 Subject: [PATCH] spi: mediatek: Add bindings for mediatek MT8183 soc platform This patch adds a DT binding documentation for the MT8183 soc. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org> --- Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt index 236dcb0faf37..7940940b43e6 100644 --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt @@ -8,6 +8,7 @@ Required properties: - mediatek,mt7622-spi: for mt7622 platforms - mediatek,mt8135-spi: for mt8135 platforms - mediatek,mt8173-spi: for mt8173 platforms + - mediatek,mt8183-spi: for mt8183 platforms - #address-cells: should be 1. -- 2.19.0.rc2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] spi: mediatek: add spi support for mt8183 IC 2018-11-01 6:02 add SPI driver support for mt8183 Leilk Liu 2018-11-01 6:02 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT8183 soc platform Leilk Liu @ 2018-11-01 6:02 ` Leilk Liu 2018-11-05 12:05 ` Applied "spi: mediatek: add spi support for mt8183 IC" to the spi tree Mark Brown 1 sibling, 1 reply; 5+ messages in thread From: Leilk Liu @ 2018-11-01 6:02 UTC (permalink / raw) To: Mark Brown Cc: Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek, Leilk Liu this patch add support for mt8183 IC. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> --- drivers/spi/spi-mt65xx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 0c2867d..9ee1fe9 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -120,6 +120,12 @@ struct mtk_spi { .must_tx = true, }; +static const struct mtk_spi_compatible mt8183_compat = { + .need_pad_sel = true, + .must_tx = true, + .enhance_timing = true, +}; + /* * A piece of default chip info unless the platform * supplies it. @@ -150,6 +156,9 @@ struct mtk_spi { { .compatible = "mediatek,mt8173-spi", .data = (void *)&mt8173_compat, }, + { .compatible = "mediatek,mt8183-spi", + .data = (void *)&mt8183_compat, + }, {} }; MODULE_DEVICE_TABLE(of, mtk_spi_of_match); -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Applied "spi: mediatek: add spi support for mt8183 IC" to the spi tree 2018-11-01 6:02 ` [PATCH 2/2] spi: mediatek: add spi support for mt8183 IC Leilk Liu @ 2018-11-05 12:05 ` Mark Brown 0 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2018-11-05 12:05 UTC (permalink / raw) To: Leilk Liu Cc: Mark Brown, Mark Brown, Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek, linux-spi The patch spi: mediatek: add spi support for mt8183 IC has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All 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 From b654aa6f2bbb00508ea0abc1cdc98ba8baa13682 Mon Sep 17 00:00:00 2001 From: Leilk Liu <leilk.liu@mediatek.com> Date: Thu, 1 Nov 2018 14:02:19 +0800 Subject: [PATCH] spi: mediatek: add spi support for mt8183 IC this patch add support for mt8183 IC. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org> --- drivers/spi/spi-mt65xx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 3dc31627c655..f3119d82150e 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -120,6 +120,12 @@ static const struct mtk_spi_compatible mt8173_compat = { .must_tx = true, }; +static const struct mtk_spi_compatible mt8183_compat = { + .need_pad_sel = true, + .must_tx = true, + .enhance_timing = true, +}; + /* * A piece of default chip info unless the platform * supplies it. @@ -150,6 +156,9 @@ static const struct of_device_id mtk_spi_of_match[] = { { .compatible = "mediatek,mt8173-spi", .data = (void *)&mt8173_compat, }, + { .compatible = "mediatek,mt8183-spi", + .data = (void *)&mt8183_compat, + }, {} }; MODULE_DEVICE_TABLE(of, mtk_spi_of_match); -- 2.19.0.rc2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-11-05 12:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-11-01 6:02 add SPI driver support for mt8183 Leilk Liu 2018-11-01 6:02 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT8183 soc platform Leilk Liu 2018-11-05 12:05 ` Applied "spi: mediatek: Add bindings for mediatek MT8183 soc platform" to the spi tree Mark Brown 2018-11-01 6:02 ` [PATCH 2/2] spi: mediatek: add spi support for mt8183 IC Leilk Liu 2018-11-05 12:05 ` Applied "spi: mediatek: add spi support for mt8183 IC" to the spi tree Mark Brown
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).