imx8m: add sdhc/nand/ecspi clk api
authorPeng Fan <peng.fan@nxp.com>
Thu, 9 Jul 2020 03:35:15 +0000 (11:35 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 07:23:47 +0000 (15:23 +0800)
commit3c1c28d4e032d33697b95fc88152df8a679f44be
treed53570b8ee11f6e5e1d7ee6e8453e8ddb5606d21
parent14254e646d7415bbdaa21cf606dda6143eb51f87
imx8m: add sdhc/nand/ecspi clk api

Current DM CLK is a bit complicated, for simplity, let DM clk only
support enable/disable/get_rate. For the expected rate settings,
we use non-DM clk to do that. Then we could have simple DM clk for
i.MX and could also share between SPL/U-Boot proper.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/clock_imx8mm.c