Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232068

Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree

From Shawn Guo <shawnguo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree
Date 2015-09-24 14:00 +0200
Message-ID <qcdlT-27W-7@gated-at.bofh.it> (permalink)
References <qbUjf-8im-7@gated-at.bofh.it> <qbUjf-8im-9@gated-at.bofh.it> <qbUjf-8im-5@gated-at.bofh.it> <qcdlT-27W-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 24, 2015 at 01:43:24PM +0800, Shengjiu Wang wrote:
> On Wed, Sep 23, 2015 at 08:33:41AM -0700, Shawn Guo wrote:
> > On Tue, Sep 15, 2015 at 06:01:01PM +0800, Shengjiu Wang wrote:
> > > 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.
> > 
> > Can you help me understand why ARM cannot enter low power mode when pll
> > clock is prepared?
> > 
> > Shawn
> Hi Shawn
> 
>    In i.mx clock framework, when pll clk is prepared, it will be powerup. when
> enterring low power idle mode, the powerdown bit is checked, when pll is not
> powerdown state, chip will not enter low power idle mode.

So this is not a SPDIF specific problem, and any device driver preparing
its clock that is a child of pll clock will run into this problem,
right?  If so, we should purchase a more generic solution than such
device specific one.

Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree Shawn Guo <shawnguo@kernel.org> - 2015-09-23 17:40 +0200
  Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree Shawn Guo <shawnguo@kernel.org> - 2015-09-24 14:00 +0200

csiph-web