[PATCH v1 0/2] Restore voltages before rebooting of NVIDIA Tegra SoCs

From: Dmitry Osipenko
Date: Mon May 10 2021 - 18:07:23 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.

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 | 77 ++++++++++++++++++++++++-
drivers/soc/tegra/regulators-tegra30.c | 80 +++++++++++++++++++++++++-
include/linux/regulator/driver.h | 1 +
4 files changed, 177 insertions(+), 4 deletions(-)

--
2.30.2