Tool/software:
Hi Ti experts,
I'm trying to get the Usb0 OTG functionality to work with a customized Linux kernel version 6.1, but I'm having trouble.
In old kernels, both the host and peripheral of the OTG function could operate with the same kernel settings and device tree.
Are any additional actions required due to SDK changes or kernel version changes?
[kernel config]
CONFIG_USB=y
CONFIG_USB_OTG=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_DWC3=m
# CONFIG_USB_DWC3_HOST is not set
# CONFIG_USB_DWC3_GADGET is not set
CONFIG_USB_DWC3_DUAL_ROLE=y
CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_DSPS=m
CONFIG_USB_MUSB_DUAL_ROLE=y
[dts file]
&usb0 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&usb0_pins_default>;
pinctrl-1 = <&usb0_pins_sleep>;
status = "okay";
dr_mode = "otg";
};