drm/tegra: sor: Implement system suspend/resume
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:19:10 +0000 (17:19 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 4 Dec 2019 12:37:10 +0000 (13:37 +0100)
commitbe0b23f28c028bf11e47d16f79c784106286bcb7
tree780b8adf5d94c692c92ce0cf6f86e66400631b8b
parentc52e167b41940186d0f4d7364950b654b79b3ef7
drm/tegra: sor: Implement system suspend/resume

Upon system suspend, make sure the +5V HDMI regulator is disabled. This
avoids potentially leaking current to the HDMI connector. This also
makes sure that upon resume the regulator is enabled again, which in
some cases is necessary to properly restore the state of the supply on
resume.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c