On Sat, Mar 08, 2014 at 09:32:15AM +0400, Alexander Shiyan wrote:
> Пятница,  7 марта 2014, 18:04 +01:00 от Denis Carikli <de...@eukrea.com>:
> > Signed-off-by: Denis Carikli <de...@eukrea.com>
> > ---
> >  drivers/usb/chipidea/usbmisc_imx.c |   59 
> > ++++++++++++++++++++++++++++++++++++
> >  1 file changed, 59 insertions(+)
> > 
> > diff --git a/drivers/usb/chipidea/usbmisc_imx.c 
> > b/drivers/usb/chipidea/usbmisc_imx.c
> > index cd061ab..d956ad0 100644
> > --- a/drivers/usb/chipidea/usbmisc_imx.c
> > +++ b/drivers/usb/chipidea/usbmisc_imx.c
> ...
> > +           val = readl(usbmisc->base);
> > +           val &= ~(MX25_OTG_SIC_MASK | MX25_OTG_PP_BIT);
> > +           val |= (MXC_EHCI_INTERFACE_DIFF_UNI & MXC_EHCI_INTERFACE_MASK) 
> > << MX25_OTG_SIC_SHIFT;
> > +           val |= (MX25_OTG_PM_BIT | MX25_OTG_OCPOL_BIT);
> > +           writel(val, usbmisc->base);
> 
> At the moment, we only enable/disable interface and manage overcurrent option
> in the usbmisc driver.
> Is it worth it to handle type of interface here?
> 

All usb related things which are not included at chipidea core can be in
usbmisc driver.

-- 

Best Regards,
Peter Chen

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

Reply via email to