RE: 3430: can't find mmc debounce clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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...

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.

Regards,
Richard W.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux