mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
c856618d20
commit
ac771ed746
@ -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 },
|
||||
{ }
|
||||
};
|
||||
@ -625,6 +626,10 @@ static const struct of_device_id rv8803_of_match[] = {
|
||||
.compatible = "microcrystal,rv8803",
|
||||
.data = (void *)rv_8803
|
||||
},
|
||||
{
|
||||
.compatible = "epson,rx8803",
|
||||
.data = (void *)rv_8803
|
||||
},
|
||||
{
|
||||
.compatible = "epson,rx8900",
|
||||
.data = (void *)rx_8900
|
||||
|
Loading…
Reference in New Issue
Block a user