summaryrefslogtreecommitdiff
path: root/drivers/spi/tegra210_qspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/tegra210_qspi.c')
-rw-r--r--drivers/spi/tegra210_qspi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/tegra210_qspi.c b/drivers/spi/tegra210_qspi.c
index 6bbbe93839..026cff0c15 100644
--- a/drivers/spi/tegra210_qspi.c
+++ b/drivers/spi/tegra210_qspi.c
@@ -131,6 +131,9 @@ static int tegra210_qspi_probe(struct udevice *bus)
priv->freq = plat->frequency;
priv->periph_id = plat->periph_id;
+ /* Change SPI clock to correct frequency, PLLP_OUT0 source */
+ clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, priv->freq);
+
return 0;
}