On Thu, Oct 03, 2019 at 02:50:30PM -0600, Stephen Warren wrote:
From: Stephen Warren <redacted>
For a little over a year, U-Boot on Tegra124 has configured the flow
controller to perform automatic RAM re-repair on off->on power transitions
of the CPU rail1]. This is mandatory for correct operation of Tegra124.
However, RAM re-repair relies on certain clocks, which the kernel must
enable and leave running. The fuse clock is one of those clocks. Mark this
clock as critical so that LP1 power mode (system suspend) operates
correctly.
[1] 3cc7942a4ae5 ARM: tegra: implement RAM repair
Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
Cc: <redacted>
Signed-off-by: Stephen Warren <redacted>
---
v3: Added comment to the clock table entry indicating why the clock is
critical.
v2: Set CRITICAL flag on the clock, rather than enabling it in
tegra124_init_table[].
---
drivers/clk/tegra/clk-tegra-periph.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Applied to for-5.6/clk, thanks.
Thierry