This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2EXEVM: USB Failed to enable optclk

Part Number: TDA2EXEVM

Tool/software: Linux

Hi all,

We are using TDA2ex custom board with vision sdk 2.12.

$ modprobe libcomposite

$ modprobe dwc3
clock: dpll_usb_ck failed transition to 'locked'
omap-usb2 4a085000.phy: Failed to enable optclk -22

$ modprobe g_webcam
g_webcam gadget: uvc_function_bind
g_webcam gadget: Webcam Video Gadget
g_webcam gadget: g_webcam ready
dwc3 488d0000.usb: failed to enable ep0out
dwc3 488d0000.usb: gadget start failed
g_webcam gadget: uvc_unbind
g_webcam 488d0000.usb: failed to start g_webcam: -110
modprobe: ERROR: could not insert 'g_webcam': Connection timed out

JTAG output:

CortexA15_0: GEL Output: Module : USB_OTG_SS1 (CD_L3INIT, PD_L3INIT)
CortexA15_0: GEL Output: Module State : ON
CortexA15_0: GEL Output: Clock State : ON
CortexA15_0: GEL Output: Power State : ON
CortexA15_0: GEL Output: Final State : MODULE ALWAYS ENABLED
CortexA15_0: GEL Output: ==========================================
CortexA15_0: GEL Output: Module : USB_OTG_SS2 (CD_L3INIT, PD_L3INIT)
CortexA15_0: GEL Output: Module State : DISABLED
CortexA15_0: GEL Output: Clock State : ON
CortexA15_0: GEL Output: Power State : ON
CortexA15_0: GEL Output: Final State : MODULE DISABLED
CortexA15_0: GEL Output: ==========================================
CortexA15_0: GEL Output: Module : USB_OTG_SS3 (CD_L3INIT, PD_L3INIT)
CortexA15_0: GEL Output: Module State : DISABLED
CortexA15_0: GEL Output: Clock State : ON
CortexA15_0: GEL Output: Power State : ON
CortexA15_0: GEL Output: Final State : MODULE DISABLED

DTS file config:

&usb1 {
dr_mode = "host";
pinctrl-names = "default";
pinctrl-0 = <&usb1id_pin>;
};

&usb2 {
dr_mode = "peripheral";
pinctrl-names = "default";
pinctrl-0 = <&usb2id_pin>;
};

Any suggestion?

BR,

RAJ M