]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: clock: support get and set rate for simple PLL
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 3 Jul 2023 15:06:54 +0000 (18:06 +0300)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 19 Dec 2023 19:24:11 +0000 (21:24 +0200)
commit1ba80d1b2ce474e0e924bc9c0c1b44d3554204b1
tree927d5d9f7d9908ef42dae037cfdd313d7b1f3f98
parentc03cd98d1a163666b4addcdd9a34fc0c77dfd0a5
ARM: tegra: clock: support get and set rate for simple PLL

Simple PLL clocks like PLLD2 were omitted since they do not share common
4 register structure with main clocks. Such clocks are containd in simple
PLL group. Only clock_start_pll function supported them. This patch expands
this support on clock_set_rate and clock_get_rate which should make
simple PLL clocks equal to main PLL clocks.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/tegra114/clock.c
arch/arm/mach-tegra/tegra124/clock.c
arch/arm/mach-tegra/tegra20/clock.c
arch/arm/mach-tegra/tegra210/clock.c
arch/arm/mach-tegra/tegra30/clock.c