Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299558

[PATCH 2/4] spi: mediatek: Add spi support for mt2701 IC

From Leilk Liu <leilk.liu@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH 2/4] spi: mediatek: Add spi support for mt2701 IC
Date 2015-12-31 04:00 +0100
Message-ID <qLBD4-6P9-9@gated-at.bofh.it> (permalink)
References <qLBD4-6P9-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds spi support for mt2701 IC.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
 drivers/spi/spi-mt65xx.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 3573c09..fe95f3f 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,
 	},
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/4] spi: mediatek: Add spi support for mt2701 IC Leilk Liu <leilk.liu@mediatek.com> - 2015-12-31 04:00 +0100

csiph-web