[PATCH v2 3/4] clocksource: armada-370-xp: Use the reference clock on A375 SoC
From: Thomas Petazzoni <hidden>
Date: 2014-10-31 13:06:12
Also in:
linux-watchdog
From: Thomas Petazzoni <hidden>
Date: 2014-10-31 13:06:12
Also in:
linux-watchdog
Dear Ezequiel Garcia, On Sat, 25 Oct 2014 11:48:41 -0300, Ezequiel Garcia wrote:
The 25 MHz reference clock has better stability so its use is preferred over the core clock. This commit takes advantage of the already introduced Armada 375 devicetree compatible string and adds a new timer initialization. If available, the timer will use the reference clock (named as 'fixed'). Otherwise, it falls back to the previous behavior. Signed-off-by: Ezequiel Garcia <redacted> --- .../bindings/timer/marvell,armada-370-xp-timer.txt | 9 ++++--- drivers/clocksource/time-armada-370-xp.c | 28 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-)
Reviewed-by: Thomas Petazzoni <redacted> Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com