clocksource/drivers/rockchip: Add support for the rk3399 SoC
authorHuang, Tao <huangtao@rock-chips.com>
Thu, 16 Jun 2016 14:00:08 +0000 (16:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:17:08 +0000 (10:17 +0200)
commitbe6af450bb1b74177f14afc6228458f16f92a6c5
treec846d63c2fb9a3ada1dc23b785f7957fdff3b3ec
parent716897d90f2bb1b732c45ddcc1f2f4651a06a9f6
clocksource/drivers/rockchip: Add support for the rk3399 SoC

The only difference between the rk3399 SoC and the other ones is the control
register offset which is different.

Add a new field to store the control register address depending on the SoC
and use it instead of the <base> + <control offset>.

Signed-off-by: Huang Tao <huangtao@rock-chips.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Heiko Stuebner <heiko@sntech.de>
Tested-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/rockchip_timer.c