developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 89740f80939ddd9b73648da2a97c8f31ae16050a Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:22 +0800 |
| 4 | Subject: [PATCH] |
| 5 | [spi-and-storage][999-2376-drivers-spi-mt65xx-add-dts-buswidth-flow.patch] |
| 6 | |
| 7 | --- |
| 8 | drivers/spi/spi-mt65xx.c | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c |
| 12 | index b80f8dcd9..ac95e26c1 100644 |
| 13 | --- a/drivers/spi/spi-mt65xx.c |
| 14 | +++ b/drivers/spi/spi-mt65xx.c |
| 15 | @@ -1080,7 +1080,7 @@ static int mtk_spi_probe(struct platform_device *pdev) |
| 16 | master->flags = SPI_MASTER_MUST_TX; |
| 17 | |
| 18 | if (mdata->dev_comp->ipm_design) |
| 19 | - master->mode_bits |= SPI_LOOP; |
| 20 | + master->mode_bits |= SPI_LOOP | SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD; |
| 21 | |
| 22 | if (mdata->dev_comp->ipm_design) { |
| 23 | mdata->dev = dev; |
| 24 | -- |
| 25 | 2.34.1 |
| 26 | |