summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Stender <bst@pengutronix.de>2017-10-17 14:46:07 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-26 23:00:24 +0200
commit47dd47292828a552d62d0e68b7cd6bdc99d9e0aa (patch)
treecb98771f9d454c5e70aa56cd69f041b00f5e0928
parent1bb5a74b31151008480ebaa831c1ec1b007e8f43 (diff)
downloadlinux-47dd47292828a552d62d0e68b7cd6bdc99d9e0aa.tar.gz
linux-47dd47292828a552d62d0e68b7cd6bdc99d9e0aa.tar.bz2
linux-47dd47292828a552d62d0e68b7cd6bdc99d9e0aa.zip
rtc: ds1307: add OF and ACPI entries for Epson RX8130
Make Epson RX8130 device tree and ACPI aware. Fixes: ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE") Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--drivers/rtc/rtc-ds1307.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 1cca20fdd025..923dde912f60 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -325,6 +325,10 @@ static const struct of_device_id ds1307_of_match[] = {
.compatible = "isil,isl12057",
.data = (void *)ds_1337
},
+ {
+ .compatible = "epson,rx8130",
+ .data = (void *)rx_8130
+ },
{ }
};
MODULE_DEVICE_TABLE(of, ds1307_of_match);
@@ -348,6 +352,7 @@ static const struct acpi_device_id ds1307_acpi_ids[] = {
{ .id = "PT7C4338", .driver_data = ds_1307 },
{ .id = "RX8025", .driver_data = rx_8025 },
{ .id = "ISL12057", .driver_data = ds_1337 },
+ { .id = "RX8130", .driver_data = rx_8130 },
{ }
};
MODULE_DEVICE_TABLE(acpi, ds1307_acpi_ids);