]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: phy: ti,phy-j721e-wiz: Add Type-C dir GPIO
authorRoger Quadros <rogerq@ti.com>
Mon, 6 Jan 2020 13:06:21 +0000 (15:06 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 14 Jan 2020 05:20:19 +0000 (10:50 +0530)
commit8bc53665a8a6c1236712baf9ff38e89f5d086ec2
tree19d83ff1943f2f653c77b1f44c97ff0d5fc061da
parent3b9d531b871b2972b97114ee5f368e7e9c07c149
dt-bindings: phy: ti,phy-j721e-wiz: Add Type-C dir GPIO

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: Roger Quadros <rogerq@ti.com>
Cc: Rob Herring <robh@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml