summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeilk Liu <leilk.liu@mediatek.com>2015-12-31 10:59:01 +0800
committerMark Brown <broonie@kernel.org>2015-12-31 22:10:02 +0000
commit15bcdefdc71a791ce0308989ed3fc43b4f973c7f (patch)
tree6de727bd0b47502d2d3555158a66149abfce6b13
parent4eaf6f730355ce3725dd8c98e62696ec4c507e9b (diff)
downloadlwn-15bcdefdc71a791ce0308989ed3fc43b4f973c7f.tar.gz
lwn-15bcdefdc71a791ce0308989ed3fc43b4f973c7f.zip
spi: mediatek: Add spi support for mt2701 IC
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>
-rw-r--r--drivers/spi/spi-mt65xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 917c564edd4a..dedc4dd9d78a 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -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,
},