Re: [PATCH v4 0/7] Add fully tested id switch and vbus connect detect support for Chipidea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 09, 2013 at 12:43:38PM +0100, Maxime Ripard wrote:
> Hi Peter,
> 
> Thanks for your answer.
> 
> 
> > Please always enable both device and host mode for chipidea driver.
> > Current code still not consider all things for different mode config,
> > like device-only, host-only, otg.  In future, it is supposed to do
> > at dts file, and judge probe.
> 
> Then isn't the gadget mode configuration option supposed to depends on
> the host mode if it's known to be broken otherwise?

At udc, it uses otg_set_peripheral, which depends on otg. OTG depends on
both host and device are enabled.

In fact, we don't need to use otg_set_peripheral at udc if all usb part
is in chipidea driver, but currently, msm also uses chipidea/udc.c, and
its otg and host is out of chipidea/

I am working on suspend/resume, low power mode and wakeup on chipidea driver.
After that, I will work on it.

> 
> Thanks,
> Maxime
> 
> -- 
> Maxime Ripard, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> 

-- 

Best Regards,
Peter Chen

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux