[PATCH 00/03] staging: Emma Mobile USB driver and KZM9D board code

2014-05-22 Thread Magnus Damm
Emma Mobile USB driver and KZM9D board code

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

This patch series contains an 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.

Olof, patch 3/3 contains some board staging code for KZM9D. As it is
today the EMEV2 SoC is DT-only and we neither have defconfig nor Kconfig
definitions for the KZM9D board (emev2-kzm9d.dts). Instead of again adding
board code to the ARM subarchitecture I hereby propose that we use staging to
integrate non-DT drivers while they are improved to get DT support.

Greg, please let me know your opinions. I'd be happy to rework the code.

Signed-off-by: Magnus Damm damm+rene...@opensource.se
---

 Written against renesas-devel-v3.15-rc5-20140521

 drivers/staging/Kconfig |4 
 drivers/staging/Makefile|2 
 drivers/staging/board/Kconfig   |7 
 drivers/staging/board/Makefile  |1 
 drivers/staging/board/board.h   |   17 
 drivers/staging/board/kzm9d.c   |   18 
 drivers/staging/emxx_udc/Kconfig|   10 
 drivers/staging/emxx_udc/Makefile   |1 
 drivers/staging/emxx_udc/emxx_udc.c | 3616 ++-
 drivers/staging/emxx_udc/emxx_udc.h |  671 ++
 10 files changed, 4299 insertions(+), 48 deletions(-)
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH 00/03] staging: Emma Mobile USB driver and KZM9D board code

2014-05-22 Thread Geert Uytterhoeven
Hi Magnus,

Thanks for your series! This looks like a good solution for interim board
support.

On Thu, May 22, 2014 at 10:53 AM, Magnus Damm magnus.d...@gmail.com wrote:
 Olof, patch 3/3 contains some board staging code for KZM9D. As it is
 today the EMEV2 SoC is DT-only and we neither have defconfig nor Kconfig
 definitions for the KZM9D board (emev2-kzm9d.dts).

Although there's no KZM9D-specific defconfig anymore, support for it is
included in shmobile_defconfig, right?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH 00/03] staging: Emma Mobile USB driver and KZM9D board code

2014-05-22 Thread Magnus Damm
Hi Dan,

On Thu, May 22, 2014 at 6:17 PM, Dan Carpenter dan.carpen...@oracle.com wrote:
 Generally we take things as is into staging so there is no need for a
 re-work if you don't want to.  But we do need a TODO file.  Read the
 TODO files for other staging drivers.

Thanks for pointing that out, my apologies for being random and
skipping that! I will add a TODO file to v2!

Cheers,

/ magnus

On Thu, May 22, 2014 at 6:17 PM, Dan Carpenter dan.carpen...@oracle.com wrote:
 Generally we take things as is into staging so there is no need for a
 re-work if you don't want to.  But we do need a TODO file.  Read the
 TODO files for other staging drivers.

 regards,
 dan carpenter

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH 00/03] staging: Emma Mobile USB driver and KZM9D board code

2014-05-22 Thread Magnus Damm
Hi Geert,

On Thu, May 22, 2014 at 6:21 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
 Hi Magnus,

 Thanks for your series! This looks like a good solution for interim board
 support.

Thanks!

 On Thu, May 22, 2014 at 10:53 AM, Magnus Damm magnus.d...@gmail.com wrote:
 Olof, patch 3/3 contains some board staging code for KZM9D. As it is
 today the EMEV2 SoC is DT-only and we neither have defconfig nor Kconfig
 definitions for the KZM9D board (emev2-kzm9d.dts).

 Although there's no KZM9D-specific defconfig anymore, support for it is
 included in shmobile_defconfig, right?

Correct, I forgot to mention that.

Thanks,

/ magnus
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH 00/03] staging: Emma Mobile USB driver and KZM9D board code

2014-05-22 Thread Greg KH
On Thu, May 22, 2014 at 06:32:03PM +0900, Magnus Damm wrote:
 Hi Dan,
 
 On Thu, May 22, 2014 at 6:17 PM, Dan Carpenter dan.carpen...@oracle.com 
 wrote:
  Generally we take things as is into staging so there is no need for a
  re-work if you don't want to.  But we do need a TODO file.  Read the
  TODO files for other staging drivers.
 
 Thanks for pointing that out, my apologies for being random and
 skipping that! I will add a TODO file to v2!

Other than the missing TODO file, the idea looks good, I don't have any
objections to taking this.

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel