]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: imx: Use clock framework if enabled
authorMarek Vasut <marex@denx.de>
Mon, 18 Jan 2021 23:58:33 +0000 (00:58 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 12:40:29 +0000 (13:40 +0100)
commit38b92ca196adbc257c4e777a2e270df9537d8890
tree83ccbbeec3ac3aed2d37783eccd200dd0f0bea53
parent6cd4f48b64d4b9a4f737c2aa4e6550d2eb8c80a5
spi: imx: Use clock framework if enabled

In case the clock framework is enabled, enable the SPI controller clock
and obtain max frequency from the clock framework.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Stefano Babic <sbabic@denx.de>
drivers/spi/mxc_spi.c