diff options
author | Leilk Liu <leilk.liu@mediatek.com> | 2015-12-30 21:59:01 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-31 17:10:02 -0500 |
commit | 15bcdefdc71a791ce0308989ed3fc43b4f973c7f (patch) | |
tree | 6de727bd0b47502d2d3555158a66149abfce6b13 | |
parent | 4eaf6f730355ce3725dd8c98e62696ec4c507e9b (diff) |
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.c | 3 |
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 = { | |||
111 | }; | 111 | }; |
112 | 112 | ||
113 | static const struct of_device_id mtk_spi_of_match[] = { | 113 | static const struct of_device_id mtk_spi_of_match[] = { |
114 | { .compatible = "mediatek,mt2701-spi", | ||
115 | .data = (void *)&mtk_common_compat, | ||
116 | }, | ||
114 | { .compatible = "mediatek,mt6589-spi", | 117 | { .compatible = "mediatek,mt6589-spi", |
115 | .data = (void *)&mtk_common_compat, | 118 | .data = (void *)&mtk_common_compat, |
116 | }, | 119 | }, |