Re: [U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver

2012-09-22 Thread Ilya Yanok
Dear Marek, On Sat, Sep 22, 2012 at 4:49 AM, Marek Vasut ma...@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 |

Re: [U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver

2012-09-21 Thread Marek Vasut
Dear Ilya Yanok, AM33xx has support for dual port MUSB OTG controller. This patch adds initialization for the controller using new MUSB gadget driver and ether gadget. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - init both musb IPs (conditionally) from

[U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver

2012-09-16 Thread Ilya Yanok
AM33xx has support for dual port MUSB OTG controller. This patch adds initialization for the controller using new MUSB gadget driver and ether gadget. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - init both musb IPs (conditionally) from arch_init not from