phy: rockchip-inno-usb2: make utmi vbus configurable in DT
authorWu Liang feng <wulf@rock-chips.com>
Tue, 26 Jul 2016 12:05:09 +0000 (20:05 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 27 Jul 2016 12:16:08 +0000 (20:16 +0800)
commit5b9c454fb71a891f19fb9bd3178e742609cb9305
tree7e63a821a8bec47ed242c6b5e9a82a480810eaa2
parent6b66590b06663371d26f534337144791aef43db9
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>
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
drivers/phy/phy-rockchip-inno-usb2.c