summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWu Liang feng <wulf@rock-chips.com>2016-07-26 20:05:09 +0800
committerGerrit Code Review <gerrit@rock-chips.com>2016-07-27 20:16:08 +0800
commit5b9c454fb71a891f19fb9bd3178e742609cb9305 (patch)
tree7e63a821a8bec47ed242c6b5e9a82a480810eaa2 /Documentation
parent6b66590b06663371d26f534337144791aef43db9 (diff)
phy: rockchip-inno-usb2: make utmi vbus configurable in DT
Rockchip USB2 phy provides utmi_avalid and utmi_bvalid for user to check UTMI vbus status. Generally, both of them can reflect the vbus status correctly, and the utmi_bvalid has higher sensitivity, so we select the utmi_bvalid to get vbus status by default. But some special SoCs may not provide utmi_bvalid, so we need to select utmi_avalid in this case. Change-Id: I0d47c2237f852cb67ebd82fe2673b2bd2e6ccce6 Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
index 3c29c77a7018..1155aaa853f6 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
@@ -29,6 +29,9 @@ Required properties (port (child) node):
Optional properties:
- phy-supply : phandle to a regulator that provides power to VBUS.
See ./phy-bindings.txt for details.
+ - rockchip,utmi-avalid : when set, the usb2 phy will use avalid
+ status bit to get vbus status. If not, it will use
+ bvalid status bit to get vbus status by default.
Example: