MLK-16442-2: clk: imx8qm: Add mux for DC clocks.
authorAdriana Reus <adriana.reus@nxp.com>
Wed, 20 Sep 2017 07:54:33 +0000 (10:54 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:42 +0000 (15:38 -0500)
commitb612e75e0038374fec01bc5ff196a68a886e1c5a
treeced0a71bae727e2030960f6b0a3789f8f5c9bef8
parent7471b76af939e3acc77f234ebb1f2b2961698627
MLK-16442-2: clk: imx8qm: Add mux for DC clocks.

DC clocks can choose their clock source between PLL1, PLL2 and
bypass input.
This patch introduces a multiplexer in the dc clock topology to
allow this choice and introduces one set of parents that will be used
for both display0 and display1 clocks.

Clock paths tested:
    1. PLL2(dc0_pll1_clk)->DC0_DISP1(dc0_disp1_clk)->LVDS
    2. BYP(dc0_bypass0_clk)->DC0_DISP1(dc0_disp1_clk)->LVDS

(BuildInfo: SCFW 9e9f6ec6, IMX-MKIMAGE 0, ATF 0)

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Reviewed by: Ranjani Vaidyanathan <Ranjani.vaidyanathan@nxp.com>
drivers/clk/imx/clk-imx8qm.c
include/dt-bindings/clock/imx8qm-clock.h