clk: imx8mm: Define gates for pll1/2 fixed dividers
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 16 Oct 2019 11:57:39 +0000 (11:57 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 25 Oct 2019 09:03:16 +0000 (17:03 +0800)
commit3e4947acad32e6abf1ef3259a42fb4d690e4819a
tree08213a7754c3f97c09f525d5c48e5fa44debb764
parentb04383b6a5588906ffd059a6a9f5344a9c6df58a
clk: imx8mm: Define gates for pll1/2 fixed dividers

On imx8mm 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.

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