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

From: Russell King - ARM Linux
Date: Mon Apr 02 2012 - 14:02:26 EST


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