OTG implementation with external transceiver on PXA270

Mark Brown broonie at opensource.wolfsonmicro.com
Thu May 13 10:00:03 EDT 2010


On Wed, May 12, 2010 at 08:23:21PM +0200, Robert Jarzmik wrote:
> Eric Miao <eric.y.miao at gmail.com> writes:

> That seems a good idea.
> If you expand it further, you could design the full OTG framework :
>  - extend otg.c, add the OTG state machine
>  - extend otg.h and otg.c with new calls :
>    - otg_set_state()
>    - otg_get_state()
>    - otg_signal_udc()
>  - extend otg.h, with callbacks like :
>    - otg_handle_interrupt()

> Separate the isp1301 driver from pxa270. The link will be done through the OTG
> framework. Remember the pxa270 has taken the udc IO space, so no access can be
> done from the isp1301 side (it should not actually for clean separation).

> But that could be more or less what you were thinking about.

This would be really good, not just for OTG but for USB in general -
there's other devices which could make use of information like PMICs
doing regulation of power draw from/to USB.



More information about the linux-arm-kernel mailing list