rtc: isl1208: add support for isl1219 with tamper detection
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 24 Jul 2018 11:31:21 +0000 (11:31 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 14 Aug 2018 21:00:58 +0000 (23:00 +0200)
commitdd35bdb0768f1d03b043c4ba704fe9760eaa5891
tree36fadcea99e2d4a4605806e48c32c6b6ee2052ad
parenta0a1a1ba303261d25814d11a05008d2931a69a8b
rtc: isl1208: add support for isl1219 with tamper detection

We add support for the ISL1219 chip that got an integrated tamper
detection function. This patch implements the feature by adding
an additional timestamp0 file to sysfs device path.
This file contains seconds since epoch, if an event occurred,
or is empty, if none occurred.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c