Re: [PATCH] rtc: rtc-stmp3xxx: detect power failure on backup power domain

2017-07-29 Thread Alexandre Belloni
On 07/06/2017 at 15:05:03 +0200, Michael Thalmeier wrote: > On Thu, May 18, 2017 at 05:56:31PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 18/05/2017 at 16:45:21 +0200, Michael Thalmeier wrote: > > > To detect when the backup power domain has lost power a software defined > > > bit > > > i

Re: [PATCH] rtc: rtc-stmp3xxx: detect power failure on backup power domain

2017-06-07 Thread Michael Thalmeier
On Thu, May 18, 2017 at 05:56:31PM +0200, Alexandre Belloni wrote: > Hi, > > On 18/05/2017 at 16:45:21 +0200, Michael Thalmeier wrote: > > To detect when the backup power domain has lost power a software defined bit > > is set in one of the general purpose persistent registers when writing a new >

Re: [PATCH] rtc: rtc-stmp3xxx: detect power failure on backup power domain

2017-05-18 Thread Alexandre Belloni
Hi, On 18/05/2017 at 16:45:21 +0200, Michael Thalmeier wrote: > To detect when the backup power domain has lost power a software defined bit > is set in one of the general purpose persistent registers when writing a new > time into the rtc. > When reading the time this bit is checked to determine

[PATCH] rtc: rtc-stmp3xxx: detect power failure on backup power domain

2017-05-18 Thread Michael Thalmeier
To detect when the backup power domain has lost power a software defined bit is set in one of the general purpose persistent registers when writing a new time into the rtc. When reading the time this bit is checked to determine if a power fail has happened since the last time the rtc time was set.