Thread (7 messages) 7 messages, 2 authors, 2016-07-08

[rtc-linux] [PATCH v2 0/5] rtc: s35390a: allow shutdown of NAS after alarm triggered

From: Uwe Kleine-König <hidden>
Date: 2016-07-02 15:28:18

Hello,

this is v2 of the series fixing https://bugs.debian.org/794266.

The only change compared to (implicit) v1 is that reading out a disabled
alarm is fixed. When the alarm is disabled the respective register is
shadowed with the result is that the reported alarm time is 45:85:0
because both hour and minute byte are read as 0xff and bcd2bin(0x3f) and
bcd2bin(0x7f) are 45 and 85 respectively.

The new behaviour is to only set .enabled =3D 0 and return. Not 100% sure
this is the right thing, though. The only alternative is to enable alarm
and read out a time, but that might have the side effect to trigger an
unwanted alarm, so I didn't chose this way.

Best regards
Uwe

Uwe Kleine-K=C3=B6nig (5):
  rtc: s35390a: fix reading out alarm
  rtc: s35390a: implement reset routine as suggested by the reference
  rtc: s35390a: improve irq handling
  rtc: s35390a: improve two comments in .set_alarm
  rtc: fix a typo and reduce three empty lines to one

 drivers/rtc/interface.c   |   4 +-
 drivers/rtc/rtc-s35390a.c | 157 +++++++++++++++++++++++++++++++++++-------=
----
 2 files changed, 120 insertions(+), 41 deletions(-)

--=20
2.8.1

--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help