From: "Cousson, Benoit" <b-cousson@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: "Munegowda, Keshava" <keshava_mgowda@ti.com>,
"parthab@india.ti.com" <parthab@india.ti.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Balbi, Felipe" <balbi@ti.com>, "Gadiyar, Anand" <gadiyar@ti.com>,
"sameo@linux.intel.com" <sameo@linux.intel.com>,
"tony@atomide.com" <tony@atomide.com>,
"Hilman, Kevin" <khilman@ti.com>,
"johnstul@us.ibm.com" <johnstul@us.ibm.com>,
"Sripathy, Vishwanath" <vishwanath.bs@ti.com>
Subject: Re: [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4
Date: Thu, 22 Sep 2011 21:28:40 +0200 [thread overview]
Message-ID: <4E7B8C68.7020407@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1109221213500.10719@utopia.booyaka.com>
Hi Paul,
On 9/22/2011 8:14 PM, Paul Walmsley wrote:
> Hi
>
> On Thu, 22 Sep 2011, Keshava Munegowda wrote:
>
>> Following 4 hwmod structures are added
>> 1. usb_host_hs hwmod of usbhs with uhh base address and functional clock,
>> 2. usb_ehci_hs hwmod with irq and base address,
>> 3. usb_ohci_hs hwmod with irq and base address,
>> - The ehci and ohci hwmods does not require functional clock
>> because usb_host_hs has functional clock which is sufficient
>> to access ehci and ohci address space.
>> - The usb_ehci_hs and usb_ohci_hs should be two separate hwmods
>> which should not be combined. This is needed because ehci and
>> ohci will have separate dedicated ports& in omap4 there is a
>> clock per port.We should be able to configure the IO-Wakeup
>> capability of pins specific to EHCI& OHCI separately and depending
>> on the I/O wakeup event the only port clocks corresponding
>> to the wakeup source will be enabled internally by the usb host driver.
>>
>> 4. usb_tll_hs hwmod of usbhs with the TLL base address and irq.
>
> Many of the same issues with the OMAP3 data (missing main_clks, missing
> ADDR_TYPE_RT, etc.) exist with this patch also.
ADDR_TYPE_RT is mainly use for sysconfig access inside hwmod core today,
so why should we use it in this case?
To be honest, I've been confused with that flag for some time :-)
* ADDR_TYPE_RT: Address space contains module register target data.
Maybe that's my English, but what does "register target data" mean exactly?
What was the intent? Providing a way to identify some register vs memory
space?
Regarding main_clk, I do not think that some internal IPs like ohci/ehci
should have a main_clk, since this is not visible at that level. These
blocks do not have any PRCM / OCP connection. In fact they should not
even be hwmod in theory, these are just some internal IPs inside the
usb_host controller.
These are hwmods just because of the dynamic mux support needed by these
IPs.
That was one of the comments I made on these, and Keshava explained me
the rational and added it in the changelog.
Hopefully, we will not have that limitation once we will have migrated
that to DT :-)
Regards,
Benoit
next prev parent reply other threads:[~2011-09-22 19:28 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 11:37 [PATCH 0/5 v11] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers Keshava Munegowda
2011-09-22 11:37 ` [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4 Keshava Munegowda
2011-09-22 11:37 ` [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3 Keshava Munegowda
2011-09-22 11:37 ` [PATCH 3/5 v11] arm: omap: usb: register hwmods of usbhs Keshava Munegowda
2011-09-22 11:37 ` [PATCH 4/5 v11] arm: omap: usb: device name change for the clk names " Keshava Munegowda
2011-09-22 11:37 ` [PATCH 5/5 v11] mfd: omap: usb: Runtime PM support Keshava Munegowda
[not found] ` <1316691479-1849-3-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2011-09-22 18:01 ` [PATCH 2/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap3 Paul Walmsley
[not found] ` <alpine.DEB.2.00.1109221115320.10719-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2011-09-23 10:04 ` Munegowda, Keshava
[not found] ` <CAP05o4+Zc2z6sBOX_rQeoDQ9PneypcLRCyBbaaB2m+ZjeXZnaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-24 6:30 ` Paul Walmsley
2011-09-26 14:19 ` Munegowda, Keshava
2011-09-27 6:04 ` Partha Basak
2011-09-27 12:42 ` Tero Kristo
2011-09-27 13:18 ` Munegowda, Keshava
2011-09-27 13:24 ` Felipe Balbi
2011-09-27 13:57 ` Partha Basak
2011-09-27 14:38 ` Tero Kristo
2011-09-27 20:52 ` Felipe Balbi
2011-10-13 7:12 ` Munegowda, Keshava
2011-10-13 11:28 ` Tero Kristo
2011-10-13 11:49 ` Munegowda, Keshava
2011-10-28 12:03 ` Tero Kristo
2011-10-28 12:14 ` Munegowda, Keshava
2011-10-31 15:37 ` Valdis.Kletnieks
2011-09-24 7:15 ` Paul Walmsley
2011-09-26 14:21 ` Munegowda, Keshava
2011-09-26 14:45 ` Paul Walmsley
2011-09-28 12:08 ` Munegowda, Keshava
2011-09-30 8:32 ` Paul Walmsley
2011-09-30 9:36 ` Munegowda, Keshava
2011-09-30 18:16 ` Paul Walmsley
2011-10-04 11:55 ` Munegowda, Keshava
2011-09-22 18:14 ` [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4 Paul Walmsley
2011-09-22 19:28 ` Cousson, Benoit [this message]
2011-09-22 23:31 ` Paul Walmsley
2011-09-23 0:16 ` Paul Walmsley
2011-09-23 11:30 ` Munegowda, Keshava
2011-09-24 6:20 ` Paul Walmsley
[not found] ` <alpine.DEB.2.00.1109221524560.10719-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2011-09-26 22:00 ` Cousson, Benoit
2011-09-28 10:10 ` Ming Lei
2011-10-11 2:47 ` Paul Walmsley
2011-09-22 23:35 ` Paul Walmsley
2011-09-22 13:32 ` [PATCH 0/5 v11] mfd: omap: usb: Runtime PM support for EHCI and OHCI drivers Ming Lei
[not found] ` <CACVXFVOoHM14AqqH0CSpwNPef1QL+7MtgZOQZhYVSdgA=5KR4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-22 13:36 ` Munegowda, Keshava
2011-09-23 18:44 ` Kevin Hilman
-- strict thread matches above, loose matches on Subject: below --
2011-09-22 11:40 [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures for omap4 Keshava Munegowda
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=4E7B8C68.7020407@ti.com \
--to=b-cousson@ti.com \
--cc=balbi@ti.com \
--cc=gadiyar@ti.com \
--cc=johnstul@us.ibm.com \
--cc=keshava_mgowda@ti.com \
--cc=khilman@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=parthab@india.ti.com \
--cc=paul@pwsan.com \
--cc=sameo@linux.intel.com \
--cc=tony@atomide.com \
--cc=vishwanath.bs@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