Re: [PATCH v3 0/2] rtc: pcf2127: proper initialization after power loss

2021-01-25 Thread Alexandre Belloni
On Mon, 18 Jan 2021 09:57:50 +0100, Philipp Rosenberger wrote: > If the PCF2127/2129 loses power it needs some initialization to work > correctly. A bootloader/firmware might do this. If not we should do this > in the driver. > > Changes for v3: > - drop the test if clearing PORO was successful >

[PATCH v3 0/2] rtc: pcf2127: proper initialization after power loss

2021-01-18 Thread Philipp Rosenberger
If the PCF2127/2129 loses power it needs some initialization to work correctly. A bootloader/firmware might do this. If not we should do this in the driver. Changes for v3: - drop the test if clearing PORO was successful - only run OTP refresh if OTPR bit is not already set Changes for v2: -