lkml.org 
[lkml]   [2018]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/3] Tegra's USB driver dependency fix
Date
Tegra uses two different USB drivers for host / device controllers, one is
tegra-ehci (host) and other is ChipIdea (UDC). Currently ChipIdea driver
implicitly (and incorrectly) depends on Tegra's EHCI driver because Tegra's
PHY driver is built only when host driver is built, also host controller
shares HW resets with the device controller and host driver manages the
resets solely. This small series fixes the dependency by moving out reset
controls to the PHY driver and making them shared, then the driver build
dependency is resolved.

Changelog:

v3:
Fixed Tegra's EHCI driver dependency on functions exported by the
Tegra's PHY driver (was reported by "kbuild test robot" for v2) by
making host driver to select the PHY driver in Kconfig.

v2:
Added missed USB_ULPI dependency to USB_TEGRA_PHY.

Corrected UTMI pads reset by moving reset assert/deassert to the
PHY's probe.

Removed function names as per Thierry's suggestion.

Dmitry Osipenko (3):
usb: phy: tegra: Cleanup error messages
usb: tegra: Move utmi-pads reset from ehci-tegra to tegra-phy
usb: phy: Add Kconfig entry for Tegra PHY driver

drivers/usb/host/Kconfig | 4 +-
drivers/usb/host/ehci-tegra.c | 87 +++++++++++------------
drivers/usb/phy/Kconfig | 9 +++
drivers/usb/phy/Makefile | 2 +-
drivers/usb/phy/phy-tegra-usb.c | 140 ++++++++++++++++++++++++++++++--------
include/linux/usb/tegra_usb_phy.h | 2 +
6 files changed, 163 insertions(+), 81 deletions(-)

--
2.16.3

\
 
 \ /
  Last update: 2018-04-10 00:04    [W:0.043 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site