clk: mvebu: armada-370: Fix timer drift caused by the SSCG deviation
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 2 Sep 2014 08:15:17 +0000 (10:15 +0200)
committerJason Cooper <jason@lakedaemon.net>
Tue, 9 Sep 2014 15:15:03 +0000 (15:15 +0000)
commit5e1a63f5f548bb8a3967f00be2f0e1e04290c613
tree2878555f750315be3a51108b8dd16e8d19c61333
parent15917b16022427c53755abff4dc7051f3076dd7a
clk: mvebu: armada-370: Fix timer drift caused by the SSCG deviation

This commit activates the SSCG deviation correction for the Armada
370. It uses the optional function introduced by the commit "clk:
mvebu: Fix clk frequency value if SSCG is enabled".

Without this fix the deviation measured on a Mirabox was of a few
second each hour, whereas with this fix it was reduced at around
50ppm (around 4s per day).

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Leigh Brown <leigh@solinno.co.uk>
Link: https://lkml.kernel.org/r/1409645719-20003-3-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/clk/mvebu/armada-370.c