]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: socfpga: stratix10: SPI clock support
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Thu, 7 Dec 2023 07:46:02 +0000 (15:46 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 22 Jan 2024 08:50:55 +0000 (16:50 +0800)
commit158d648d9f02c9ee0f432bbafeea38aaa55dd943
treee4aa931cbae05f18196fce8ecd2277f0fc3b16d6
parent3c04fcf3137d5f694d52b8f355373e4baabe5f78
arm: socfpga: stratix10: SPI clock support

This patch is to add SPI clock support for stratix10. Get clock rate
function always returning 0 because the DW-SPI driver get the rate
from clock node in dts but Stratix10 does not support device tree
clock node.To overcome this spi will get the clock_rate directly
from spi clock controller override the weaker function.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
arch/arm/mach-socfpga/clock_manager_s10.c