]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx8mp: Define gates for pll1/2 fixed dividers
authorPeng Fan <peng.fan@nxp.com>
Thu, 7 May 2020 05:56:13 +0000 (13:56 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 20 May 2020 01:26:45 +0000 (09:26 +0800)
commit3f6262d4648660344fdc0e5f399c5acec4e480b0
treecccab20da23396fc269ff1f3521ce59c0e58793a
parent9d8089dc04bc409b7a5a58cee310d50d26488da3
clk: imx8mp: Define gates for pll1/2 fixed dividers

Inspried from
commit e9f69c27cd20 ("clk: imx8mn: Define gates for pll1/2 fixed dividers")

On imx8mp there are 9 fixed-factor dividers for SYS_PLL1 and SYS_PLL2
each with their own gate. Only one of these gates (the one "dividing" by
one) is currently defined and it's incorrectly set as the parent of all
the fixed-factor dividers.

Add the other 8 gates to the clock tree between sys_pll1/2_bypass and
the fixed dividers.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mp.c
include/dt-bindings/clock/imx8mp-clock.h