summaryrefslogtreecommitdiffstats
path: root/drivers/phy/ti/Kconfig
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2019-04-17 08:19:39 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2019-04-17 10:43:19 +0200
commit71e2f5c5c2249db05dd26b787b56c45f2a890740 (patch)
treecc4291d27aa4443ee8d68b01594d1e8ef2d82af0 /drivers/phy/ti/Kconfig
parentdt-bindings: phy: ti: Add dt binding documentation for SERDES in AM654x SoC (diff)
downloadlinux-71e2f5c5c2249db05dd26b787b56c45f2a890740.tar.xz
linux-71e2f5c5c2249db05dd26b787b56c45f2a890740.zip
phy: ti: Add a new SERDES driver for TI's AM654x SoC
Add a new SERDES driver for TI's AM654x SoC which configures the SERDES only for PCIe. Support fo USB3 will be added later. SERDES in am654x has three input clocks (left input, externel reference clock and right input) and two output clocks (left output and right output) in addition to a PLL mux clock which the SERDES uses for Clock Multiplier Unit (CMU refclock). The PLL mux clock can select from one of the three input clocks. The right output can select between left input and external reference clock while the left output can select between the right input and external reference clock. The driver has support to select PLL mux and left/right output mux as specified in device tree. [rogerq@ti.com: Fix boot lockup caused by accessing a structure member (hw->init) allocated in stack of probe() and accessed in get_parent] [rogerq@ti.com: Fix "Failed to find the parent" warnings] Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/ti/Kconfig')
-rw-r--r--drivers/phy/ti/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
index 103efc456a12..d658275f6164 100644
--- a/drivers/phy/ti/Kconfig
+++ b/drivers/phy/ti/Kconfig
@@ -20,6 +20,18 @@ config PHY_DM816X_USB
help
Enable this for dm816x USB to work.
+config PHY_AM654_SERDES
+ tristate "TI AM654 SERDES support"
+ depends on OF && ARCH_K3 || COMPILE_TEST
+ depends on COMMON_CLK
+ select GENERIC_PHY
+ select MULTIPLEXER
+ select REGMAP_MMIO
+ select MUX_MMIO
+ help
+ This option enables support for TI AM654 SerDes PHY used for
+ PCIe.
+
config OMAP_CONTROL_PHY
tristate "OMAP CONTROL PHY Driver"
depends on ARCH_OMAP2PLUS || COMPILE_TEST