Re: [rtc-linux] [PATCH 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Lokesh Vutla
Hi, On Wednesday 01 April 2015 09:22 PM, Alexandre Belloni wrote: > Hi, > > On 01/04/2015 at 11:24:56 +0530, Lokesh Vutla wrote : >> RTC module contains a kicker mechanism to prevent any spurious writes >> from changing the register values. This mechanism requires two MMR >> writes to the KICK0 a

Re: [rtc-linux] [PATCH 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-01 Thread Alexandre Belloni
Hi, On 01/04/2015 at 11:24:56 +0530, Lokesh Vutla wrote : > RTC module contains a kicker mechanism to prevent any spurious writes > from changing the register values. This mechanism requires two MMR > writes to the KICK0 and KICK1 registers with exact data values > before the kicker lock mechanism

[PATCH 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-03-31 Thread Lokesh Vutla
RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. This mechanism requires two MMR writes to the KICK0 and KICK1 registers with exact data values before the kicker lock mechanism is released. Currently the driver release the lock in the probe a