Add USB support for TI AM62 SK EVM#104675
Draft
natto1784 wants to merge 5 commits intozephyrproject-rtos:mainfrom
Draft
Add USB support for TI AM62 SK EVM#104675natto1784 wants to merge 5 commits intozephyrproject-rtos:mainfrom
natto1784 wants to merge 5 commits intozephyrproject-rtos:mainfrom
Conversation
3a49ed1 to
5232292
Compare
6b37a72 to
86f1335
Compare
Add support for Synopsys DWC3 core, with only BULK endpoints supported at the moment, as well as an initial vendor quirks system. Signed-off-by: Josuah Demangeon <me@josuah.net>
The udc_dwc3_enable() APIs allocates a buffer EP0. This causes an assertion fail when in a disable() -> enable() cycle. Hence, free this buffer when udc_dwc3_disable() is called. Signed-off-by: Amneesh Singh <amneesh@ti.com>
Reset the event buffer pointer to 0 in the enable() API. This resets the pointer in case of a disable() -> enable() cycle. Signed-off-by: Amneesh Singh <amneesh@ti.com>
Add TI vendor specific controller configurations, that are configured as part of the quirk subsystem of the Synopsys DWC3 controller. This involves two separate vendor regions "usbss" (USB subsystem) and "phy" (PHY configuration). Signed-off-by: Amneesh Singh <amneesh@ti.com>
Add node for the UDC device present on the board. This uses the Synopsys DWC3 controller with a TI specific wrapper for vendor specific configuration. This additionally requires some syscon configuration in the wakeup MMR region - hence, add that node as well. Signed-off-by: Amneesh Singh <amneesh@ti.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Dependencies
This patchset currently has a bunch of dependencies, all of which are marked with
[PENDING]tag and will be eventually removed. These dependencies are as follows:Control module changes
PR: #103330
Secure proxy bugfixes
PR: #100642
TISCI typo fix
PR: #104670
TISCI priority changes
PR: #104673
Synopsys DWC3 driver
PR: #84544
Fresh patches in this PR
f5df4eb sk_am62: am6254: a53: enable TISCI and Secure Proxy
dba3631 udc: dwc3: map MMIO region for base address(now part of #84544)3dee4e6 udc: dwc3: force NOCACHE buffer for internal DMAdf4b017 udc: dwc3: fix UDC_DWC3_TRB.* macrosc0a5c64 udc: dwc3: fix IRQ handling(now part of #84544)0778871 udc: dwc3: free EP0 buffer in disable()
bb75419 udc: dwc3: reset the event buffer pointer
13fa532 udc: dwc3_ti_am62: add quirks for TI AM62 DWC3 controller
6b37a72 sk_am62: am6254: a53: enable usb0 support
Note: The patchset will remain in draft stage until dependencies are merged: