diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-08-27 23:23:44 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-08-27 23:24:36 +0200 |
commit | ac771ed746c800749ec5adbb4b7c22ce1d89943e (patch) | |
tree | 03990ad9d39a5ddd6bba71152b0984eb41de0d4e /drivers/rtc | |
parent | c856618d20662695fcdb47bf4d560dc457662aec (diff) | |
download | linux-ac771ed746c800749ec5adbb4b7c22ce1d89943e.tar.bz2 |
rtc: rv8803: add Epson RX8803 support
The Epson rx8803 is mostly similar to the Microcrystal RV8803 but the size
of the offset register is 4 bits vs 6 bits but it has a configurable
temperature compensation.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-rv8803.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c index 17ccef5d5db1..450a0b831a2d 100644 --- a/drivers/rtc/rtc-rv8803.c +++ b/drivers/rtc/rtc-rv8803.c @@ -615,6 +615,7 @@ static int rv8803_probe(struct i2c_client *client, static const struct i2c_device_id rv8803_id[] = { { "rv8803", rv_8803 }, + { "rx8803", rv_8803 }, { "rx8900", rx_8900 }, { } }; @@ -626,6 +627,10 @@ static const struct of_device_id rv8803_of_match[] = { .data = (void *)rv_8803 }, { + .compatible = "epson,rx8803", + .data = (void *)rv_8803 + }, + { .compatible = "epson,rx8900", .data = (void *)rx_8900 }, |