linux/drivers/usb/musb
Sebastian Andrzej Siewior 97238b35d5 usb: musb: dsps: use proper child nodes
This moves the two instances from the big node into two child nodes. The
glue layer ontop does almost nothing.

There is one devices containing the control module for USB (2) phy,
(2) usb and later the dma engine. The usb device is the "glue device"
which contains the musb device as a child. This is what we do ever since.

The new file musb_am335x is just here to prob the new bus and populate
child devices.

There are a lot of changes to the dsps file as a result of the changes:

- musb_core_offset
  This is gone. The device tree provides memory ressources information
  for the device there is no need to "fix" things

- instances
  This is gone as well. If we have two instances then we have have two
  child enabled nodes in the device tree. For instance the SoC in beagle
  bone has two USB instances but only one has been wired up so there is
  no need to load and init the second instance since it won't be used.

- dsps_glue is now per glue device
  In the past there was one of this structs but with an array of two and
  each instance accessed its variable depending on the platform device
  id.

- no unneeded copy of structs
  I do not know why struct dsps_musb_wrapper is copied but it is not
  necessary. The same goes for musb_hdrc_platform_data which allocated
  on demand and then again by platform_device_add_data(). One copy is
  enough.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-08-09 17:35:44 +03:00
..
am35x.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
blackfin.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
blackfin.h usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
cppi_dma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
cppi_dma.h
da8xx.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
davinci.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
davinci.h usb: musb: davinci: Fix build breakage 2012-06-04 18:29:42 +03:00
Kconfig usb: musb: dsps: use proper child nodes 2013-08-09 17:35:44 +03:00
Makefile usb: musb: dsps: use proper child nodes 2013-08-09 17:35:44 +03:00
musb_am335x.c usb: musb: dsps: use proper child nodes 2013-08-09 17:35:44 +03:00
musb_core.c usb: musb: use dev_get_platdata() 2013-07-30 11:21:54 +03:00
musb_core.h usb: musb: get rid of unused proc_dir_entry 2013-07-29 13:56:50 +03:00
musb_debug.h usb: musb: remove extern qualifier from musb_debug.h header 2011-12-21 13:21:02 +02:00
musb_debugfs.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dma.h usb: musb: provide empty dma_controller_create() in PIO mode 2013-07-29 13:53:19 +03:00
musb_dsps.c usb: musb: dsps: use proper child nodes 2013-08-09 17:35:44 +03:00
musb_gadget_ep0.c usb: musb: gadget: read ep0 fifo only if rxcount is non zero 2013-04-02 11:42:50 +03:00
musb_gadget.c usb: musb: unmap reqs in musb_gadget_queue()'s error case 2013-07-29 13:53:23 +03:00
musb_gadget.h usb: musb: add Kconfig options for HOST, GAGDET or DUAL_ROLE modes 2013-05-28 19:22:23 +03:00
musb_host.c usb: patches for v3.11 merge window 2013-06-12 14:44:13 -07:00
musb_host.h usb: patches for v3.11 merge window 2013-06-12 14:44:13 -07:00
musb_io.h usb: musb: use io{read,write}*_rep accessors 2012-12-17 17:15:13 -08:00
musb_regs.h usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
musb_virthub.c usb: musb: eliminate musb_to_hcd 2013-05-28 19:22:26 +03:00
musbhsdma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
musbhsdma.h usb: musb: remove generic_interrupt 2012-11-06 15:32:13 +02:00
omap2430.c usb: musb: use dev_get_platdata() 2013-07-30 11:21:54 +03:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010_omap.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
tusb6010.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
tusb6010.h
ux500_dma.c usb: musb: use dev_get_platdata() 2013-07-30 11:21:54 +03:00
ux500.c usb: musb: use dev_get_platdata() 2013-07-30 11:21:54 +03:00