]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 28 Jan 2015 07:44:35 +0000 (15:44 +0800)
commit11b7dbb125f6cbe4f07238bc15abe1f1d1b9b1c5
tree2a3d4400c74b67e456651ba2a395b469f7bfec45
parent7f9e3777ffe7e9d06b598a63dc40372c7bafaa47
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>
arch/arm/boot/dts/imx6sx.dtsi
arch/arm/mach-imx/clk-imx6sx.c
include/dt-bindings/clock/imx6sx-clock.h