]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17c62255467946c99bee847315b48cd75ce0e8a4
tree159a9e1cd839cd1c7039dcd9f7dbdd6e2c370258
parent7387b8b5f36d2503ad6cb0242e3c42604a4e12b6
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