From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Fri, 31 Oct 2014 14:06:12 +0100 Subject: [PATCH v2 3/4] clocksource: armada-370-xp: Use the reference clock on A375 SoC In-Reply-To: <1414248522-16055-4-git-send-email-ezequiel.garcia@free-electrons.com> References: <1414248522-16055-1-git-send-email-ezequiel.garcia@free-electrons.com> <1414248522-16055-4-git-send-email-ezequiel.garcia@free-electrons.com> Message-ID: <20141031140612.0818eae6@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > --- > .../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 Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com