[PATCHv1 1/3] rtc: rtc-isl12057: add alarm support to Intersil ISL12057 RTC driver

Uwe Kleine-König uwe at kleine-koenig.org
Tue Dec 16 13:47:31 PST 2014


Hello Arnaud,

On 12/16/2014 01:07 PM, Arnaud Ebalard wrote:
>>> FWIW, if someone is looking for a way to test alarm support this can
>>> be done in the following way:
>>>
>>>     # echo `date '+%s' -d '+ 1 minutes'` > /sys/class/rtc/rtc0/wakealarm
>>>     # shutdown -h now
>>>
>>> With the commands above, after a minute, the system comes back to life.
>> This paragraph belongs into the 2nd patch, right?
> 
> no, it is for this patch. I did a specific commit message for the second
> patch. IIRC, it also has the example if it was the meaning of your
> question.
Is it usual that an rtc can wake up a machine from shutdown state? I
thought it isn't.

Best regards
Uwe



More information about the linux-arm-kernel mailing list