]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tegra: spi: Support slow SPI rates
authorSimon Glass <sjg@chromium.org>
Fri, 5 Jun 2015 20:39:35 +0000 (14:39 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:34 +0000 (00:42 +0200)
commitcbaf474b5aa3fec00be2680edb73e1f3fdfeb621
treed12aa7df40601fdb5a82cf035cbfb7d0f689dcd3
parent8a8ebc4ec0c6799d83ed5814aadf3d8d5bcd67a1
tegra: spi: Support slow SPI rates

Use the oscillator as the source clock when we cannot achieve a low-enough
speed with the peripheral clock. This happens when we request 3MHz on a SPI
clock, for example.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/spi/tegra114_spi.c