[PATCH v2 0/1] tegra-usb: support dts based xcvr setup

Svyatoslav Ryhel clamor95 at gmail.com
Mon Aug 21 13:19:52 CEST 2023


This patch makes tegra usb drivers a bit more flexible by passing
xcvr setup values from device tree.

By default on tegra xcvr setup of usb phy is performed with values
taken form controller fuses. So by default nvidia,xcvr-setup-use-fuses
dts flag is set and hw is set accordingly.

In most cases default setup of USB works perfectly fine, but for some
devices (like ASUS TF201) standard xcvr fuse values do not fit which
causes some usb lines (in TF201 case dock USB port) to break. To fix
this xcvr-setup value can be passed from device tree.

---
Change from v1
- removed xcvr-setup if nvidia,xcvr-setup-use-fuses is enabled
---

Svyatoslav Ryhel (1):
  usb: host: tegra: implement dts based xcvr setup

 drivers/usb/host/ehci-tegra.c | 48 +++++++++++++++++++++++++++++++----
 1 file changed, 43 insertions(+), 5 deletions(-)

-- 
2.39.2



More information about the U-Boot mailing list