From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap@vger.kernel.org, Felipe Balbi <balbi@ti.com>,
Tony Lindgren <tony@atomide.com>
Subject: USB & hwmon on am33xx
Date: Tue, 09 Jul 2013 18:32:57 +0200 [thread overview]
Message-ID: <51DC3B39.6000104@linutronix.de> (raw)
Hi Paul,
I'm slowly losing my mind with hwmod.
arch/arm/boot/dts/am33xx.dtsi has the ti,musb-am33xx node.
That one has "usb_otg_hs" as hwmod property.
The entry for it arch/arm/mach-omap2/omap_hwmod_33xx_data.c uses
AM33XX_CM_PER_USB0_CLKCTRL_OFFSET (0x1c) as the clk. The TRM only
mentions this one, i.e. no USB1.
Now I have the following logical devices here:
- usb0 instance + its glue code for irqs
- usb1 instance + its glue code for irqs
- two phy instances, one for USB0 and one USB1
- one dma engine which serves both usb instances.
Shouldn't I have for each device (usb0/1, phy0/1, dma) a hwmod entry?
Or is it enough to use the same entry for each device?
Sebastian
next reply other threads:[~2013-07-09 16:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 16:32 Sebastian Andrzej Siewior [this message]
2013-07-09 18:08 ` USB & hwmon on am33xx Mugunthan V N
2013-07-09 20:01 ` Sebastian Andrzej Siewior
2013-07-10 6:07 ` Mugunthan V N
2013-07-29 9:04 ` Paul Walmsley
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=51DC3B39.6000104@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--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