phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 30 Nov 2015 01:44:32 +0000 (10:44 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Dec 2015 09:51:37 +0000 (15:21 +0530)
commit9f391c574efc15f00a6c7e3e120c8b84fc9e792f
treedded23fa669fce2b10564c2ee97475a38e065d3e
parent1114e2d3173190be3e7339449c45ef11302d905a
phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection

This patch adds support for runtime ID/VBUS pin detection if
the channel 0 of R-Car gen3 is used. So, we are able to use
the channel as both host and peripheral.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
drivers/phy/phy-rcar-gen3-usb2.c