• Kishon Vijay Abraham I's avatar
    phy: ti: Add a new SERDES driver for TI's AM654x SoC · 71e2f5c5
    Kishon Vijay Abraham I authored
    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: default avatarRoger Quadros <rogerq@ti.com>
    Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
    71e2f5c5
Makefile 472 Bytes