public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: "Kanigeri, Hari" <h-kanigeri2@ti.com>,
	Trilok Soni <soni.trilok@gmail.com>,
	"Pasam, Vijay" <vpasam@ti.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Woodruff, Richard" <r-woodruff2@ti.com>,
	"siarhei.siamashka@nokia.com" <siarhei.siamashka@nokia.com>,
	"Ramirez Luna, Omar" <x00omar@ti.com>,
	"Gupta, Ramesh" <grgupta@ti.com>
Subject: Re: [RFC][DRAFT] TODO list for TI DSP BRIDGE
Date: Tue, 19 Aug 2008 09:24:23 +0300	[thread overview]
Message-ID: <20080819062422.GD17276@atomide.com> (raw)
In-Reply-To: <94a0d4530808181308i53a9b11fyb20af0b21785c0d9@mail.gmail.com>

* Felipe Contreras <felipe.contreras@gmail.com> [080818 23:09]:
> On Mon, Aug 18, 2008 at 10:28 PM, Kanigeri, Hari <h-kanigeri2@ti.com> wrote:
> >> If you mean there is separate clock infrastructure for DSPBridge other
> >> than clock framework we have for OMAP, then DSPBridge should convert
> >> to the one we have for OMAP. As recent work by Paul for clock
> >> framework on OMAP3 and Power domains we need centralized code for clk
> >> and power domains not separate clock infrastructure for DSPBridge.
> >>
> > --- Bridge is not implementing separate clock infrastructure. It is just centralizing the calls to clk_enable in one location as this is called from multiple files in Bridge code. This helps because one can then turn on the traces only for clock module to check if the clocks that were expected to be enabled are enabled or not. As I mentioned before, this helps in debugging.
> 
> That only makes the code harder to understand.
> 
> #define clk_enable(...) my_debug_function(__VA_ARGS__)
> 
> Achieves the same thing.

We must use clk_enable() and clk_disable() in the drivers. That's the
Linux clock interface. Anything else won't get merged upstream.

If you need to combine multiple clocks into a single virtual dsp
clock, please register a new custom clock using clk_register().

That allows you to do debugging in the custom clock functions too
if necessary.

Regards,

Tony

  reply	other threads:[~2008-08-19  6:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-18 13:35 [RFC][DRAFT] TODO list for TI DSP BRIDGE Hiroshi DOYU
2008-08-18 14:28 ` Pasam, Vijay
2008-08-18 15:08   ` Hiroshi DOYU
2008-08-18 17:12     ` Pasam, Vijay
2008-08-18 17:20       ` Trilok Soni
2008-08-19  6:20         ` Tony Lindgren
2008-08-19 12:26           ` Woodruff, Richard
2008-08-20 16:08             ` Sakari Ailus
2008-08-18 16:27   ` Kanigeri, Hari
2008-08-18 17:17     ` Trilok Soni
2008-08-18 19:28       ` Kanigeri, Hari
2008-08-18 20:08         ` Felipe Contreras
2008-08-19  6:24           ` Tony Lindgren [this message]
2008-08-19 18:24             ` Kanigeri, Hari
2008-08-19 19:10               ` Felipe Contreras
2008-08-19 20:46                 ` Kanigeri, Hari
2008-08-19 23:45                   ` Felipe Contreras
2008-08-20 22:34                     ` Kanigeri, Hari
2008-08-21  8:10                       ` Felipe Contreras
2008-08-20 10:10             ` Hiroshi DOYU
2008-08-20 14:32               ` Woodruff, Richard
2008-08-21  7:41                 ` Hiroshi DOYU
2008-08-21 12:34                   ` Woodruff, Richard
2008-08-21 16:11                     ` Hiroshi DOYU
2008-08-21 19:43                       ` Woodruff, Richard
2008-08-22  9:24                         ` Hiroshi DOYU
2008-08-21 15:37               ` Kanigeri, Hari
2008-08-21 16:08                 ` Hiroshi DOYU
2008-08-18 17:24     ` Trilok Soni
2008-08-19 18:33       ` Kanigeri, Hari

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=20080819062422.GD17276@atomide.com \
    --to=tony@atomide.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=felipe.contreras@gmail.com \
    --cc=grgupta@ti.com \
    --cc=h-kanigeri2@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=r-woodruff2@ti.com \
    --cc=siarhei.siamashka@nokia.com \
    --cc=soni.trilok@gmail.com \
    --cc=vpasam@ti.com \
    --cc=x00omar@ti.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox