mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
spi: tegra: Increase delay between CS and clock start
Some SPI devices require a delay between the CS and when the clock starts. Increase SS_SETUP to accommodate these devices. Change-Id: I301e3583e70c722cadde5a9f91119881805dd3a5 Signed-off-by: Greg Meiste <w30289@motorola.com>
This commit is contained in:
committed by
Rebecca Schultz Zavin
parent
493f938e0d
commit
9cd8acf1b9
@@ -274,6 +274,7 @@ static void spi_tegra_start_transfer(struct spi_device *spi,
|
||||
val |= SLINK_TXEN;
|
||||
val |= SLINK_SS_EN_CS(spi->chip_select);
|
||||
val |= SLINK_SPIE;
|
||||
val |= SLINK_SS_SETUP(3);
|
||||
spi_tegra_writel(tspi, val, SLINK_COMMAND2);
|
||||
|
||||
val = spi_tegra_readl(tspi, SLINK_COMMAND);
|
||||
|
||||
Reference in New Issue
Block a user