All of lore.kernel.org
 help / color / mirror / Atom feed
From: cgagneraud@techworks.ie (Christian Gagneraud)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ep93xx: introduce clk parent
Date: Thu, 08 Oct 2009 23:09:54 +0100	[thread overview]
Message-ID: <4ACE6332.6060702@techworks.ie> (raw)
In-Reply-To: <20091008213425.GA16880@n2100.arm.linux.org.uk>

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

  reply	other threads:[~2009-10-08 22:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 22:57 [PATCH] ep93xx: introduce clk parent H Hartley Sweeten
2009-09-23 22:48 ` H Hartley Sweeten
2009-09-30 19:53   ` Ryan Mallon
2009-09-30 21:30     ` H Hartley Sweeten
2009-10-01 14:59       ` Russell King - ARM Linux
2009-10-01 16:32         ` H Hartley Sweeten
2009-10-08 21:28           ` Christian Gagneraud
2009-10-08 21:34             ` Russell King - ARM Linux
2009-10-08 22:09               ` Christian Gagneraud [this message]
2009-10-08 23:05                 ` H Hartley Sweeten
2009-10-08 22:32               ` H Hartley Sweeten
2009-10-08 22:38                 ` Russell King - ARM Linux
2009-10-08 22:45                   ` H Hartley Sweeten
2009-10-08 22:40             ` H Hartley Sweeten
2009-10-08 23:14               ` Christian Gagneraud
2009-10-08 23:25                 ` H Hartley Sweeten
2009-10-09 17:11                   ` Christian Gagneraud
2009-10-09 17:30                     ` H Hartley Sweeten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ACE6332.6060702@techworks.ie \
    --to=cgagneraud@techworks.ie \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.