Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <josephl@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Joseph Lo and committed by
Thierry Reding
cd4d6f35 3dcbd36f

+13 -2
+11
drivers/clk/tegra/clk-tegra210.c
··· 3153 3153 clk_register_clkdev(clk, "pll_m_ud", NULL); 3154 3154 clks[TEGRA210_CLK_PLL_M_UD] = clk; 3155 3155 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 + 3156 3167 /* PLLU_VCO */ 3157 3168 if (!tegra210_init_pllu()) { 3158 3169 clk = clk_register_fixed_rate(NULL, "pll_u_vco", "pll_ref", 0,
+2 -2
include/dt-bindings/clock/tegra210-car.h
··· 351 351 #define TEGRA210_CLK_PLL_P_OUT_XUSB 317 352 352 #define TEGRA210_CLK_XUSB_SSP_SRC 318 353 353 #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 356 356 #define TEGRA210_CLK_ISP 322 357 357 #define TEGRA210_CLK_PLL_A_OUT_ADSP 323 358 358 #define TEGRA210_CLK_PLL_A_OUT0_OUT_ADSP 324