diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-13 14:37:51 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-07-25 12:15:47 +0200 |
commit | 8665c18bece7965c3690ac3824bef2f97bae3d71 (patch) | |
tree | 553dbafc72dd14fe8d5d74a155fe61289400f968 /Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | |
parent | phy-sun4i-usb: Add support for boards with broken Vusb-detection (diff) | |
download | linux-8665c18bece7965c3690ac3824bef2f97bae3d71.tar.xz linux-8665c18bece7965c3690ac3824bef2f97bae3d71.zip |
phy-sun4i-usb: Add support for monitoring vbus via a power-supply
On some boards there is no vbus_det gpio pin, instead vbus-detection for
otg can be done via the pmic.
This commit adds support for monitoring vbus_det via the power_supply
exported by the pmic, enabling support for otg on these boards.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt')
-rw-r--r-- | Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt index 5f48979b4edc..0cebf7454517 100644 --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt @@ -29,6 +29,7 @@ Required properties: Optional properties: - usb0_id_det-gpios : gpio phandle for reading the otg id pin value - usb0_vbus_det-gpios : gpio phandle for detecting the presence of usb0 vbus +- usb0_vbus_power-supply: power-supply phandle for usb0 vbus presence detect - usb0_vbus-supply : regulator phandle for controller usb0 vbus - usb1_vbus-supply : regulator phandle for controller usb1 vbus - usb2_vbus-supply : regulator phandle for controller usb2 vbus |