Pārlūkot izejas kodu

usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled

Powerdown the internal UTMI PHY when USB is not enabled. This will
allow the OMAP core domain to transition to retention and offmode.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Hema HK 14 gadi atpakaļ
vecāks
revīzija
208466dc10
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      arch/arm/mach-omap2/usb-musb.c

+ 2 - 0
arch/arm/mach-omap2/usb-musb.c

@@ -167,5 +167,7 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
 #else
 void __init usb_musb_init(struct omap_musb_board_data *board_data)
 {
+	if (cpu_is_omap44xx())
+		omap4430_phy_init(NULL);
 }
 #endif /* CONFIG_USB_MUSB_SOC */