Re: [patch 7/7] SDHCI: Add change_clock callback for glue drivers

From: Pierre Ossman
Date: Wed Nov 19 2008 - 13:43:21 EST


On Sat, 15 Nov 2008 23:57:39 +0000
Ben Dooks <ben-linux@xxxxxxxxx> wrote:

>
> The controller has a number of possible clock sources, the bus clock
> it is connected to (generally called hclk) and three more clocks from
> the heirachy that is muxed/divided from either an 48MHz, 27MHz or the
> EPLL.
>
> The callback allows the recalculation and selection of the best clock
> to run the card clock for the controller.
>

Can these clock sources change mid-flight? Otherwise I don't see the
need for a callback up to the sdhci core. But I don't see any
connection points for such events.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/