[PATCH 2/2] clkdev: Implement managed clk_get()

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Apr 2 14:02:13 EDT 2012


On Mon, Apr 02, 2012 at 10:34:00AM -0700, Stephen Boyd wrote:
> I do think we should improve/replace clkdev by keeping the core parts
> (device name and connection name mapping) and internalizing it in the
> common clock code. Your comment about a 1:N mapping between clocks and
> devices sounds unfortunate.

Think about it.  You have a bus with a common clock feeding all peripherals
to qualify the data on the bus.  Do you:

(a) create N individual clocks parented to a single clock for the bus
(b) return a single clock for the entire bus



More information about the linux-arm-kernel mailing list