[PATCH v4 05/15] clk: tegra: move some PLLC and PLLXC init to clk-pll.c

Andrew Bresticker abrestic at chromium.org
Thu Oct 17 18:33:13 EDT 2013


Hi Peter,

> +       val = readl_relaxed(clk_base + pll_params->base_reg);
> +       val_iddq = readl_relaxed(clk_base + pll_params->iddq_reg);
> +
> +       if (val & BIT(30))

BIT(30) -> PLL_BASE_ENABLE?

> +               WARN_ON(val_iddq & BIT(pll_params->iddq_bit_idx));
> +       else {
> +               val_iddq |= BIT(pll_params->iddq_bit_idx);
> +               writel_relaxed(val_iddq, clk_base + pll_params->iddq_reg);
> +       }

Thanks,
Andrew



More information about the linux-arm-kernel mailing list