summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8523.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-12-18 22:52:12 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-01-10 21:51:24 +0100
commit7c617e0c5f37d2f681b3a568c3642115a32b7427 (patch)
treecdb1e72840767f5d16c070817cfcffd672767df4 /drivers/rtc/rtc-pcf8523.c
parent1d67a232105b4dec2b10b2689f9cb89cc366d62f (diff)
downloadlinux-7c617e0c5f37d2f681b3a568c3642115a32b7427.tar.gz
linux-7c617e0c5f37d2f681b3a568c3642115a32b7427.tar.bz2
linux-7c617e0c5f37d2f681b3a568c3642115a32b7427.zip
rtc: pcf8523: Add rv8523 compatible
The Microcrystal RV-8523 is compatible with the PCF8523. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf8523.c')
-rw-r--r--drivers/rtc/rtc-pcf8523.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523.c
index 3fcd2cbafc84..fb13933f4006 100644
--- a/drivers/rtc/rtc-pcf8523.c
+++ b/drivers/rtc/rtc-pcf8523.c
@@ -374,6 +374,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8523_id);
#ifdef CONFIG_OF
static const struct of_device_id pcf8523_of_match[] = {
{ .compatible = "nxp,pcf8523" },
+ { .compatible = "microcrystal,rv8523" },
{ }
};
MODULE_DEVICE_TABLE(of, pcf8523_of_match);