]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 917c564edd4a759260f5f7a6aa286041e2f903ab..dedc4dd9d78ac68775322fd8102f69019cfc6b1e 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,
        },