The usb OTG can not recognise the hogplug devices
Hi, my custom board has OTG interface. So I reference the dk2 board to configure usbotg_hs as otg mode. But now, the otg interface only recognise on system starting up. It's can not recoginse the hotplug devices. Below is my dts code. My board use ID line to switch the OTG_VBUS.
696 &usbh_ehci {
697 phys = <&usbphyc_port0>;
698 phy-names = "usb";
699 status = "okay";
700 };
701
702 &usbotg_hs {
703 pinctrl-names = "default";
704 pinctrl-0 = <&usbotg_hs_pins_a>;
705 dr_mode = "otg";
706 phys = <&usbphyc_port1 0>;
707 phy-names = "usb2-phy";
708 status = "okay";
709 };
710
711 &usbphyc {
712 vdd3v3-supply = <&vdd_usb>;
713 status = "okay";
714 };
715
716 &usbphyc_port0 {
717 st,phy-tuning = <&usb_phy_tuning>;
718 };
719
720 &usbphyc_port1 {
721 st,phy-tuning = <&usb_phy_tuning>;
722 };Now, on my some test cases. The system only recognise after I manual rmmod and insmod the dwc2 driver module, then usb device can be probe. Use lsusb can watch the new usb device info. Did I missing something about usbotg_hs sectiong in dts file?
