tegra: Add a delay in clock_start_periph_pll()
authorSimon Glass <sjg@chromium.org>
Mon, 1 Apr 2019 20:38:38 +0000 (13:38 -0700)
committerTom Warren <twarren@nvidia.com>
Fri, 24 May 2019 17:13:44 +0000 (10:13 -0700)
commitc9d7542bf3014f46ce55e212122f02b77dd651a1
treec7274686ba92ce95dc24f9200838e986d99717fc
parentf6ac3fab9ba2aa4b352fd8c8799c4b5091fc376c
tegra: Add a delay in clock_start_periph_pll()

This function enables a peripheral clock and then immediately sets its
divider. Add a delay to allow the clock to settle first. This matches the
delay in other places which do a similar thing.

Without this, the I2S device on Nyan does not init properly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/clock.c