OSDN Git Service

clk: imx8mm: Move 1443X/1416X PLL clock structure to common place
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 6 Sep 2019 13:34:05 +0000 (09:34 -0400)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Oct 2019 02:13:01 +0000 (10:13 +0800)
commit43cdaa1567ad3931fbde438853947d45238cc040
tree4e561fd3dfaf335604655ebd5b27f1dbf2af871b
parent094234fcf46146339caaac8282aa15d225a5911a
clk: imx8mm: Move 1443X/1416X PLL clock structure to common place

Many i.MX8M SoCs use same 1443X/1416X PLL, such as i.MX8MM,
i.MX8MN and later i.MX8M SoCs, moving these PLL definitions
to pll14xx driver can save a lot of duplicated code on each
platform.

Meanwhile, no need to define PLL clock structure for every
module which uses same type of PLL, e.g., audio/video/dram use
1443X PLL, arm/gpu/vpu/sys use 1416X PLL, define 2 PLL clock
structure for each group is enough.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mm.c
drivers/clk/imx/clk-pll14xx.c
drivers/clk/imx/clk.h