[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zl/V0dU6SjAMkpLG@colin-ia-desktop>
Date: Tue, 4 Jun 2024 22:04:49 -0500
From: Colin Foster <colin.foster@...advantage.com>
To: Louis Chauvet <louis.chauvet@...tlin.com>
Cc: Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: omap2-mcspi multi mode
Hi Louis,
I found that commit e64d3b6fc9a3 ("spi: omap2-mcpsi: Enable MULTI-mode
in more situations") caused a regression in the ocelot_mfd driver. It
essentially causes the boot to hang during probe of the SPI device.
The following patch restores functionality. I can hook up a logic
analyzer tomorrow to get some more info, but I wanted to see if you had
any ideas.
--- a/drivers/mfd/ocelot-spi.c
+++ b/drivers/mfd/ocelot-spi.c
@@ -225,6 +228,8 @@ static int ocelot_spi_probe(struct spi_device *spi)
}
spi->bits_per_word = 8;
+ spi->word_delay.value = 1;
+ spi->word_delay.unit = SPI_DELAY_UNIT_NSECS;
err = spi_setup(spi);
if (err)
Colin Foster
Powered by blists - more mailing lists