blob: ffe6003d06bc3990da8d7ca4a82501c89c59ddd3 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 89740f80939ddd9b73648da2a97c8f31ae16050a Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:22 +0800
4Subject: [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
11diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
12index 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--
252.34.1
26