linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* OTG implementation with external transceiver on PXA270
@ 2010-05-10  1:33 Sergey Lapin
  2010-05-11  6:04 ` Eric Miao
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Lapin @ 2010-05-10  1:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hi, all!

I try to implement external OTG transceiver on PXA270.
I just need basic device mode at the moment.

A problem is that PXA itself handles interrupt of external chip via
UDC interrupt. But I need to read my chip-specific registers
from there while I want to maintain pxa270_udc in a generic way
without cluttering it with i2c calls, so I can implement it in the
following ways:

* make chip-specific data struct global (like it is in isp1301_omap.c
and make exported function in OTG driver, enable handling of OTG interrupts
in pxa27x_udc and call that function from there.
* add API function like otg_handle_interrupt, enable handling of OTG interrupts
in pxa27x_udc and call it from there. Which seems to be less messy.

Any other suggestions? If that work is really being done somewhere,
I'd like to help with testing.

Thanks a lot,
S.

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

end of thread, other threads:[~2010-05-13 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10  1:33 OTG implementation with external transceiver on PXA270 Sergey Lapin
2010-05-11  6:04 ` Eric Miao
2010-05-12 18:23   ` Robert Jarzmik
2010-05-13 14:00     ` Mark Brown

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).