MLK-10161-3: ARM: imx6sx: Add SPDIF_GCLK clock in clock tree
authorShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 27 Jan 2015 08:44:34 +0000 (16:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:13 +0000 (14:48 -0500)
commit6aca966c53b1d2e7e1ccfb4c30f3b9ad869847b2
treecec755e0973ac850019c7235f475d45269b0743f
parentaa6a661084c0d24e5b5bc4078d216d0047b206d6
MLK-10161-3: ARM: imx6sx: Add SPDIF_GCLK clock in clock tree

As spdif driver will register SPDIF clock to regmap, regmap will do
clk_prepare in init function, so SPDIF clock is prepared in probe, then its
root clock (pll clock) is prepared also, which cause the arm can't enter
low power mode.
Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF clock.
Its root clock is ipg clock, and register it to regmap, then the issue can be
fixed.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 3f8999cdb4fabed4f720c6ee23947e19c8fff83f)
drivers/clk/imx/clk-imx6sx.c
include/dt-bindings/clock/imx6sx-clock.h