clk: ti: omap4: Drop idlest polling from IVA clkctrl clocks
authorTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2020 12:18:17 +0000 (14:18 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2020 12:21:27 +0000 (14:21 +0200)
Similar to what we've done for IPU and DSP let's ignore the status bit
for the IVA clkctrl register.

The clkctrl status won't change unless the related rstctrl is deasserted,
and the rstctrl status won't change unless the clkctrl is enabled.

Cc: linux-clk@vger.kernel.org
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Suman Anna <s-anna@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/clk/ti/clk-44xx.c

index a38c92153979337b8195ab39d03ef0b86a057e6b..d078e5d73ed94c84bc8646c6b491060ae59d38ab 100644 (file)
@@ -255,7 +255,7 @@ static const struct omap_clkctrl_reg_data omap4_l3_instr_clkctrl_regs[] __initco
 };
 
 static const struct omap_clkctrl_reg_data omap4_ivahd_clkctrl_regs[] __initconst = {
-       { OMAP4_IVA_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_iva_m5x2_ck" },
+       { OMAP4_IVA_CLKCTRL, NULL, CLKF_HW_SUP | CLKF_NO_IDLEST, "dpll_iva_m5x2_ck" },
        { OMAP4_SL2IF_CLKCTRL, NULL, CLKF_HW_SUP, "dpll_iva_m5x2_ck" },
        { 0 },
 };