linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Turquette, Mike" <mturquette@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux@arm.linux.org.uk, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, khilman@ti.com,
	tony@atomide.com, b-cousson@ti.com, rnayak@ti.com,
	jeremy.kerr@canonical.com, broonie@opensource.wolfsonmicro.com,
	tglx@linutronix.de, linus.walleij@stericsson.com,
	amit.kucheria@linaro.org, dsaxena@linaro.org, patches@linaro.org,
	linaro-dev@lists.linaro.org, grant.likely@secretlab.ca,
	sboyd@quicinc.com, shawn.guo@freescale.com, skannan@quicinc.com,
	magnus.damm@gmail.com, arnd.bergmann@linaro.org,
	eric.miao@linaro.org, richard.zhao@linaro.org, andrew@lunn.ch
Subject: Re: [PATCH 3/7] HACK: omap: convert 44xx data to common struct clk
Date: Tue, 13 Dec 2011 20:44:53 -0800	[thread overview]
Message-ID: <CAJOA=zM8hP=1BxcpDu-XMvt0KefRPwhP3m-+yC7Uta+Aozz8Xw@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1112132125200.12046@utopia.booyaka.com>

On Tue, Dec 13, 2011 at 8:27 PM, Paul Walmsley <paul@pwsan.com> wrote:
> Hi
>
> On Tue, 13 Dec 2011, Mike Turquette wrote:
>
>> omap_clk_get_by_name must die.
>
> You do realize that it exists for a reason?  That hardware clock names
> don't have anything to do with the Linux device model?

We have a tree structure of clks in the new common clk code, and a
list of clks in clkdev (which admittedly is meant to be a subset, but
in reality we register every OMAP clk with it), and then the omap clk
list which is only really used by omap_get_clk_by_name for hwmod and
some initialization stuff.  What I'd really like to do is get rid of
the OMAP clk code keeping track of it's clks in a separate list, which
seems quite wasteful.

Regards,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-12-14  4:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14  4:11 [PATCH 0/7] RFC: convert OMAP to common struct clk Mike Turquette
2011-12-14  4:11 ` [PATCH 1/7] OMAP: Kconfig: select GENERIC_CLK Mike Turquette
2011-12-14  4:11 ` [PATCH 2/7] HACK: omap4: clk: convert to common struct clk Mike Turquette
     [not found] ` <1323835918-2371-1-git-send-email-mturquette-l0cyMroinI0@public.gmane.org>
2011-12-14  4:11   ` [PATCH 3/7] HACK: omap: convert 44xx data " Mike Turquette
2011-12-14  4:27     ` Paul Walmsley
2011-12-14  4:44       ` Turquette, Mike [this message]
2011-12-14  5:29         ` Paul Walmsley
2011-12-14  4:11 ` [PATCH 4/7] omap: hwmod: convert to use " Mike Turquette
2011-12-14  4:11 ` [PATCH 5/7] omap: panda: use clk_prepare in ehci init Mike Turquette
2011-12-14  4:11 ` [PATCH 6/7] omap: dss: use clk_prepare in dss reset Mike Turquette
2011-12-14  4:11 ` [PATCH 7/7] HACK: comment WARN_ON in _clkdm_clk_hwmod_disable Mike Turquette

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='CAJOA=zM8hP=1BxcpDu-XMvt0KefRPwhP3m-+yC7Uta+Aozz8Xw@mail.gmail.com' \
    --to=mturquette@ti.com \
    --cc=amit.kucheria@linaro.org \
    --cc=andrew@lunn.ch \
    --cc=arnd.bergmann@linaro.org \
    --cc=b-cousson@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dsaxena@linaro.org \
    --cc=eric.miao@linaro.org \
    --cc=grant.likely@secretlab.ca \
    --cc=jeremy.kerr@canonical.com \
    --cc=khilman@ti.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=magnus.damm@gmail.com \
    --cc=patches@linaro.org \
    --cc=paul@pwsan.com \
    --cc=richard.zhao@linaro.org \
    --cc=rnayak@ti.com \
    --cc=sboyd@quicinc.com \
    --cc=shawn.guo@freescale.com \
    --cc=skannan@quicinc.com \
    --cc=tglx@linutronix.de \
    --cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).