Re: battery switch-over detection on pcf2127

2020-05-05 Thread Alexandre Belloni
On 05/05/2020 23:01:19+0200, Rasmus Villemoes wrote: > Thanks for the quick replies, both. Unfortunately, being able to read BF > from linux is not relevant to us - all the handling happens early in the > bootloader (including clearing BF, so that we can detect that the > previous boot failed only

Re: battery switch-over detection on pcf2127

2020-05-05 Thread Rasmus Villemoes
On 05/05/2020 22.38, Bruno Thomsen wrote: > Hi Rasmus > > Den tir. 5. maj 2020 kl. 22.07 skrev Alexandre Belloni > : >> >> On 05/05/2020 21:54:47+0200, Rasmus Villemoes wrote: >>> Hi Bruno >>> >>> I just noticed your "rtc: pcf2127: add tamper detection support" >>> (03623b4b04) from 5.4. Unfortuna

Re: battery switch-over detection on pcf2127

2020-05-05 Thread Bruno Thomsen
Hi Rasmus Den tir. 5. maj 2020 kl. 22.07 skrev Alexandre Belloni : > > On 05/05/2020 21:54:47+0200, Rasmus Villemoes wrote: > > Hi Bruno > > > > I just noticed your "rtc: pcf2127: add tamper detection support" > > (03623b4b04) from 5.4. Unfortunately, clearing the BTSE bit breaks a use > > case of

Re: battery switch-over detection on pcf2127

2020-05-05 Thread Alexandre Belloni
On 05/05/2020 21:54:47+0200, Rasmus Villemoes wrote: > Hi Bruno > > I just noticed your "rtc: pcf2127: add tamper detection support" > (03623b4b04) from 5.4. Unfortunately, clearing the BTSE bit breaks a use > case of ours: > > We rely on the battery switch-over detection to distinguish a powerfa

battery switch-over detection on pcf2127

2020-05-05 Thread Rasmus Villemoes
Hi Bruno I just noticed your "rtc: pcf2127: add tamper detection support" (03623b4b04) from 5.4. Unfortunately, clearing the BTSE bit breaks a use case of ours: We rely on the battery switch-over detection to distinguish a powerfail during boot from a PORESET by the external watchdog (in the latt