rtc: isl1208: Support more chip variations
authorTrent Piepho <tpiepho@impinj.com>
Tue, 12 Feb 2019 02:34:04 +0000 (02:34 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 17 Feb 2019 20:29:10 +0000 (21:29 +0100)
commit5909b87db8ef0df4e11363afc53ed788b7ea17cb
tree159a9e1cd839cd1c7039dcd9f7dbdd6e2c370258
parented3c52a075e9488cc672c5658414b2f157fc5688
rtc: isl1208: Support more chip variations

Add more support in the driver for dealing with differences in is1208
compatible chips.  Put the 1208, 1209, 1218, and 1219 in the list and
encode information about nvram size, tamper, and timestamp features.

This adds support for the isl1209, which has a tamper detect but no
timestamp feature.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c