]> git.dujemihanovic.xyz Git - u-boot.git/commit
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>
Thu, 23 Mar 2017 07:45:25 +0000 (08:45 +0100)
commit81192b79661cf2763abecbf3c3b673142ef4a2cd
tree381d2a6514aa235eacebcb57ac286143c787baf5
parentc10636344cc666158486d1cf75e592f2fdc69a6e
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