• Tuomas Tynkkynen's avatar
    usb: phy: tegra: Tegra30 support · 3e635202
    Tuomas Tynkkynen authored
    The Tegra30 USB PHY is a bit different than the Tegra20 PHY:
    
    - The EHCI controller supports the HOSTPC register extension, and some
      of the fields that the PHY needs to modify (PHCD and PTS) have moved
      to the new HOSTPC register.
    - Some of the UTMI PLL configuration registers have moved from the USB
      register space to the Clock-And-Reset controller space. In Tegra30
      the clock driver is responsible for configuring the UTMI PLL.
    - The USBMODE register must be explicitly written to enter host mode.
    - Certain PHY parameters need to be programmed for optimal signal
      quality. Support for this will be added in the next patch.
    
    The new tegra_phy_soc_config structure is added to describe the
    differences between the SoCs.
    Signed-off-by: default avatarTuomas Tynkkynen <ttynkkynen@nvidia.com>
    Tested-by: default avatarStephen Warren <swarren@nvidia.com>
    Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    3e635202
tegra_usb_phy.h 2.26 KB