summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-05-28 22:30:36 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-06-06 12:00:54 +0200
commitd6624cc7502127c0e8e7c86bcf151850f1765bd3 (patch)
tree5598ed03c96941b8d788221a1a5decbd17395f9f
parentdt-bindings: rtc: sun6i: Add the R40 RTC compatible (diff)
downloadlinux-d6624cc7502127c0e8e7c86bcf151850f1765bd3.tar.xz
linux-d6624cc7502127c0e8e7c86bcf151850f1765bd3.zip
rtc: sun6i: Add R40 compatible
The R40 has a quite different RTC, with only a single interrupt line, but two clock outputs. Let's add a compatible. Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-sun6i.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c
index 11f56de52179..9fab8ed856f4 100644
--- a/drivers/rtc/rtc-sun6i.c
+++ b/drivers/rtc/rtc-sun6i.c
@@ -681,6 +681,7 @@ static const struct of_device_id sun6i_rtc_dt_ids[] = {
{ .compatible = "allwinner,sun6i-a31-rtc" },
{ .compatible = "allwinner,sun8i-a23-rtc" },
{ .compatible = "allwinner,sun8i-h3-rtc" },
+ { .compatible = "allwinner,sun8i-r40-rtc" },
{ .compatible = "allwinner,sun8i-v3-rtc" },
{ .compatible = "allwinner,sun50i-h5-rtc" },
{ /* sentinel */ },