* [PATCH 0/2] add mt2712 spi support @ 2017-06-20 8:21 Leilk Liu 2017-06-20 8:21 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform Leilk Liu 2017-06-20 8:21 ` [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC Leilk Liu 0 siblings, 2 replies; 6+ messages in thread From: Leilk Liu @ 2017-06-20 8:21 UTC (permalink / raw) To: Mark Brown Cc: Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek This series are based on 4.12-rc1 and provide 2 patches to support mt2712 IC. Change in this series: 1. update document to add mt2712; 2. add mt7622_compat. Leilk Liu (2): spi: mediatek: Add bindings for mediatek MT2712 soc platform spi: mediatek: add spi support for mt2712 IC .../devicetree/bindings/spi/spi-mt65xx.txt | 1 + drivers/spi/spi-mt65xx.c | 7 +++++++ 2 files changed, 8 insertions(+) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform 2017-06-20 8:21 [PATCH 0/2] add mt2712 spi support Leilk Liu @ 2017-06-20 8:21 ` Leilk Liu [not found] ` <1497946867-25708-2-git-send-email-leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2017-06-20 8:21 ` [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC Leilk Liu 1 sibling, 1 reply; 6+ messages in thread From: Leilk Liu @ 2017-06-20 8:21 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 MT2712 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 c0b1f01..e0318cf 100644 --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt @@ -3,6 +3,7 @@ Binding for MTK SPI controller Required properties: - compatible: should be one of the following. - mediatek,mt2701-spi: for mt2701 platforms + - mediatek,mt2712-spi: for mt2712 platforms - mediatek,mt6589-spi: for mt6589 platforms - mediatek,mt7622-spi: for mt7622 platforms - mediatek,mt8135-spi: for mt8135 platforms -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 6+ messages in thread
[parent not found: <1497946867-25708-2-git-send-email-leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform [not found] ` <1497946867-25708-2-git-send-email-leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> @ 2017-06-20 10:12 ` Matthias Brugger 2017-06-23 21:46 ` Rob Herring 1 sibling, 0 replies; 6+ messages in thread From: Matthias Brugger @ 2017-06-20 10:12 UTC (permalink / raw) To: Leilk Liu, Mark Brown Cc: Mark Rutland, Sascha Hauer, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 20/06/17 10:21, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT2712 soc. > > Signed-off-by: Leilk Liu <leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> > --- > .../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 c0b1f01..e0318cf 100644 > --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt > +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt > @@ -3,6 +3,7 @@ Binding for MTK SPI controller > Required properties: > - compatible: should be one of the following. > - mediatek,mt2701-spi: for mt2701 platforms > + - mediatek,mt2712-spi: for mt2712 platforms > - mediatek,mt6589-spi: for mt6589 platforms > - mediatek,mt7622-spi: for mt7622 platforms > - mediatek,mt8135-spi: for mt8135 platforms > Reviewed-by: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform [not found] ` <1497946867-25708-2-git-send-email-leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2017-06-20 10:12 ` Matthias Brugger @ 2017-06-23 21:46 ` Rob Herring 1 sibling, 0 replies; 6+ messages in thread From: Rob Herring @ 2017-06-23 21:46 UTC (permalink / raw) To: Leilk Liu Cc: Mark Brown, Mark Rutland, Matthias Brugger, Sascha Hauer, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Tue, Jun 20, 2017 at 04:21:06PM +0800, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT2712 soc. > > Signed-off-by: Leilk Liu <leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> > --- > .../devicetree/bindings/spi/spi-mt65xx.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC 2017-06-20 8:21 [PATCH 0/2] add mt2712 spi support Leilk Liu 2017-06-20 8:21 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform Leilk Liu @ 2017-06-20 8:21 ` Leilk Liu 2017-06-20 10:15 ` Matthias Brugger 1 sibling, 1 reply; 6+ messages in thread From: Leilk Liu @ 2017-06-20 8:21 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 mt2712 IC. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> --- drivers/spi/spi-mt65xx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index ec7755b..86bf456 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -105,6 +105,10 @@ struct mtk_spi { static const struct mtk_spi_compatible mtk_common_compat; +static const struct mtk_spi_compatible mt2712_compat = { + .must_tx = true, +}; + static const struct mtk_spi_compatible mt7622_compat = { .must_tx = true, .enhance_timing = true, @@ -130,6 +134,9 @@ struct mtk_spi { { .compatible = "mediatek,mt2701-spi", .data = (void *)&mtk_common_compat, }, + { .compatible = "mediatek,mt2712-spi", + .data = (void *)&mt2712_compat, + }, { .compatible = "mediatek,mt6589-spi", .data = (void *)&mtk_common_compat, }, -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC 2017-06-20 8:21 ` [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC Leilk Liu @ 2017-06-20 10:15 ` Matthias Brugger 0 siblings, 0 replies; 6+ messages in thread From: Matthias Brugger @ 2017-06-20 10:15 UTC (permalink / raw) To: Leilk Liu, Mark Brown Cc: Mark Rutland, Sascha Hauer, devicetree, linux-kernel, linux-arm-kernel, linux-spi, linux-mediatek On 20/06/17 10:21, Leilk Liu wrote: > this patch add support for mt2712 IC. > > Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> > --- > drivers/spi/spi-mt65xx.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c > index ec7755b..86bf456 100644 > --- a/drivers/spi/spi-mt65xx.c > +++ b/drivers/spi/spi-mt65xx.c > @@ -105,6 +105,10 @@ struct mtk_spi { > > static const struct mtk_spi_compatible mtk_common_compat; > > +static const struct mtk_spi_compatible mt2712_compat = { > + .must_tx = true, > +}; > + > static const struct mtk_spi_compatible mt7622_compat = { > .must_tx = true, > .enhance_timing = true, > @@ -130,6 +134,9 @@ struct mtk_spi { > { .compatible = "mediatek,mt2701-spi", > .data = (void *)&mtk_common_compat, > }, > + { .compatible = "mediatek,mt2712-spi", > + .data = (void *)&mt2712_compat, > + }, > { .compatible = "mediatek,mt6589-spi", > .data = (void *)&mtk_common_compat, > }, > Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-06-23 21:46 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-06-20 8:21 [PATCH 0/2] add mt2712 spi support Leilk Liu 2017-06-20 8:21 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform Leilk Liu [not found] ` <1497946867-25708-2-git-send-email-leilk.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2017-06-20 10:12 ` Matthias Brugger 2017-06-23 21:46 ` Rob Herring 2017-06-20 8:21 ` [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC Leilk Liu 2017-06-20 10:15 ` Matthias Brugger
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).