mvebu: usb: xhci: Add VBUS regulator supply to the host driver
authorKonstantin Porotchkin <kostap@marvell.com>
Sun, 12 Feb 2017 09:10:30 +0000 (11:10 +0200)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:38:08 +0000 (07:38 +0200)
commit137b1883e756f60ef4b1e1720dafcbf7d76d87c5
tree9cf02f88151b946788d5e27e34ca156c68314e37
parente562e51ee2cf82383aa60aea49f81753529c0433
mvebu: usb: xhci: Add VBUS regulator supply to the host driver

The USB device should linked to VBUS regulator through "vbus-supply"
DTS property.
This patch adds handling for "vbus-supply" property inside the USB
device entry for turning on the VBUS regulator upon the host adapter probe.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
doc/device-tree-bindings/usb/marvell.xhci-usb.txt [new file with mode: 0644]
drivers/usb/host/Kconfig
drivers/usb/host/xhci-mvebu.c