MLK-16769-1: clk: imx7d: create clocks behind rawnand clock gate
authorStefan Agner <stefan@agner.ch>
Fri, 27 Oct 2017 18:39:15 +0000 (13:39 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:07 +0000 (15:39 -0500)
commit2c06c7d67447d51742e4e223662eabe9d34d53b2
treef7a9fa793506f6b16a5a0b33f6a8c5ca65503a14
parentfc260f7dfaa8299d15c305ee47b8010bc346a2e4
MLK-16769-1: clk: imx7d: create clocks behind rawnand clock gate

Merge community clock code change for i.MX7D.

The rawnand clock gate gates two clocks, NAND_USDHC_BUS_CLK_ROOT
and NAND_CLK_ROOT. However, the gate has been in the chain of the
latter only. This does not allow to use the NAND_USDHC_BUS_CLK_ROOT
only, e.g. as required by APBH-Bridge-DMA.

Add new clocks which represent the clock after the gate, and use a
shared clock gate to correctly model the hardware.

Signed-off-by: Han Xu <han.xu@nxp.com>
drivers/clk/imx/clk-imx7d.c
include/dt-bindings/clock/imx7d-clock.h