imx: mx8m: add clock driver
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jan 2018 05:20:22 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commitbb0fabe42d67ee39f7a874a0e142bc35ed6226a4
treedbc36687d503021b3773c097b0de59c7ed0beb70
parent80fd219ec7e99e29ef00420c23c4881152698027
imx: mx8m: add clock driver

Add clock driver to support i.MX8M.

There are two kind PLLs, FRAC pll and SSCG pll. ROM already
configured SYS PLL1/2, we only need to configure the output.
ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/
enet clock are configured in the code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx8m/clock.h [new file with mode: 0644]
arch/arm/mach-imx/mx8m/Makefile [new file with mode: 0644]
arch/arm/mach-imx/mx8m/clock.c [new file with mode: 0644]
arch/arm/mach-imx/mx8m/clock_slice.c [new file with mode: 0644]