linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* To otg-fsm or not to otg-fsm? That is the question.
@ 2014-08-11 20:36 Tim Bird
       [not found] ` <CA+bK7J5=z6gK9S74S=icSPDT70ParW8vv1xYZaj_fNiE7YjFNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Bird @ 2014-08-11 20:36 UTC (permalink / raw)
  To: linux-usb, balbi, av.tikhomirov, Peter Chen, b47624
  Cc: linux-arm-msm, Ivan T. Ivanov

Hey Linux USBer's,

I'm looking to add host support to the qualcomm OTG USB driver.  The
driver in mainline currently has gadget support only.  I'm starting
with an out-of-tree driver that has full gadget and host support.  It
has it's own OTG state machine implement in the driver, that I was
about to forward-port to top-of-tree.

However, I found the files /usb/common/usb-otg-fsm.c and I'm wondering
what the status of that is.  There appears to be only one driver
currently using it.  Should I modify the qualcomm driver
(drivers/usb/phy/phy-msm-usb.c to use that state machine, or just try
to mainline the state machine from the out-of-tree driver?  I'm
suspecting the former will be more work, but I want to do the right
thing.

Really I'm just checking that using the generic state machine is the
preferred method of supporting USB OTG drivers going forward.

Thanks!

 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-15  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 20:36 To otg-fsm or not to otg-fsm? That is the question Tim Bird
     [not found] ` <CA+bK7J5=z6gK9S74S=icSPDT70ParW8vv1xYZaj_fNiE7YjFNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-12  0:28   ` Peter Chen
     [not found]     ` <c33388d4706643cf83b53f1a70289d13-RQSpjbwlmjS6oBnG8T5U3ZwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2014-08-12 16:13       ` Tim Bird
2014-08-15  0:32         ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).