Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: mediatek: add spi support for mt2712 IC

this patch add support for mt2712 IC.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

leilk.liu@mediatek.com and committed by
Mark Brown
b6b1f2d9 7383674c

+7
+7
drivers/spi/spi-mt65xx.c
··· 105 105 106 106 static const struct mtk_spi_compatible mtk_common_compat; 107 107 108 + static const struct mtk_spi_compatible mt2712_compat = { 109 + .must_tx = true, 110 + }; 111 + 108 112 static const struct mtk_spi_compatible mt7622_compat = { 109 113 .must_tx = true, 110 114 .enhance_timing = true, ··· 133 129 static const struct of_device_id mtk_spi_of_match[] = { 134 130 { .compatible = "mediatek,mt2701-spi", 135 131 .data = (void *)&mtk_common_compat, 132 + }, 133 + { .compatible = "mediatek,mt2712-spi", 134 + .data = (void *)&mt2712_compat, 136 135 }, 137 136 { .compatible = "mediatek,mt6589-spi", 138 137 .data = (void *)&mtk_common_compat,