SOCFPGA: clock manager: implement dw_spi_get_clk function
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 28 Dec 2017 12:09:02 +0000 (15:09 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Jan 2018 05:55:49 +0000 (11:25 +0530)
commit21143ce127b953356bd6174fb4e4892af3a92d0f
treeffd3b5a5ad4e5e0ff73761ae8c86321ff28a1e61
parentaaa21d3ffc023623a3a8247e5fa25d0db2bfb630
SOCFPGA: clock manager: implement dw_spi_get_clk function

Implement dw_spi_get_clk function to override its weak
implementation in designware_spi.c driver.

We need this change to get rid of cm_get_spi_controller_clk_hz
function and clock_manager.h include in designware_spi.c driver.

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-socfpga/clock_manager_arria10.c
arch/arm/mach-socfpga/clock_manager_gen5.c