OSDN Git Service

drivers: bus: ocp2scp: add pdata support
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 2 Nov 2012 08:14:46 +0000 (13:44 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Nov 2012 17:35:53 +0000 (09:35 -0800)
commit0133370f93eae5ed3c0f16d9da2b7add7dda6076
tree2aa05fa73993988e10d173c0cfa825061b2c2a0d
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
drivers: bus: ocp2scp: add pdata support

ocp2scp was not having pdata support which makes *musb* fail for non-dt
boot in OMAP platform. The pdata will have information about the devices
that is connected to ocp2scp. ocp2scp driver will now make use of this
information to create the devices that is attached to ocp2scp.

This is needed to fix MUSB regression caused by commit c9e4412a
(arm: omap: phy: remove unused functions from omap-phy-internal.c)

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
[tony@atomide.com: updated comments for regression info]
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/omap-ocp2scp.c
include/linux/platform_data/omap_ocp2scp.h [new file with mode: 0644]