Skip to content

staging: Emma Mobile USB driver and KZM9D board code V3

Magnus Damm linux-sh lkml 3 versions – In review

Get series with b4
b4 am 20140606104408.4423.36098.sendpatchset@w520

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesIn review
  2. v25 patches 8 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Added CONFIG_OF_ADDRESS dependency for the board staging bits

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5staging: emxx_udc: Add Emma Mobile USB Gadget driverdrivers/staging/Kconfig drivers/staging/Makefile drivers/staging/emxx_udc/Kconfig +3 more+4235 -02 replies
2/5staging: emxx_udc: I/O memory and IRQ resource supportdrivers/staging/emxx_udc/emxx_udc.c drivers/staging/emxx_udc/emxx_udc.h+18 -480 replies
3/5staging: emxx_udc: Add TODO filedrivers/staging/emxx_udc/TODO+4 -00 replies
4/5staging: board: Initial board staging supportdrivers/staging/Kconfig drivers/staging/Makefile drivers/staging/board/Kconfig +4 more+75 -00 replies
5/5staging: board: kzm9d: Board staging support for emxx_udcdrivers/staging/board/Makefile drivers/staging/board/kzm9d.c+20 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

staging: Emma Mobile USB driver and KZM9D board code V3

[PATCH v3 01/05] staging: emxx_udc: Add Emma Mobile USB Gadget driver [PATCH v3 02/05] staging: emxx_udc: I/O memory and IRQ resource support [PATCH v3 03/05] staging: emxx_udc: Add TODO file
[PATCH v3 04/05] staging: board: Initial board staging support [PATCH v3 05/05] staging: board: kzm9d: Board staging support for emxx_udc

This patch series is V3 of the old USB Gadget driver for Emma Mobile that gets slightly adjusted to make use of the platform device interface which in turn is used to add USB Gadget support to the KZM9D board.

Two separate staging components are included in this series:
1) the emxx_udc driver - from out-of-tree Android 2.6.35.7
2) board staging support for KZM9D - platform device for DT-only KZM9D

The two components above will be used to continously improve the driver and board integration code until the driver can be moved out of staging and/or DT bindings are available so the board staging platform device code can be replaced with a DT node.

Changes since V2:
- Added CONFIG_OF_ADDRESS dependency for the board staging bits

Changes since V1:
- Added TODO file for emxx_udc
- Broke out board staging base support, included TODO file
- Added code to avoid registering platform device if DT node exists
- Modified KZM9D board code build condition to use SoC Kconfig entry

Many thanks to Dan Carpenter, Geert Uytterhoeven, Greg KH and Paul Bolle for feedback!

Please let me know if you would like me to rebase this code somehow.

---

Written against renesas git repo at kernel.org using tag renesas-devel-v3.15-rc8-20140606

 drivers/staging/Kconfig             |    4 
 drivers/staging/Makefile            |    2 
 drivers/staging/board/Kconfig       |    8 
 drivers/staging/board/Makefile      |    2 
 drivers/staging/board/TODO          |    2 
 drivers/staging/board/board.c       |   41 
 drivers/staging/board/board.h       |   20 
 drivers/staging/board/kzm9d.c       |   19 
 drivers/staging/emxx_udc/Kconfig    |   10 
 drivers/staging/emxx_udc/Makefile   |    1 
 drivers/staging/emxx_udc/TODO       |    4 
 drivers/staging/emxx_udc/emxx_udc.c | 3616 ++++++++++++++++++++++++++++++++++-
 drivers/staging/emxx_udc/emxx_udc.h |  671 ++++++
 13 files changed, 4352 insertions(+), 48 deletions(-)