TI E2E Community
Sitara Processors Forum
AM3505 - USB3320 (Swap DP/DM) linux support
Dear Community Members,
We want to connect a USB3320 USB transceiver to the USB2/ULPI Interface and want to use linux.There is a Swap DP/DM feature that can be accessed by settingthe respective bit in the vendor specific register 0x39(write).We want to set it to 1 in order to prevent crossing DP/DM traces on our board.
Is this / and how is this supported by the available linux driver? Or is itplanned to be supported? Can this be configured?
Thank you for your help
I think you are referring to PHY register (0x39). You can access PHY resgiters using INSNREG05_ULPI register.
You can refer the old EHCI driver code at http://omaplbp.india.ti.com/git/?p=12x/.git;a=commitdiff;h=4094a61fa979402ae595ba896bf0d9d91e0b877b
+ /* Refer ISSUE2: LINK assumes external charge pump */++ /* use Port1 VBUS to charge externally Port2:+ * So for PHY mode operation use Port2 only+ */+ omap_writel((0xA << EHCI_INSNREG05_ULPI_REGADD_SHIFT) |/* OTG ctrl reg*/+ (2 << EHCI_INSNREG05_ULPI_OPSEL_SHIFT) |/* Write */+ (1 << EHCI_INSNREG05_ULPI_PORTSEL_SHIFT) |/* Port1 */+ (1 << EHCI_INSNREG05_ULPI_CONTROL_SHIFT) |/* Start */+ (0x26),+ EHCI_INSNREG05_ULPI);++ while (!(omap_readl(EHCI_INSNREG05_ULPI) &
If my reply answers your question then please click on the green button "Verify Answer"
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.