Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: dwc3: otg: Enable OTG support in dwc3-core driver
The Linux v5.4 and later version Kernel does not support OTG feature in the DWC3 USB driver. Also, the upstream kernel defaulting the mode to peipheral if otg is specified in device tree and if usb role switch is not specified either in DT or through Kconfig. To support the OTG mode for Xilinx platforms, this check needs to removed. Added the kernel config 'CONFIG_USB_DWC3_OTG' check-in dwc3 driver to make OTG work for Xilinx platforms. Signed-off-by: Piyush Mehta <piyush.mehta@amd.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> State: not-upstreamable
- Loading branch information