musb regression fixes for v3.7-rc4
The following changes since commit 3d70f8c617a436c7146ecb81df2265b4626dfe89:
Linux 3.7-rc4 (2012-11-04 11:07:39 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.7-rc4/musb-regression-signed
for you to fetch changes up to 459bc971eba0fe84b3fe857cf0a71c5fd102f06b:
ARM: OMAP: ocp2scp: create omap device for ocp2scp (2012-11-07 10:10:28 -0800)
----------------------------------------------------------------
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 657b306a (usb: phy: add a new driver for omap usb2 phy) that is using the newly introduced drivers/bus/omap-ocp2scp.c introduced by commit 26a84b3e (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 c9e4412a (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.
----------------------------------------------------------------
Kishon Vijay Abraham I (3):
drivers: bus: ocp2scp: add pdata support
ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy
ARM: OMAP: ocp2scp: create omap device for ocp2scp
arch/arm/mach-omap2/devices.c | 79 ++++++++++++++++++++++++++++++ arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 +++++++++++ drivers/bus/omap-ocp2scp.c | 68 +++++++++++++++++++++++-- include/linux/platform_data/omap_ocp2scp.h | 31 ++++++++++++ 4 files changed, 203 insertions(+), 3 deletions(-) create mode 100644 include/linux/platform_data/omap_ocp2scp.h
Arnd Bergmann
AppliedQuoted 17 lines · Tony Lindgren
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.cdriver introduced by commit657b306a(usb: phy: add a new driver for omap usb2 phy) that is using the newly introduceddrivers/bus/omap-ocp2scp.cintroduced by commit26a84b3e(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.cand have it live in the device driver like it should with commitc9e4412a(arm: omap:
phy: remove unused functions fromomap-phy-internal.c).
Quoted 9 lines
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.
Applied to fixes branch, will send this soon.
Arnd