]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm: tegra: power: add pcie dependency to xusb ops
authorHaribabu Narayanan <hnarayanan@nvidia.com>
Tue, 17 Jun 2014 00:57:46 +0000 (17:57 -0700)
committerHaribabu Narayanan <hnarayanan@nvidia.com>
Thu, 19 Jun 2014 22:37:05 +0000 (15:37 -0700)
commitff373b04f297ee653c58a86c6642325037f5d10e
tree944316f55c2b75be6abd4785f1ed5e043d5c163e
parent0fd420a8edcddb484bcf1ad520f12c5574febfc7
arm: tegra: power: add pcie dependency to xusb ops

Due to a HW bug 1320346 in t12x/t13x, PCIE needs to be unpowergated when XUSB
is to be accessed.  Currently PCIE powergating ops need to be invoked from XUSB
driver since powergating module doesn't internally handle this dependency.

This patch implements this dependency within the powergating module so that
xhci-tegra driver can stay chip-agnostic.

Bug 1451279
Bug 1524744

Change-Id: Id750461f234749df484aa1c1daad7bbc7177d5d4
Signed-off-by: Haribabu Narayanan <hnarayanan@nvidia.com>
Reviewed-on: http://git-master/r/424035
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
arch/arm/mach-tegra/powergate-t12x.c
include/linux/tegra-powergate.h