]> git.baikalelectronics.ru Git - uboot.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>
Wed, 29 Mar 2017 05:38:08 +0000 (07:38 +0200)
commit658054357ef2b17c1b3ceb937271ea03114acf95
tree9cf02f88151b946788d5e27e34ca156c68314e37
parentb228d09d2bd5e6ee38714fa883b952c7f4bd6a6b
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