]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'omap-for-v3.7-rc4/musb-regression-signed' of git://git.kernel.org/pub...
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Nov 2012 16:19:29 +0000 (17:19 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 12 Nov 2012 16:19:29 +0000 (17:19 +0100)
commit6134323ec216639e61a157369addbcb2a0748e3b
treec5ff32f84bf49f012b46cc2607f2169fdc8bac41
parentc262bc74b3a92c40088a42dbb742e264ac303a49
parentaf706bf85e0da8b82d733b3721053cdaca7c1660
Merge tag 'omap-for-v3.7-rc4/musb-regression-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

From Tony Lindgren <tony@atomide.com>:

This series fixes an annoying regression to make MUSB working
on omap4 again. Although it's getting rather late for these
changes for the -rc cycle, it is important as many devices
are using MUSB for charging and connectivity.

With the USB PHY changes, MUSB started using the newly added
drivers/usb/phy/omap-usb2.c driver introduced by commit
8a30b7d9 (usb: phy: add a new driver for omap usb2 phy)
that is using the newly introduced drivers/bus/omap-ocp2scp.c
introduced by commit 3e3589f7 (drivers: bus: add a new driver
for omap-ocp2scp).

These changes allowed dropping a lot of PHY related code from
arch/arm/mach-omap2/omap_phy_internal.c and have it live in
the device driver like it should with commit 7f5d7007 (arm: omap:
phy: remove unused functions from omap-phy-internal.c).

However, MUSB on omap4 broke with these changes for legacy
platform data boot, and now only works with device tree for
omap4. Unfortunately we are still few critical bindings away
from being able to make omap4 usbale with device tree.

Fix the regression properly by adding platform data support
to the ocp2scp driver so we can avoid adding back the driver
code to arch/arm/mach-omap2.

* tag 'omap-for-v3.7-rc4/musb-regression-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP: ocp2scp: create omap device for ocp2scp
  ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy
  drivers: bus: ocp2scp: add pdata support

Signed-off-by: Arnd Bergmann <arnd@arndb.de>