ARM: socfpga: Convert Arria10 to timer framework
authorMarek Vasut <marex@denx.de>
Sat, 18 Aug 2018 14:00:31 +0000 (16:00 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 24 Aug 2018 10:05:20 +0000 (12:05 +0200)
commit331c37221057e6a1291b6e14d9f033a7a90051f1
tree8c3e682027c195195aa513165d1bef60ed5a1e2a
parentcca9af63a32220e0a270ac62fa9c46a0ed4ca0ce
ARM: socfpga: Convert Arria10 to timer framework

Switch the Arria10 from ad-hoc hardcoded timer to timer framework
and the DW APB timer driver. This allows the A10 to extract timer
information, like timer rate, from clock framework and thus DT
instead of having it hardcoded in U-Boot configuration files.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/Makefile
configs/socfpga_arria10_defconfig
include/configs/socfpga_common.h