soc/tegra: regulators: Prepare for suspend
authorDmitry Osipenko <digetx@gmail.com>
Tue, 30 Nov 2021 23:23:37 +0000 (02:23 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:03:38 +0000 (14:03 +0100)
commit80ef351c98714bb95bafd30b3faa6f11d8d58eb7
tree039360aab0b2b2b1690f2e6603a4cc754e5b90d5
parent88724b78a84c85350c21ac8d4432f2cf5a77a10a
soc/tegra: regulators: Prepare for suspend

Depending on hardware version, Tegra SoC may require a higher voltages
during resume from system suspend, otherwise hardware will crash. Set
SoC voltages to a nominal levels during suspend.

Link: https://lore.kernel.org/all/a8280b5b-7347-8995-c97b-10b798cdf057@gmail.com/
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/regulators-tegra20.c
drivers/soc/tegra/regulators-tegra30.c