rtc: mt6397: add compatible for mt6323
authorJosef Friedl <josef.friedl@speed.at>
Tue, 10 Sep 2019 07:04:43 +0000 (09:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 24 Oct 2019 08:03:53 +0000 (09:03 +0100)
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>
drivers/rtc/rtc-mt6397.c

index 097d0ec..5249fc9 100644 (file)
@@ -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", },
        { }
 };