[PATCH v4 0/3] ocp2scp: add non-dt support
Kishon Vijay Abraham I
kishon at ti.com
Fri Nov 2 04:14:45 EDT 2012
This patch series allows ocp2scp driver to create its child devices
from the platform data.
In omap platforms, usb phy is connected to ocp2scp and usb phy is needed
for MUSB to be functional. When ocp2scp driver was added, it had only dt
support which means it wont create usb phy devices for non-dt boot.
This patch series adds non-dt support to ocp2scp and this series is needed
for getting MUSB functional in non-dt boot.
Changes from v3:
used PLATFORM_DEVID_AUTO while creating a device using platform_device_alloc
Changes from v2:
*if cpu is not 44xx, dont create ocp2scp device in mach-omap2/devices.c
Changes from v1:
* Fixed Sergei's comments on memory leaks
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
--
1.7.9.5
More information about the linux-arm-kernel
mailing list