drm/tegra: vic: Implement explicit reset support
authorThierry Reding <treding@nvidia.com>
Fri, 23 Nov 2018 12:06:37 +0000 (13:06 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Nov 2018 16:11:09 +0000 (17:11 +0100)
commit0dc34e19f66eb84744af2fea4235302da39fd7e7
treeb6707914dc2ac7bb3855412140f8d043f78b4764
parent2fc777ba8422e4a38cae61537ad6a26435a86fb8
drm/tegra: vic: Implement explicit reset support

Tegra supports generic PM domains on 64-bit ARM, and if that is enabled,
the power domain code will make sure that resets are asserted and
deasserted at appropriate points in time.

If generic PM domains are not implemented, such as on 32-bit Tegra, the
resets need to be asserted and deasserted explicitly by the driver.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c