Thread (8 messages) 8 messages, 2 authors, 2025-09-15

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

From: Peng Fan <hidden>
Date: 2025-09-15 06:13:15
Also in: linux-clk, linux-devicetree, linux-samsung-soc, lkml

On Sun, Sep 14, 2025 at 03:21:13PM +0300, Ivaylo Ivanov wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help