]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07fa6af0e588c0a3f51e5be9e3398a250da4f367
tree08213a7754c3f97c09f525d5c48e5fa44debb764
parentb04e554c4585ce7d37529460334f46f9c3439dbb
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