diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-07-22 11:12:21 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-08-27 01:31:39 +0300 |
commit | bca4e08426e48d1f59b9bb7a8835b08140525828 (patch) | |
tree | 0a38213934fa21edb7008c8020c762784bbb1e12 /drivers/clocksource/timer-sun4i.c | |
parent | 7fccfcd678e80cc8cf131922296eccf72e19a69c (diff) | |
download | linux-bca4e08426e48d1f59b9bb7a8835b08140525828.tar.xz |
clocksource: sun4i: Add missing compatibles
Newer Allwinner SoCs have different number of interrupts, let's add
different compatibles for all of them to deal with this properly.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-sun4i.c')
-rw-r--r-- | drivers/clocksource/timer-sun4i.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-sun4i.c b/drivers/clocksource/timer-sun4i.c index 65f38f6ca714..0ba8155b8287 100644 --- a/drivers/clocksource/timer-sun4i.c +++ b/drivers/clocksource/timer-sun4i.c @@ -219,5 +219,9 @@ static int __init sun4i_timer_init(struct device_node *node) } TIMER_OF_DECLARE(sun4i, "allwinner,sun4i-a10-timer", sun4i_timer_init); +TIMER_OF_DECLARE(sun8i_a23, "allwinner,sun8i-a23-timer", + sun4i_timer_init); +TIMER_OF_DECLARE(sun8i_v3s, "allwinner,sun8i-v3s-timer", + sun4i_timer_init); TIMER_OF_DECLARE(suniv, "allwinner,suniv-f1c100s-timer", sun4i_timer_init); |