ARM: socfpga: clk: Obtain handoff base clock via DM
authorMarek Vasut <marex@denx.de>
Mon, 30 Jul 2018 13:56:19 +0000 (15:56 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 13 Aug 2018 20:35:42 +0000 (22:35 +0200)
commit934aec71d6491ed3e5555f92255613dfdf402aa8
treeb8003ba776c305d7bd5cfb043528269c8fb3aa19
parent2af5d51cc27966af87d195438742bf0ee93ec9db
ARM: socfpga: clk: Obtain handoff base clock via DM

Bind fixed clock driver to the base clock instantiated in the handoff
DT and use DM clock framework to get their clock rate. This replaces
the ad-hoc DT parsing present thus far.

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/Kconfig
arch/arm/mach-socfpga/clock_manager_arria10.c