Skip to content

Commit c703a2f

Browse files
VDavid003Sylwester Nawrocki
authored andcommitted
clk: samsung: clk-pll: Add support for pll1417x
pll1417x is used in Exynos7885 SoC for top-level integer PLLs. It is similar enough to pll0822x that practically the same code can handle both. The difference that's to be noted is that when defining a pl1417x PLL, the "con" parameter of the PLL macro should be set to the CON1 register instead of CON3, like this: PLL(pll_1417x, CLK_FOUT_SHARED0_PLL, "fout_shared0_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED0, PLL_CON0_PLL_SHARED0, NULL), Signed-off-by: David Virag <virag.david003@gmail.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20211206153124.427102-6-virag.david003@gmail.com
1 parent cfe238e commit c703a2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/clk/samsung/clk-pll.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,7 @@ static void __init _samsung_clk_register_pll(struct samsung_clk_provider *ctx,
14761476
else
14771477
init.ops = &samsung_pll35xx_clk_ops;
14781478
break;
1479+
case pll_1417x:
14791480
case pll_0822x:
14801481
pll->enable_offs = PLL0822X_ENABLE_SHIFT;
14811482
pll->lock_offs = PLL0822X_LOCK_STAT_SHIFT;

drivers/clk/samsung/clk-pll.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ enum samsung_pll_type {
3232
pll_2550xx,
3333
pll_2650x,
3434
pll_2650xx,
35+
pll_1417x,
3536
pll_1450x,
3637
pll_1451x,
3738
pll_1452x,

0 commit comments

Comments
 (0)