]> git.dujemihanovic.xyz Git - u-boot.git/commit
tegra: spi: Support slow SPI rates
authorSimon Glass <sjg@chromium.org>
Fri, 5 Jun 2015 20:39:35 +0000 (14:39 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 9 Jun 2015 16:56:13 +0000 (09:56 -0700)
commit20edd1ac7ae7d081078dd64ffe7a89f48c09fd65
treeb434d873b314cfbf893109708afb36a6d9c529ea
parentb3b9d7ca324429319df1d1f246643d2ae928beb6
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