[PATCH] rtc: armada38x: Align RTC set time procedure with the official errata

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Aug 18 02:21:52 PDT 2015


On 06/08/2015 at 17:18:48 +0200, Gregory CLEMENT wrote :
> From: Nadav Haklai <nadavh at marvell.com>
> 
> According to the Armada38x functional errata FE-3124064, writing to
> the RTC TIME register may fail. As a workaround, after writing to RTC
> TIME register, issue a dummy write of 0x0 twice to the RTC Status
> register.  This is the updated implementation of the Errata that
> eliminates the need of the long 100ms delay during the RTC set time
> procedure.
> 
> [gregory.clement at free-electrons.com]: removed the mutex and use the
> spinlock again
> 
> Signed-off-by: Nadav Haklai <nadavh at marvell.com>
> Reviewed-by: Neta Zur Hershkovits <neta at marvell.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list