Skip to content

ocp2scp: add non-dt support

Kishon Vijay Abraham I linux-arm-kernel linux-omap lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 1 replySuperseded
  3. v23 patches 19 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v4 from the cover letter

used PLATFORM_DEVID_AUTO while creating a device using platform_device_alloc

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: bus: ocp2scp: add pdata supportdrivers/bus/omap-ocp2scp.c include/linux/platform_data/omap_ocp2scp.h+96 -30 replies
2/3ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phyarch/arm/mach-omap2/omap_hwmod_44xx_data.c+28 -00 replies
3/3ARM: OMAP: ocp2scp: create omap device for ocp2scparch/arm/mach-omap2/devices.c+79 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] ocp2scp: add non-dt support

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
Signature · 1 line
1.7.9.5