clocksource: arm_arch_timer: add structs to describe MMIO timer
authorFu Wei <fu.wei@linaro.org>
Fri, 31 Mar 2017 17:50:59 +0000 (01:50 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 15:11:48 +0000 (16:11 +0100)
commitb3251b8fd12337bf04bce46d4af35988742eef95
tree4a5bd19ee840e75394153df61bb59c9e84cfda77
parentca0e1b5214eee56a7fc4c7a5399323ab0bad73ef
clocksource: arm_arch_timer: add structs to describe MMIO timer

In preparation for ACPI GTDT support, this patch adds structs to
describe the MMIO timers indepedent of the firmware interface.

Subsequent patches will use these to split the FW/HW probing logic, so
that the HW probing logic can be shared by ACPI and DT.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
include/clocksource/arm_arch_timer.h