Skip to content

Commit cd4d6f3

Browse files
joseph-lo-nvtwthierryreding
authored andcommitted
clk: tegra: Add PLLP_UD and PLLMB_UD for Tegra210
Introduce the low jitter path of PLLP and PLLMB which can be used as EMC clock source. Signed-off-by: Joseph Lo <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 3dcbd36 commit cd4d6f3

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

drivers/clk/tegra/clk-tegra210.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3153,6 +3153,17 @@ static void __init tegra210_pll_init(void __iomem *clk_base,
31533153
clk_register_clkdev(clk, "pll_m_ud", NULL);
31543154
clks[TEGRA210_CLK_PLL_M_UD] = clk;
31553155

3156+
/* PLLMB_UD */
3157+
clk = clk_register_fixed_factor(NULL, "pll_mb_ud", "pll_mb",
3158+
CLK_SET_RATE_PARENT, 1, 1);
3159+
clk_register_clkdev(clk, "pll_mb_ud", NULL);
3160+
clks[TEGRA210_CLK_PLL_MB_UD] = clk;
3161+
3162+
/* PLLP_UD */
3163+
clk = clk_register_fixed_factor(NULL, "pll_p_ud", "pll_p",
3164+
0, 1, 1);
3165+
clks[TEGRA210_CLK_PLL_P_UD] = clk;
3166+
31563167
/* PLLU_VCO */
31573168
if (!tegra210_init_pllu()) {
31583169
clk = clk_register_fixed_rate(NULL, "pll_u_vco", "pll_ref", 0,

include/dt-bindings/clock/tegra210-car.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@
351351
#define TEGRA210_CLK_PLL_P_OUT_XUSB 317
352352
#define TEGRA210_CLK_XUSB_SSP_SRC 318
353353
#define TEGRA210_CLK_PLL_RE_OUT1 319
354-
/* 320 */
355-
/* 321 */
354+
#define TEGRA210_CLK_PLL_MB_UD 320
355+
#define TEGRA210_CLK_PLL_P_UD 321
356356
#define TEGRA210_CLK_ISP 322
357357
#define TEGRA210_CLK_PLL_A_OUT_ADSP 323
358358
#define TEGRA210_CLK_PLL_A_OUT0_OUT_ADSP 324

0 commit comments

Comments
 (0)