]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0043fb48f8d74e35d1c3c6adc1eb0a5e28a4d337
tree29f53500be8c3344cc92c474f4633c5662808c97
parent39c03254e8e637b61c699d8d3e2b086d106b570b
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