An error occurred fetching the project authors.
- 26 Nov, 2013 5 commits
-
-
Peter De Schrijver authored
Move some fields related to the PLL HW description to the tegra_clk_pll_params. This allows some PLL code to be moved to common files later. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com>
-
Peter De Schrijver authored
Use pll_ref instead of pll_re_vco as the pll_e parent on Tegra114. Also add a 12Mhz pll_ref table entry for pll_e for Tegra114. This prevents the system from crashing at bootup because of an unsupported pll_re_vco rate. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com>
-
Peter De Schrijver authored
VCO min clipping, dynamic ramp setup and IDDQ init can be done in the respective PLL clk_register functions if the parent is already registered. This is done for other some PLLs already. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com>
-
Thierry Reding authored
The PLL output frequency is multiplied during the P-divider computation, so it needs to be divided by the P-divider again before returning. This fixes an issue where clk_round_rate() would return the multiplied frequency instead of the real one after the P-divider. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Peter De Schrijver authored
Add spread spectrum control for PLLE in Tegra114. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com>
-
- 12 Jun, 2013 3 commits
-
-
Peter De Schrijver authored
PLLM has override bits in the PMC. Use those when PLLM_OVERRIDE_ENABLE is set. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Peter De Schrijver authored
The PLLRE flags weren't set correctly. Fixed in this patch. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Peter De Schrijver authored
The m,n,p fields don't have the same bit offset and width across all PLLs. This patch allows SoC specific files to indicate the offset and width. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 11 Jun, 2013 1 commit
-
-
Peter De Schrijver authored
The pllc and pllxc code weren't always using the correct pdiv_map to map between the post divider value and the hw p field. This could result in illegal values being programmed in the hw. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 04 Apr, 2013 6 commits
-
-
Peter De Schrijver authored
Tegra114 introduces new PLL types. This requires new clocktypes as well as some new fields in the pll structure. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Peter De Schrijver authored
PLLC2 and PLLC3 on Tegra114 have separate phaselock and frequencylock bits. So switch to a lock mask to be able to test both at the same time. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Peter De Schrijver authored
Some PLLs in Tegra114 don't use a power of 2 mapping for the post divider. Introduce a table based approach and switch PLLU to it. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Peter De Schrijver authored
Tegra114 PLLC2 and PLLC3 don't have a lock enable bit. The lock bits are always functional. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Peter De Schrijver authored
Not all PLLs in Tegra114 have a bypass bit. Adapt the common code to only use this bit when available. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Peter De Schrijver authored
Refactor the PLL programming code to make it useable by the new PLL types introduced by Tegra114. The following changes were done: * Split programming the PLL into updating m,n,p and updating cpcon * Move locking from _update_pll_cpcon() to clk_pll_set_rate() * Introduce _get_pll_mnp() helper * Move check for identical m,n,p values to clk_pll_set_rate() * struct tegra_clk_pll_freq_table will always contain the values as defined by the hardware. * Simplify the arguments to clk_pll_wait_for_lock() * Split _tegra_clk_register_pll() Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
- 28 Jan, 2013 1 commit
-
-
Prashant Gaikwad authored
Add Tegra specific clocks, pll, pll_out, peripheral, frac_divider, super. Signed-off-by:
Prashant Gaikwad <pgaikwad@nvidia.com> [swarren: alloc sizeof(*foo) not sizeof(struct foo), add comments re: storing pointers to stack variables, make a timeout loop more idiomatic, use _clk_pll_disable() not clk_disable_pll() from _program_pll() to avoid redundant lock operations, unified tegra_clk_periph() and tegra_clk_periph_nodiv(), unified tegra_clk_pll{,e}, rename all clock registration functions so they don't have the same name as the clock structs, return -EINVAL from clk_plle_enable when matching table rate not found, pass ops to _tegra_clk_register_pll rather than a bool.] Acked-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-