sunxi: Tune H3 DRAM PLL to improve lock time
authorJens Kuske <jenskuske@gmail.com>
Fri, 19 Aug 2016 11:40:46 +0000 (13:40 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 26 Aug 2016 14:58:37 +0000 (16:58 +0200)
commitd5ac6eef91965b519d8f15f17febfa0ea2ee0adc
treecba94fb97afcef4df858fc6d136fd2a0b4b8a2e4
parent421c98d7d2ebf929debf907e75ec04419cf07dbe
sunxi: Tune H3 DRAM PLL to improve lock time

The H3 PLL5 used for DRAM barely manages to lock to the required
frequency before DRAM controller starts, sometimes leading to wrong
delay-line calibration results.
This patch changes the PLL tuning parameters to the same values as
boot0 used, which speeds up the locking and fixes the problem.

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/include/asm/arch-sunxi/clock_sun6i.h
arch/arm/mach-sunxi/clock_sun6i.c