From: Bastian Stender <bst@pengutronix.de>
To: rtc-linux@googlegroups.com
Cc: Marek Vasut <marex@denx.de>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Arnd Bergmann <arnd@arndb.de>, Felipe Balbi <balbi@ti.com>,
Nishanth Menon <nm@ti.com>, Tony Lindgren <tony@atomide.com>,
kernel@pengutronix.de, Bastian Stender <bst@pengutronix.de>
Subject: [PATCH] rtc: ds1307: add OF and ACPI entries for Epson RX8130
Date: Tue, 17 Oct 2017 14:46:07 +0200 [thread overview]
Message-ID: <20171017124607.17461-1-bst@pengutronix.de> (raw)
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>
---
drivers/rtc/rtc-ds1307.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index e7d9215c9201..8e2cd45a2f96 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);
--
2.11.0
next reply other threads:[~2017-10-17 12:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 12:46 Bastian Stender [this message]
2017-10-17 12:49 ` [rtc-linux] Re: [PATCH] rtc: ds1307: add OF and ACPI entries for Epson RX8130 Marek Vasut
2017-10-17 12:55 ` Bastian Stender
2017-10-17 13:00 ` Marek Vasut
2017-10-26 20:59 ` Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171017124607.17461-1-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=alexandre.belloni@free-electrons.com \
--cc=arnd@arndb.de \
--cc=balbi@ti.com \
--cc=kernel@pengutronix.de \
--cc=marex@denx.de \
--cc=nm@ti.com \
--cc=rtc-linux@googlegroups.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).