[U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver
Ilya Yanok
ilya.yanok at cogentembedded.com
Sat Sep 22 09:55:23 CEST 2012
Dear Marek,
On Sat, Sep 22, 2012 at 4:49 AM, Marek Vasut <marex at denx.de> wrote:
>
> > +{
> > + u32 usb_ctrl_reg;
> > +
> > + usb_ctrl_reg = readl(reg_addr);
> > + if (on) {
> > + usb_ctrl_reg &= ~(CM_PHY_PWRDN | CM_PHY_OTG_PWRDN);
> > + usb_ctrl_reg |= (OTGVDET_EN | OTGSESSENDEN);
> > + } else {
> > + usb_ctrl_reg |= (CM_PHY_PWRDN | CM_PHY_OTG_PWRDN);
> > + }
> > + writel(usb_ctrl_reg, reg_addr);
>
> > +static void am33xx_usb_set_phy_power(u8 on, u32 *reg_addr)
> clrsetbits_le32() ?
>
Will change.
Regards, Ilya.
More information about the U-Boot
mailing list