projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eaf6f7
)
spi: mediatek: Add spi support for mt2701 IC
author
Leilk Liu
<leilk.liu@mediatek.com>
Thu, 31 Dec 2015 02:59:01 +0000
(10:59 +0800)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-mt65xx.c
b/drivers/spi/spi-mt65xx.c
index
917c564
..
dedc4dd
100644
(file)
--- 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,
},