mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-11 15:38:07 +09:00
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>. BUG=chrome-os-partner:54522 TEST=Tested on gru, cat /proc/interrupts |grep timer Change-Id: I37f4d30a8b4609887b175ab7e9b1117b2ac436e4 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> (cherry picked from git.linaro.org/people/daniel.lezcano/linux.git clockevents/next commit d0e2b96b2f723cb2d3ca992eaa2fe643367830f8) Reviewed-on: https://chromium-review.googlesource.com/353977 Reviewed-by: Douglas Anderson <dianders@chromium.org>