[PATCH v2 0/2] Restore voltages before rebooting of NVIDIA Tegra SoCs
From: Dmitry Osipenko
Date: Sun May 16 2021 - 18:21:41 EST
Hi,
Nikola Milosavljević reported that rebooting wasn't working properly on
Asus Transformer TF101, which is Tegra20-based tablet device. We found
that TF101 and some other devices have bootloader which doesn't re-initialize
voltages properly on a reboot. The problem is resolved by ensuring that
SoC voltages are at a levels that are suitable for the rebooting of the
SoC before reboot happens. This series adds reboot handler to the Tegra
regulator couplers, it bumps voltages on the reboot event.
Changelog:
v2: - Added ack from Mark Brown.
- Rebased patches properly, thanks to Michał Mirosław for noticing
this problem.
Dmitry Osipenko (2):
regulator: core: Add regulator_sync_voltage_rdev()
soc/tegra: regulators: Bump voltages on system reboot
drivers/regulator/core.c | 23 ++++++++
drivers/soc/tegra/regulators-tegra20.c | 75 ++++++++++++++++++++++++-
drivers/soc/tegra/regulators-tegra30.c | 78 +++++++++++++++++++++++++-
include/linux/regulator/driver.h | 1 +
4 files changed, 175 insertions(+), 2 deletions(-)
--
2.30.2