Re: [PATCH v1 2/5] clk: samsung: clk-pll: Add support for pll_141xx

Peng Fan
2025-09-15T06:13:15Z

On Sun, Sep 14, 2025 at 03:21:13PM +0300, Ivaylo Ivanov wrote:
>diff --git a/drivers/clk/samsung/clk-pll.c b/drivers/clk/samsung/clk-pll.c
>index e4faf02b6..acb366f14 100644
>--- a/drivers/clk/samsung/clk-pll.c
>+++ b/drivers/clk/samsung/clk-pll.c
>@@ -273,7 +273,7 @@ static int samsung_pll35xx_set_rate(struct clk_hw *hw, unsigned long drate,
> }
>
> /* Set PLL lock time. */
>- if (pll->type == pll_142xx)
>+ if (pll->type == pll_142xx || pll->type == pll_141xx)
> writel_relaxed(rate->pdiv * PLL142XX_LOCK_FACTOR,
> pll->lock_reg);
> else
>@@ -287,6 +287,7 @@ static int samsung_pll35xx_set_rate(struct clk_hw *hw, unsigned long drate,
> tmp |= (rate->mdiv << PLL35XX_MDIV_SHIFT) |
> (rate->pdiv << PLL35XX_PDIV_SHIFT) |
> (rate->sdiv << PLL35XX_SDIV_SHIFT);
>+

Nit: unrelated change.

Regards,
Peng