summaryrefslogtreecommitdiffstats
path: root/drivers/phy/qualcomm/Kconfig
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2018-03-24 23:38:40 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2018-04-25 10:53:00 +0530
commitcd3bf368aa7a352a577be7b9540c6b5b2681bf17 (patch)
treeec36738bd9d85ac95fc51a2ac24142190e513dae /drivers/phy/qualcomm/Kconfig
parent8866df25e56cd5ac067e70825e6f38f9f2363db9 (diff)
downloadop-kernel-dev-cd3bf368aa7a352a577be7b9540c6b5b2681bf17.zip
op-kernel-dev-cd3bf368aa7a352a577be7b9540c6b5b2681bf17.tar.gz
phy: Add a driver for the ATH79 USB phy
The ATH79 USB phy is very simple, it only have a reset. On some SoC a second reset is used to force the phy in suspend mode regardless of the USB controller status. This driver is added to the qualcom directory as atheros is now part of qualcom and newer SoC of this familly are marketed under the qualcom name. Signed-off-by: Alban Bedel <albeu@free.fr> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm/Kconfig')
-rw-r--r--drivers/phy/qualcomm/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/phy/qualcomm/Kconfig b/drivers/phy/qualcomm/Kconfig
index 7bfa64b..632a0e7 100644
--- a/drivers/phy/qualcomm/Kconfig
+++ b/drivers/phy/qualcomm/Kconfig
@@ -1,6 +1,15 @@
#
-# Phy drivers for Qualcomm platforms
+# Phy drivers for Qualcomm and Atheros platforms
#
+config PHY_ATH79_USB
+ tristate "Atheros AR71XX/9XXX USB PHY driver"
+ depends on OF && (ATH79 || COMPILE_TEST)
+ default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
+ select RESET_CONTROLLER
+ select GENERIC_PHY
+ help
+ Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
+
config PHY_QCOM_APQ8064_SATA
tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
depends on ARCH_QCOM
OpenPOWER on IntegriCloud