clk: imx8: split code into common and soc specific part
authorPeng Fan <peng.fan@nxp.com>
Tue, 5 Mar 2019 02:32:33 +0000 (02:32 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2019 15:03:25 +0000 (17:03 +0200)
commit98c63a78408e87fcbf0ea200c7a2306a76da9021
tree3e3850358aef1bf8bd8f83ee39c21c227ee4ce40
parent7f50af6090507e79505846d80f76c8636903367c
clk: imx8: split code into common and soc specific part

To make it easy to add new clk driver for i.MX8, split
the code into common part and SoC specific part.

Make the get/set/enable non static and introduce a num_clks for
soc_clk_dump, because the arrays are moved to clk-imx8qxp.c.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/imx/Makefile
drivers/clk/imx/clk-imx8.c
drivers/clk/imx/clk-imx8.h [new file with mode: 0644]
drivers/clk/imx/clk-imx8qxp.c [new file with mode: 0644]