[PATCH] ep93xx: introduce clk parent

H Hartley Sweeten hartleys at visionengravers.com
Thu Oct 8 18:32:49 EDT 2009


Russell,

Did you see the locking I added for clk_enable / clk_disable?  Will that
cover the concern you had earlier? 

Regards,
Hartley

-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of Russell King - ARM Linux
Sent: Thursday, October 08, 2009 2:34 PM
To: Christian Gagneraud
Cc: linux-arm-kernel
Subject: Re: [PATCH] ep93xx: introduce clk parent

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.

_______________________________________________
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