clk: imx: imx8mn: use imx8m_clk_hw_composite_core
authorPeng Fan <peng.fan@nxp.com>
Tue, 28 Jan 2020 05:28:50 +0000 (05:28 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 14 Feb 2020 02:49:41 +0000 (10:49 +0800)
commit33db2ce73e9affe9a25130b166048f5a209d4dc1
treef6cda4794f752dd9cf10ac24b97624ca1ad67bde
parent811e4171d0f5ac6d1172333adf361c74ce2c8ec5
clk: imx: imx8mn: use imx8m_clk_hw_composite_core

Use imx8m_clk_hw_composite_core to simplify code.

Add new definitions, and X_SRC/CG/DIV will be alias to the new
definitions for backwards compatibility

Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mn.c
include/dt-bindings/clock/imx8mn-clock.h