aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Friedl <[email protected]>2019-09-10 09:04:43 +0200
committerLee Jones <[email protected]>2019-10-24 09:03:53 +0100
commit47e568129ba89c03c24052ce18165395a44bc5eb (patch)
tree4f659ece3d96a6f6433b4d814672205be30027d7
parent851b87148aa22ee8571380dfb22373afb7969140 (diff)
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 <[email protected]> Signed-off-by: Frank Wunderlich <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Signed-off-by: Lee Jones <[email protected]>
-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", },
{ }
};