From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@bootlin.com (Alexandre Belloni) Date: Thu, 12 Jul 2018 20:36:22 +0200 Subject: [PATCH 2/2] rtc: armada38x: reset after rtc power loss In-Reply-To: <2a509f094a7ae584f657fb02791e5edea29ea149.1529602823.git.baruch@tkos.co.il> References: <00ffe926e6878724d8289dd0e289a1f16df55ef7.1529602823.git.baruch@tkos.co.il> <2a509f094a7ae584f657fb02791e5edea29ea149.1529602823.git.baruch@tkos.co.il> Message-ID: <20180712183622.GI16084@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 21/06/2018 20:40:23+0300, Baruch Siach wrote: > When the RTC block looses power it needs a reset sequence to make it > usable again. Otherwise, writes to the time register have no effect. > > This reset sequence combines information from the mvebu_rtc driver in > the Marvell provided U-Boot, and the SolidRun provided U-Boot repo. > > Tested on the Armada 388 based SolidRun Clearfog Base. > > Signed-off-by: Baruch Siach > --- > drivers/rtc/rtc-armada38x.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > Applied, thanks. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com