]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: xhci: tegra: Add genpd support
authorJon Hunter <jonathanh@nvidia.com>
Tue, 16 Oct 2018 11:22:43 +0000 (14:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 17:44:39 +0000 (19:44 +0200)
commit6494a9ad86de921766afe91066f53a794f6c52ea
tree872d81841fcf4ea9baad12490bcab6d7eccd5793
parent8c14796b6b2485a31a50318d76d6bc4518dc9d39
usb: xhci: tegra: Add genpd support

The generic power-domain framework has been updated to allow devices
that require more than one power-domain to create a new device for
each power-domain required and then link these new power-domain
devices to the consumer device.

Update the Tegra xHCI driver to use the new APIs provided by the
generic power-domain framework so we can use the generic power-domain
framework for managing the xHCI controllers power-domains. Please
note that to maintain backward compatibility with older device-tree
blobs these new generic power-domain APIs are only used if the
'power-domains' property is present and otherwise we fall back to
using the legacy Tegra APIs for managing the power-domains.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c