spi: mediatek: Add spi support for mt2701 IC
authorLeilk Liu <leilk.liu@mediatek.com>
Thu, 31 Dec 2015 02:59:01 +0000 (10:59 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 31 Dec 2015 22:10:02 +0000 (22:10 +0000)
This patch adds spi support for mt2701 IC.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c

index 917c564..dedc4dd 100644 (file)
@@ -111,6 +111,9 @@ static const struct mtk_chip_config mtk_default_chip_info = {
 };
 
 static const struct of_device_id mtk_spi_of_match[] = {
+       { .compatible = "mediatek,mt2701-spi",
+               .data = (void *)&mtk_common_compat,
+       },
        { .compatible = "mediatek,mt6589-spi",
                .data = (void *)&mtk_common_compat,
        },