soc/tegra: fuse: Enable fuse clock on suspend for Tegra124
authorDmitry Osipenko <digetx@gmail.com>
Mon, 2 Aug 2021 22:13:35 +0000 (01:13 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 11 Aug 2021 09:55:56 +0000 (11:55 +0200)
commit59c6fceb2ecc382c3d20508a235b539bf23af1f0
tree580fb68e7c13544c0ccd554a8a88c588fdccd140
parent24a15252ff049ca76bdcc51dd445503b88b2c6df
soc/tegra: fuse: Enable fuse clock on suspend for Tegra124

The FUSE clock should be enabled during suspend on Tegra124. Currently
clk driver enables it on all SoCs, but FUSE may require a higher core
voltage on Tegra30 while enabled. Move the quirk into the FUSE driver
and make it specific to Tegra124.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra.c
drivers/soc/tegra/fuse/fuse-tegra20.c
drivers/soc/tegra/fuse/fuse-tegra30.c
drivers/soc/tegra/fuse/fuse.h