summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mvebu.h
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2014-05-15 12:17:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:33:13 -0700
commit4718c177405112386a977fd9f1cba5fd6aa82315 (patch)
tree999a876e99861cc4d84a6d18dc5ae1f3bc6cf8b5 /drivers/usb/host/xhci-mvebu.h
parent48157bb97f074d21372bd3ae87e5988ed23c8972 (diff)
downloadop-kernel-dev-4718c177405112386a977fd9f1cba5fd6aa82315.zip
op-kernel-dev-4718c177405112386a977fd9f1cba5fd6aa82315.tar.gz
usb: host: xhci-plat: add clock support
Some platforms (such as the Armada 38x ones) can gate the clock of their USB controller. This patch adds the support for one clock in xhci-plat, by enabling it during probe and disabling it on remove. To achieve this, it adds a 'struct clk *' member in xhci_hcd. While only used for now in xhci-plat, it might be used by other drivers in the future. Moreover, the xhci_hcd structure already holds other members such as msix_count and msix_entries, which are MSI-X specific, and therefore only used by xhci-pci. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Felipe Balbi <balbi@ti.com> Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mvebu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud