[PATCH] ep93xx: introduce clk parent

Christian Gagneraud cgagneraud at techworks.ie
Thu Oct 8 18:09:54 EDT 2009


Russell King - ARM Linux wrote:
> On Thu, Oct 08, 2009 at 10:28:46PM +0100, Christian Gagneraud wrote:
>> I'm currently working on adding ADC support (no touchscreen for now) and 
>> the problem is that touchscreen (ADC) and keypad use the same clock. With 
>> this patch applied it would be possible to define the shared 
>> ep93xx-keytch clock and add ep93xx-keypad and ep93xx-touchscreen as 
>> children.
> 
> If it's a shared clock with common control, there's nothing to stop you
> returning the same clock for both of them - that's how the clk API is
> supposed to work.

Thanks, actually i was confused, the 2 clocks share the same 
configuration register, but have separate clock divisor and clock 
enable. So there's no need for clock parents. I just need to create a 
new clkdev for the TS/ADC.

Regards,
Chris


> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




More information about the linux-arm-kernel mailing list