Procházet zdrojové kódy

phy: Kconfig: Update config for Exynos USB DRD

USB DWC3 driver on Exynos platform does not work without its
corresponding phy driver. Hence make the PHY driver depend on
Exynos DWC3 driver and default it to yes to make things easier
for the end user.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Tested-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Sachin Kamat před 11 roky
rodič
revize
c233f52948
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      drivers/phy/Kconfig

+ 2 - 0
drivers/phy/Kconfig

@@ -161,8 +161,10 @@ config PHY_EXYNOS5_USBDRD
 	tristate "Exynos5 SoC series USB DRD PHY driver"
 	tristate "Exynos5 SoC series USB DRD PHY driver"
 	depends on ARCH_EXYNOS5 && OF
 	depends on ARCH_EXYNOS5 && OF
 	depends on HAS_IOMEM
 	depends on HAS_IOMEM
+	depends on USB_DWC3_EXYNOS
 	select GENERIC_PHY
 	select GENERIC_PHY
 	select MFD_SYSCON
 	select MFD_SYSCON
+	default y
 	help
 	help
 	  Enable USB DRD PHY support for Exynos 5 SoC series.
 	  Enable USB DRD PHY support for Exynos 5 SoC series.
 	  This driver provides PHY interface for USB 3.0 DRD controller
 	  This driver provides PHY interface for USB 3.0 DRD controller