]> git.dujemihanovic.xyz Git - u-boot.git/commit
Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.
authorTom Warren <twarren@nvidia.com>
Thu, 25 Jun 2015 16:50:44 +0000 (09:50 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Aug 2015 22:22:51 +0000 (15:22 -0700)
commit722e000ccd7226c5cd071590b5361620eb0b126c
tree257ddcaf4039dd6722e743e8a1f4035c2f85387f
parent3e8650c0f9cc7fb29bd75c11d0173768fcc80203
Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

Added PLL variables (dividers mask/shift, lock enable/detect, etc.)
to new pllinfo struct for each Soc/PLL. PLLA/C/D/E/M/P/U/X.

Used pllinfo struct in all clock functions, validated on T210.
Should be equivalent to prior code on T124/114/30/20. Thanks
to Marcel Ziswiler for corrections to the T20/T30 values.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
12 files changed:
arch/arm/include/asm/arch-tegra/clk_rst.h
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/include/asm/arch-tegra210/clock-tables.h
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/cpu.c
arch/arm/mach-tegra/tegra114/clock.c
arch/arm/mach-tegra/tegra114/cpu.c
arch/arm/mach-tegra/tegra124/clock.c
arch/arm/mach-tegra/tegra124/cpu.c
arch/arm/mach-tegra/tegra20/clock.c
arch/arm/mach-tegra/tegra210/clock.c
arch/arm/mach-tegra/tegra30/clock.c