aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mt6397.c
diff options
context:
space:
mode:
authorGravatar Josef Friedl <josef.friedl@speed.at> 2019-09-10 09:04:43 +0200
committerGravatar Lee Jones <lee.jones@linaro.org> 2019-10-24 09:03:53 +0100
commit47e568129ba89c03c24052ce18165395a44bc5eb (patch)
tree4f659ece3d96a6f6433b4d814672205be30027d7 /drivers/rtc/rtc-mt6397.c
parentrtc: mt6397: improvements of rtc driver (diff)
downloadlinux-47e568129ba89c03c24052ce18165395a44bc5eb.tar.gz
linux-47e568129ba89c03c24052ce18165395a44bc5eb.tar.bz2
linux-47e568129ba89c03c24052ce18165395a44bc5eb.zip
rtc: mt6397: add compatible for mt6323
use mt6397 rtc driver also for mt6323 but with different base/size see "mfd: mt6323: add mt6323 rtc+pwrc" Signed-off-by: Josef Friedl <josef.friedl@speed.at> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/rtc/rtc-mt6397.c')
-rw-r--r--drivers/rtc/rtc-mt6397.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c
index 097d0ecc1b71..5249fc99fd5f 100644
--- a/drivers/rtc/rtc-mt6397.c
+++ b/drivers/rtc/rtc-mt6397.c
@@ -323,6 +323,7 @@ static SIMPLE_DEV_PM_OPS(mt6397_pm_ops, mt6397_rtc_suspend,
mt6397_rtc_resume);
static const struct of_device_id mt6397_rtc_of_match[] = {
+ { .compatible = "mediatek,mt6323-rtc", },
{ .compatible = "mediatek,mt6397-rtc", },
{ }
};