clk: imx: imx8mq: use imx8m_clk_hw_composite_core
authorPeng Fan <peng.fan@nxp.com>
Tue, 28 Jan 2020 05:28:41 +0000 (05:28 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 14 Feb 2020 02:49:35 +0000 (10:49 +0800)
commit7a8d3b90bdfe44d2e90523444ff82f0060d9560e
tree7e6dd722c715c683bec462240053579b732ef528
parent62668b68dc8e7d4c23cdec60f31d9c8dc1384409
clk: imx: imx8mq: 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-imx8mq.c
include/dt-bindings/clock/imx8mq-clock.h