public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.lima@indt.org.br>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [RFC] [PATCH 0/5]: Composite Devices Support
Date: Fri, 02 Feb 2007 11:46:55 -0400	[thread overview]
Message-ID: <1170431215.23028.45.camel@balbi> (raw)

The following patch series add support for Composite Devices following
what was proposed David Brownell's patch.

Each patch modify one g_* module (ether, file_storage, serial) and
another one sets up the base for such support.

We have some known issues but the code is working pretty fine with
omap_h3 and omap_h2 development boards.

We still have some work to do but this is our approach for USB Composite
Gadgets support. If you could please comment the idea, we would be able
to refine the code.

Listed below are the know issues:

	- How to get which are the implemented bRequestTypes, as 
	  defined on linux as the USB_TYPE_ macros, from the gadget 
	  drivers?

	- Some of the direct attributions will be turned up into proper
	  functions.

	- One of the patches modify omap_udc.c to add 3 more endpoints
	  for us to be able to test composite framework running with 
	  all of the g_* gadget drivers.
	
	- A composite Gadget with only one function, wouldn't it become
	  a simple gadget? If this is true, wouldn't be better to modify
	  USB Gadget Framework to become USB Gadget/Composite Framework
	  and get rid of those #if defined's?

	- omap_udc.c defines some fifo_modes. The way it is implemented
	  composite framework would be limited to the fifo_modes
	  omap_udc.c implements, I mean that whenever I add a new
	  gadget driver, we would need to implement another fifo_mode
	  to handle the endpoints. Wouldn't be nice to make the
	  fifo_modes more dynamic ??

-- 
Best Regards,

Felipe Balbi
felipe.lima@indt.org.br

Nokia Institute of Technology - INdT
Kernel Developers Team

+55 92 2126 1003

                 reply	other threads:[~2007-02-02 15:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1170431215.23028.45.camel@balbi \
    --to=felipe.lima@indt.org.br \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox