Merge tag 'drivers-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[cascardo/linux.git] / drivers / phy / Kconfig
index e8f8a2d..0dd7427 100644 (file)
@@ -15,6 +15,13 @@ config GENERIC_PHY
          phy users can obtain reference to the PHY. All the users of this
          framework should select this config.
 
+config PHY_BERLIN_SATA
+       tristate "Marvell Berlin SATA PHY driver"
+       depends on ARCH_BERLIN && HAS_IOMEM && OF
+       select GENERIC_PHY
+       help
+         Enable this to support the SATA PHY on Marvell Berlin SoCs.
+
 config PHY_EXYNOS_MIPI_VIDEO
        tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
        depends on HAS_IOMEM
@@ -27,10 +34,20 @@ config PHY_EXYNOS_MIPI_VIDEO
 
 config PHY_MVEBU_SATA
        def_bool y
-       depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
+       depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
        depends on OF
        select GENERIC_PHY
 
+config PHY_MIPHY365X
+       tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
+       depends on ARCH_STI
+       depends on GENERIC_PHY
+       depends on HAS_IOMEM
+       depends on OF
+       help
+         Enable this to support the miphy transceiver (for SATA/PCIE)
+         that is part of STMicroelectronics STiH41x SoC series.
+
 config OMAP_CONTROL_PHY
        tristate "OMAP CONTROL PHY Driver"
        depends on ARCH_OMAP2PLUS || COMPILE_TEST
@@ -109,9 +126,18 @@ config PHY_EXYNOS5250_SATA
          SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
          port to accept one SATA device.
 
+config PHY_HIX5HD2_SATA
+       tristate "HIX5HD2 SATA PHY Driver"
+       depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
+       select GENERIC_PHY
+       select MFD_SYSCON
+       help
+         Support for SATA PHY on Hisilicon hix5hd2 Soc.
+
 config PHY_SUN4I_USB
        tristate "Allwinner sunxi SoC USB PHY driver"
        depends on ARCH_SUNXI && HAS_IOMEM && OF
+       depends on RESET_CONTROLLER
        select GENERIC_PHY
        help
          Enable this to support the transceiver that is part of Allwinner
@@ -122,61 +148,68 @@ config PHY_SUN4I_USB
 
 config PHY_SAMSUNG_USB2
        tristate "Samsung USB 2.0 PHY driver"
+       depends on HAS_IOMEM
+       depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
        select GENERIC_PHY
        select MFD_SYSCON
+       default ARCH_EXYNOS
        help
          Enable this to support the Samsung USB 2.0 PHY driver for Samsung
-         SoCs. This driver provides the interface for USB 2.0 PHY. Support for
-         particular SoCs has to be enabled in addition to this driver. Number
-         and type of supported phys depends on the SoC.
+         SoCs. This driver provides the interface for USB 2.0 PHY. Support
+         for particular PHYs will be enabled based on the SoC type in addition
+         to this driver.
 
-config PHY_EXYNOS4210_USB2
-       bool "Support for Exynos 4210"
+config PHY_S5PV210_USB2
+       bool "Support for S5PV210"
        depends on PHY_SAMSUNG_USB2
-       depends on CPU_EXYNOS4210
+       depends on ARCH_S5PV210
        help
-         Enable USB PHY support for Exynos 4210. This option requires that
-         Samsung USB 2.0 PHY driver is enabled and means that support for this
-         particular SoC is compiled in the driver. In case of Exynos 4210 four
-         phys are available - device, host, HSIC0 and HSIC1.
+         Enable USB PHY support for S5PV210. This option requires that Samsung
+         USB 2.0 PHY driver is enabled and means that support for this
+         particular SoC is compiled in the driver. In case of S5PV210 two phys
+         are available - device and host.
+
+config PHY_EXYNOS4210_USB2
+       bool
+       depends on PHY_SAMSUNG_USB2
+       default CPU_EXYNOS4210
 
 config PHY_EXYNOS4X12_USB2
-       bool "Support for Exynos 4x12"
+       bool
        depends on PHY_SAMSUNG_USB2
-       depends on (SOC_EXYNOS4212 || SOC_EXYNOS4412)
-       help
-         Enable USB PHY support for Exynos 4x12. This option requires that
-         Samsung USB 2.0 PHY driver is enabled and means that support for this
-         particular SoC is compiled in the driver. In case of Exynos 4x12 four
-         phys are available - device, host, HSIC0 and HSIC1.
+       default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
 
 config PHY_EXYNOS5250_USB2
-       bool "Support for Exynos 5250"
+       bool
        depends on PHY_SAMSUNG_USB2
-       depends on SOC_EXYNOS5250
-       help
-         Enable USB PHY support for Exynos 5250. This option requires that
-         Samsung USB 2.0 PHY driver is enabled and means that support for this
-         particular SoC is compiled in the driver. In case of Exynos 5250 four
-         phys are available - device, host, HSIC0 and HSIC.
+       default SOC_EXYNOS5250 || SOC_EXYNOS5420
 
 config PHY_EXYNOS5_USBDRD
        tristate "Exynos5 SoC series USB DRD PHY driver"
        depends on ARCH_EXYNOS5 && OF
        depends on HAS_IOMEM
+       depends on USB_DWC3_EXYNOS
        select GENERIC_PHY
        select MFD_SYSCON
+       default y
        help
          Enable USB DRD PHY support for Exynos 5 SoC series.
          This driver provides PHY interface for USB 3.0 DRD controller
          present on Exynos5 SoC series.
 
-config PHY_XGENE
-       tristate "APM X-Gene 15Gbps PHY support"
-       depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
+config PHY_QCOM_APQ8064_SATA
+       tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
+       depends on ARCH_QCOM
+       depends on HAS_IOMEM
+       depends on OF
+       select GENERIC_PHY
+
+config PHY_QCOM_IPQ806X_SATA
+       tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
+       depends on ARCH_QCOM
+       depends on HAS_IOMEM
+       depends on OF
        select GENERIC_PHY
-       help
-         This option enables support for APM X-Gene SoC multi-purpose PHY.
 
 config PHY_ST_SPEAR1310_MIPHY
        tristate "ST SPEAR1310-MIPHY driver"
@@ -190,4 +223,11 @@ config PHY_ST_SPEAR1340_MIPHY
        help
          Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
 
+config PHY_XGENE
+       tristate "APM X-Gene 15Gbps PHY support"
+       depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
+       select GENERIC_PHY
+       help
+         This option enables support for APM X-Gene SoC multi-purpose PHY.
+
 endmenu