Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- kernel/linux-2.6.32.17-psp03.01.01.39/drivers/usb/musb/davinci.src.c 2011-12-10 11:13:12.869712697 +0330
- +++ kernel/linux-2.6.32.17-psp03.01.01.39/drivers/usb/musb/davinci.c 2011-12-10 11:15:28.617261260 +0330
- @@ -65,12 +65,13 @@
- /* power everything up; start the on-chip PHY and its PLL */
- phy_ctrl &= ~(USBPHY_OSCPDWN | USBPHY_OTGPDWN | USBPHY_PHYPDWN);
- phy_ctrl |= USBPHY_SESNDEN | USBPHY_VBDTCTEN | USBPHY_PHYPLLON;
- - if (cpu_is_davinci_dm646x()) {
- - phy_ctrl |= USBPHY_NDATAPOL | USBPHY_SESSION_VBUS;
- - phy_ctrl |= is_peripheral_enabled() ? USBPHY_PERI_USBID :
- - phy_ctrl;
- - phy_ctrl &= ~USBPHY_VBDTCTEN;
- - }
- + /* Removed by Morteza for Leopard365 */
- + //if (cpu_is_davinci_dm646x()) {
- + // phy_ctrl |= USBPHY_NDATAPOL | USBPHY_SESSION_VBUS;
- + // phy_ctrl |= is_peripheral_enabled() ? USBPHY_PERI_USBID :
- + // phy_ctrl;
- + // phy_ctrl &= ~USBPHY_VBDTCTEN;
- + //}
- if (cpu_is_davinci_dm365()) {
- /*
- * DM365 PHYCLKFREQ field [15:12] is set to 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement