On Wed, 10 Sep 2008, Woodruff, Richard wrote:

> 
> > > I read that the mmc has 3 clocks: fixed functional clock (MMCi_FCLK),
> > > interface clock (MMCi_ICLK) and debounce clock (MMCi_32).
> > >
> > > But, when I look in clock34xx.h, I can only see two of those - there
> > > is the "mmchs_fck" and "mmchs_ick". There is no struct clk for the
> > > debounce clock. Only when I look in older kernels I can see also the
> > > "mmchsdb2_fck".
> > >
> > > So where is the debounce clock struct ? (I want to 'get' and 'enable'
> > it...)
> >
> > The debounce clocks are controlled by gpio[1-6]_fck.  Perhaps we should
> > rename them, but that's what the current tree uses.
> 
> With out looking, that's a bit confusing to me.  Perhaps it's a porting 
> wonder...

Ugh, sorry, the above is wrong.  Richard's solution below is right.

> 2430 did have a separate MMC denounce clock which is controllable at the PRCM 
> level.  This is the name you mention above (2430 name).  I don't think 3430 
> provides the same control.  A 32K clock is fed into the MMC block, but it is 
> probably controlled locally in MMC block not through clock API at PRCM level.
> 
> Maybe you just need an ifdef or is_cpu_ call.


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to