OSDN Git Service

clocksource/drivers/sun4i: Add a compatible for suniv
authorMesih Kilinc <mesihkilinc@gmail.com>
Mon, 11 Feb 2019 09:21:08 +0000 (12:21 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 May 2019 19:55:58 +0000 (21:55 +0200)
commit0113ab803a8aee00bc136507bcc9b16466f3c3aa
tree29f53500be8c3344cc92c474f4633c5662808c97
parent67d06e6efa41c4135cfc4c4c5c9b55d5e3a9b6f7
clocksource/drivers/sun4i: Add a compatible for suniv

The suniv (new F-series) chip has a timer with less functionality than
the A10 timer, e.g. it has only 3 channels.

Add a new compatible for it. As we didn't use the extra channels on A10
either now, the code needn't to be changed.

The suniv chip is based on ARM926EJ-S CPU, thus it has no architecture timer.

Register sun4i_timer as sched_clock on it.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-sun4i.c