• Roger Quadros's avatar
    dt-bindings: phy: ti,phy-j721e-wiz: Add Type-C dir GPIO · 6385cbe9
    Roger Quadros authored
    This is an optional GPIO, if specified will be used to
    swap lane 0 and lane 1 based on GPIO status. This is required
    to achieve plug flip support for USB Type-C.
    
    Type-C companions typically need some time after the cable is
    plugged before and before they reflect the correct status of
    Type-C plug orientation on the DIR line.
    
    Type-C Spec specifies CC attachment debounce time (tCCDebounce)
    of 100 ms (min) to 200 ms (max).
    
    Allow the DT node to specify the time (in ms) that we need
    to wait before sampling the DIR line.
    Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
    Cc: Rob Herring <robh@kernel.org>
    Reviewed-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
    6385cbe9
ti,phy-j721e-wiz.yaml 5.79 KB