Re: [PATCH v1 4/4] clk: tegra: Remove CLK_IS_CRITICAL flag from fuse clock

From: Thierry Reding
Date: Wed Aug 11 2021 - 05:56:28 EST


On Tue, Aug 03, 2021 at 01:13:36AM +0300, Dmitry Osipenko wrote:
> FUSE driver now takes care of keeping the clock enabled when necessary.
> Remove the CLK_IS_CRITICAL flag from the clock.
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> drivers/clk/tegra/clk-tegra-periph.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)

Mike, Stephen,

I've picked this up into the Tegra tree because it has a runtime
dependency on the patches earlier in this series.

Thierry

>
> diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c
> index 292d6269daf1..4dcf7f7cb8a0 100644
> --- a/drivers/clk/tegra/clk-tegra-periph.c
> +++ b/drivers/clk/tegra/clk-tegra-periph.c
> @@ -777,11 +777,7 @@ static struct tegra_periph_init_data gate_clks[] = {
> GATE("ahbdma", "hclk", 33, 0, tegra_clk_ahbdma, 0),
> GATE("apbdma", "pclk", 34, 0, tegra_clk_apbdma, 0),
> GATE("kbc", "clk_32k", 36, TEGRA_PERIPH_ON_APB | TEGRA_PERIPH_NO_RESET, tegra_clk_kbc, 0),
> - /*
> - * Critical for RAM re-repair operation, which must occur on resume
> - * from LP1 system suspend and as part of CCPLEX cluster switching.
> - */
> - GATE("fuse", "clk_m", 39, TEGRA_PERIPH_ON_APB, tegra_clk_fuse, CLK_IS_CRITICAL),
> + GATE("fuse", "clk_m", 39, TEGRA_PERIPH_ON_APB, tegra_clk_fuse, 0),
> GATE("fuse_burn", "clk_m", 39, TEGRA_PERIPH_ON_APB, tegra_clk_fuse_burn, 0),
> GATE("kfuse", "clk_m", 40, TEGRA_PERIPH_ON_APB, tegra_clk_kfuse, 0),
> GATE("apbif", "clk_m", 107, TEGRA_PERIPH_ON_APB, tegra_clk_apbif, 0),
> --
> 2.32.0
>

Attachment: signature.asc
Description: PGP signature