Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* USB & hwmon on am33xx
@ 2013-07-09 16:32 Sebastian Andrzej Siewior
  2013-07-09 18:08 ` Mugunthan V N
  2013-07-29  9:04 ` Paul Walmsley
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-07-09 16:32 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-omap, Felipe Balbi, Tony Lindgren

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-29  9:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09 16:32 USB & hwmon on am33xx Sebastian Andrzej Siewior
2013-07-09 18:08 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox