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

clk: tegra: Fix PLLD mnp table

PLLD was using the same mnp table as PLLP. Fix it to use its own
table which is different from PLLP's.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>

authored by

Rhyland Klein and committed by
Peter De Schrijver
67fc26bf 2ec35fd5

+10 -1
+10 -1
drivers/clk/tegra/clk-tegra124.c
··· 570 570 .flags = TEGRA_PLL_HAS_CPCON | TEGRA_PLL_USE_LOCK, 571 571 }; 572 572 573 + static struct div_nmp plld_nmp = { 574 + .divm_shift = 0, 575 + .divm_width = 5, 576 + .divn_shift = 8, 577 + .divn_width = 11, 578 + .divp_shift = 20, 579 + .divp_width = 3, 580 + }; 581 + 573 582 static struct tegra_clk_pll_freq_table pll_d_freq_table[] = { 574 583 {12000000, 216000000, 864, 12, 4, 12}, 575 584 {13000000, 216000000, 864, 13, 4, 12}, ··· 612 603 .lock_mask = PLL_BASE_LOCK, 613 604 .lock_enable_bit_idx = PLLDU_MISC_LOCK_ENABLE, 614 605 .lock_delay = 1000, 615 - .div_nmp = &pllp_nmp, 606 + .div_nmp = &plld_nmp, 616 607 .freq_table = pll_d_freq_table, 617 608 .flags = TEGRA_PLL_HAS_CPCON | TEGRA_PLL_SET_LFCON | 618 609 TEGRA_PLL_USE_LOCK,