clk: imx8mn: Define gates for pll1/2 fixed dividers
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 16 Oct 2019 11:57:40 +0000 (11:57 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 25 Oct 2019 09:03:19 +0000 (17:03 +0800)
commite8688fe8df7d01f43586b4bb74b2fa92f56c5ee8
tree285ceeb9260b002f32277c1c3ab2a62eaa98e151
parent3e4947acad32e6abf1ef3259a42fb4d690e4819a
clk: imx8mn: Define gates for pll1/2 fixed dividers

On imx8mn 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-imx8mn.c
include/dt-bindings/clock/imx8mn-clock.h