Gregory CLEMENT 4718c17740 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>
2014-05-27 15:33:13 -07:00
..
2013-10-19 14:08:04 -07:00
2013-12-03 10:34:33 -08:00
2013-10-19 14:08:04 -07:00
2013-05-30 21:34:31 +09:00
2013-12-03 10:34:33 -08:00
2013-12-03 10:34:33 -08:00
2013-07-31 17:53:50 -07:00
2014-05-20 09:49:41 +09:00
2013-12-18 16:36:10 -08:00
2013-12-03 10:25:22 -08:00
2014-05-20 09:49:41 +09:00
2014-01-23 18:49:36 -08:00
2013-12-03 10:34:33 -08:00
2013-12-03 10:34:33 -08:00
2013-01-24 13:42:09 -08:00
2014-05-27 15:33:13 -07:00